Interface TicketFacade
- All Known Implementing Classes:
DefaultCustomerTicketingFacade
public interface TicketFacade
interface that holds the operations for ticketing system
-
Method Summary
Modifier and TypeMethodDescriptioncreateTicket(TicketData ticketData) Creates ticket.Search in cart and orders any data for association for ticket.Requesting for a ticket of a customer.getTickets(PageableData pageableData) Requesting for all tickets of a customer.updateTicket(TicketData ticketData) Updates ticket
-
Method Details
-
createTicket
Creates ticket.- Parameters:
ticketData- TicketData- Returns:
- TicketData or null
-
updateTicket
Updates ticket- Parameters:
ticketData- TicketData- Returns:
- TicketData
-
getTicket
Requesting for a ticket of a customer.- Parameters:
ticketId- ticket id- Returns:
- TicketData or null
-
getTickets
Requesting for all tickets of a customer.- Parameters:
pageableData- pageable data- Returns:
- not-null list
-
getAssociatedToObjects
Map<String,List<TicketAssociatedData>> getAssociatedToObjects()Search in cart and orders any data for association for ticket.- Returns:
- non-null map, key - special code describes carts/orders are presented in value-list
-
getTicketCategories
List<TicketCategory> getTicketCategories()- Returns:
- a map with available ticket categories in string representation for the customer ticket creation as a key and it's localizations as a value.
-