Interface AdminNotificationsHandler
-
public interface AdminNotificationsHandlerHandler to sendAdminNotificationTypenotifications to administrators.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadPendingAuthorization(BasicAd ad)Notifies the admin of an ad pending for authorizationvoidapplicationError(ErrorLog errorLog)Notifies about an application errorvoidexternalPaymentExpired(ExternalPayment externalPayment, String payeeInformation)Notifies the admin that did the external payment when it expires.voidexternalPaymentPerformedFailed(ExternalPayment externalPayment, String payeeInformation)Notifies the admin that did the external payment when it fails.voidgeneratedVouchersAboutToExpire(Voucher voucher, int count)Notifies the admin that generated vouchers will expire on a given datevoidgeneratedVouchersExpired(Voucher voucher, int count)Notifies the admin that generated vouchers have expiredvoidnetworkCreated(Network network)Notifies global and multi network admins, multi network admins will get the notification if it is created by one of the admins within their realmvoidpaymentAwaitingAuthorization(Transaction transaction)Notifies the admin that he should authorize this transaction.voidpaymentPerformed(Transaction transaction)Notifies about a performed transactionvoidsystemAlert(SystemAlert alert)Notifies a new system alertvoiduserAlert(UserAlert alert)Notifies a new user alertvoiduserImportRegistration(UserImportedFile importedFile, int importSuccesses, UserGroup group)Notifies the administrators about registration when users has been importedvoiduserRegistration(User user)voidvoucherBuyingAboutToExpire(VoucherType voucherType, Date expirationDate)Notifies the admin that buying a given voucher type is about to expire
-
-
-
Method Detail
-
adPendingAuthorization
void adPendingAuthorization(BasicAd ad)
Notifies the admin of an ad pending for authorization
-
applicationError
void applicationError(ErrorLog errorLog)
Notifies about an application error
-
externalPaymentExpired
void externalPaymentExpired(ExternalPayment externalPayment, String payeeInformation)
Notifies the admin that did the external payment when it expires.
-
externalPaymentPerformedFailed
void externalPaymentPerformedFailed(ExternalPayment externalPayment, String payeeInformation)
Notifies the admin that did the external payment when it fails.
-
generatedVouchersAboutToExpire
void generatedVouchersAboutToExpire(Voucher voucher, int count)
Notifies the admin that generated vouchers will expire on a given date
-
generatedVouchersExpired
void generatedVouchersExpired(Voucher voucher, int count)
Notifies the admin that generated vouchers have expired
-
networkCreated
void networkCreated(Network network)
Notifies global and multi network admins, multi network admins will get the notification if it is created by one of the admins within their realm
-
paymentAwaitingAuthorization
void paymentAwaitingAuthorization(Transaction transaction)
Notifies the admin that he should authorize this transaction. Only does the notification if the admin has the permissions to authorize this transfertype, and if the admin is supposed to be the next authorizer.
-
paymentPerformed
void paymentPerformed(Transaction transaction)
Notifies about a performed transaction
-
systemAlert
void systemAlert(SystemAlert alert)
Notifies a new system alert
-
userAlert
void userAlert(UserAlert alert)
Notifies a new user alert
-
userImportRegistration
void userImportRegistration(UserImportedFile importedFile, int importSuccesses, UserGroup group)
Notifies the administrators about registration when users has been imported- Parameters:
importedFile- only used to construct the notification urlimportSuccesses- the users registered successfullygroup- the group the users were registered to
-
userRegistration
void userRegistration(User user)
-
voucherBuyingAboutToExpire
void voucherBuyingAboutToExpire(VoucherType voucherType, Date expirationDate)
Notifies the admin that buying a given voucher type is about to expire
-
-