Interface TicketServiceLocal

    • Method Detail

      • cancelAll

        int cancelAll​(UserAccount account)
        Cancels all open tickets for the given account
      • checkExists

        void checkExists​(String ticketNumber,
                         boolean mustBeOpen)
        Checks that a ticket with the given number exists, throwing EntityNotFoundException if not. Optionally only succeds if the ticket is open.
      • expire

        void expire​(Ticket ticket)
        Expires the given ticket
      • getApproveUrl

        String getApproveUrl​(Ticket ticket)
        Returns the URL used to approve the given ticket, or null if the ticket isn't open.
      • listPossiblePaymentTypesForCreateTicket

        List<PaymentTransferType> listPossiblePaymentTypesForCreateTicket​(User owner,
                                                                          User payer)
        Based on the logged user's permissions over the given owner, returns the possible payment types for creating tickets, optionally to the given fixed payer