Interface AdminNotificationsHandler

    • 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 url
        importSuccesses - the users registered successfully
        group - 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