Interface TicketFacade
-
- All Known Implementing Classes:
C4CTicketFacadeImpl
,C4CTicketFacadeMock
,DefaultCustomerTicketingFacade
public interface TicketFacade
interface that holds the operations for ticketing system
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TicketData
createTicket(TicketData ticketData)
Creates ticket.java.util.Map<java.lang.String,java.util.List<TicketAssociatedData>>
getAssociatedToObjects()
Search in cart and orders any data for association for ticket.TicketData
getTicket(java.lang.String ticketId)
Requesting for a ticket of a customer.java.util.List<TicketCategory>
getTicketCategories()
SearchPageData<TicketData>
getTickets(PageableData pageableData)
Requesting for all tickets of a customer.TicketData
updateTicket(TicketData ticketData)
Updates ticket
-
-
-
Method Detail
-
createTicket
@Nonnull TicketData createTicket(TicketData ticketData)
Creates ticket.- Parameters:
ticketData
- TicketData- Returns:
- TicketData or null
-
updateTicket
@Nonnull TicketData updateTicket(TicketData ticketData)
Updates ticket- Parameters:
ticketData
- TicketData- Returns:
- TicketData
-
getTicket
TicketData getTicket(java.lang.String ticketId)
Requesting for a ticket of a customer.- Parameters:
ticketId
- ticket id- Returns:
- TicketData or null
-
getTickets
@Nonnull SearchPageData<TicketData> getTickets(PageableData pageableData)
Requesting for all tickets of a customer.- Parameters:
pageableData
- pageable data- Returns:
- not-null list
-
getAssociatedToObjects
java.util.Map<java.lang.String,java.util.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
java.util.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.
-
-