public interface TicketServiceLocal extends TicketService
| Modifier and Type | Method and Description |
|---|---|
int |
cancelAll(UserAccount account)
Cancels all open tickets for the given account
|
void |
checkExists(java.lang.String ticketNumber,
boolean mustBeOpen)
Checks that a ticket with the given number exists, throwing
EntityNotFoundException if not. |
void |
expire(Ticket ticket)
Expires the given ticket
|
Ticket |
findByTicketNumber(java.lang.String ticketNumber)
Returns a ticket by ticket number, or throws
EntityNotFoundException if not found. |
TicketData |
getData(Ticket ticket)
Returns data for a ticket
|
java.util.List<PaymentTransferType> |
listPossiblePaymentTypesForCreateTicket(User payer)
Based on the logged user's permissions, returns the possible payment types for creating tickets, optionally to
the given fixed payer
|
accept, barcode, cancel, create, getCreateData, getData, getEasyInvoiceData, getTicketPaymentTypeData, prepareEasyInvoice, previewAccept, searchint cancelAll(UserAccount account)
void checkExists(java.lang.String ticketNumber,
boolean mustBeOpen)
EntityNotFoundException if not.
Optionally only succeds if the ticket is open.void expire(Ticket ticket)
Ticket findByTicketNumber(java.lang.String ticketNumber)
EntityNotFoundException if not found.TicketData getData(Ticket ticket)
java.util.List<PaymentTransferType> listPossiblePaymentTypesForCreateTicket(User payer)