Interface TransactionFeedbackServiceLocal

    • Method Detail

      • cancelAll

        void cancelAll​(UserAccount account)
        Cancels all pending feedback for the given account
      • canComment

        boolean canComment​(BasePayment payment)
        Whether the logged user can comment (i.e give) a feedback for the given payment.
      • canReply

        boolean canReply​(BasePayment payment)
        Whether the logged user can reply a received feedback for the given payment.
      • countReceived

        int countReceived​(User user)
        Returns the number of received general references for the given user
      • hasTransactionFeedbacks

        boolean hasTransactionFeedbacks​(User user)
        Returns if the given user has given or received feedback
      • isFeedbackEnabled

        boolean isFeedbackEnabled​(BasePayment payment)
        Whether the feedbacks are enabled for the given payment
      • notifyTransactionFeedback

        void notifyTransactionFeedback​(PaymentTransferType type)
        Notifies a transaction feedback in case transfer type has feedback enabled and configured to be sent after payment is done
      • removeAll

        void removeAll​(User user)
        Removes all transaction feedbacks (both received and given) of the given user