public interface TicketService
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CsAgentGroupModel> |
getAgentGroups()
Retrieves a list of the AgentGroups.
|
java.util.List<CsAgentGroupModel> |
getAgentGroupsForBaseStore(BaseStoreModel store)
Retrieves a list of the AgentGroups for the provided BaseStore
|
java.util.List<EmployeeModel> |
getAgents()
Retrieves a list of the Agents as Employees.
|
java.util.List<EmployeeModel> |
getAgentsForBaseStore(BaseStoreModel store)
Retrieves a list of the Agents as Employees for the provided BaseStore
|
AbstractOrderModel |
getAssociatedObject(java.lang.String associatedCode,
java.lang.String userUid,
java.lang.String siteUid)
Extract associatedTo object as AbstractOrderModel
|
java.util.List<CsEventReason> |
getEventReasons()
Retrieves all available Event Reasons in the system.
|
java.util.List<CsTicketEventModel> |
getEventsForTicket(CsTicketModel ticket)
Gets all ticket events for
CsTicketModel object. |
java.util.List<CsInterventionType> |
getInterventionTypes()
Retrieves all available Intervention Types in the system.
|
java.util.List<CsResolutionType> |
getResolutionTypes()
Retrieves all available Resolution Types in the system.
|
java.util.List<CsTicketCategory> |
getTicketCategories()
Retrieves all available Ticket Categories in the system.
|
java.util.List<CsTicketEventModel> |
getTicketEventsForCustomerByTicket(CsTicketModel ticket)
Gets all ticket events for
CsTicketModel object excluding private messages. |
CsTicketModel |
getTicketForTicketEvent(CsTicketEventModel ticketEvent)
Gets the ticket for given
CsTicketEventModel object. |
CsTicketModel |
getTicketForTicketId(java.lang.String ticketId)
Lookup a specific ticket by ticket ID
|
java.util.List<CsTicketPriority> |
getTicketPriorities()
Retrieves all available Ticket Priorities in the system.
|
java.util.List<CsTicketModel> |
getTicketsForAgent(EmployeeModel agent)
Find all the tickets that are assigned to the Agent.
|
java.util.List<CsTicketModel> |
getTicketsForAgentGroup(CsAgentGroupModel agentGroup)
Find all the tickets assigned to the AgentGroup.
|
java.util.List<CsTicketModel> |
getTicketsForCategory(CsTicketCategory... category)
Find all the tickets that have the provided categories.
|
java.util.List<CsTicketModel> |
getTicketsForCustomer(UserModel customer)
Find all tickets that are associated with the customer.
|
java.util.List<CsTicketModel> |
getTicketsForCustomerOrderByModifiedTime(UserModel user)
Find all tickets that are associated with the customer in order by Modified date and time.
|
SearchPageData<CsTicketModel> |
getTicketsForCustomerOrderByModifiedTime(UserModel user,
BaseSiteModel baseSite,
PageableData pageableData)
Find all tickets that are associated with the customer in order by Modified date and time.
|
java.util.List<CsTicketModel> |
getTicketsForOrder(OrderModel order)
Find all the tickets that are associated with the order.
|
java.util.List<CsTicketModel> |
getTicketsForPriority(CsTicketPriority... priority)
Find all the tickets that have the provided priorities.
|
java.util.List<CsTicketModel> |
getTicketsForResolutionType(CsResolutionType... resolutionType)
Find all the tickets that have the provided Resolution Type(s).
|
java.util.List<CsTicketModel> |
getTicketsForState(CsTicketState... state)
Find all the tickets that are in the provided states.
|
java.util.List<CsTicketState> |
getTicketStates()
Retrieves all available Ticket States in the system.
|
CommentTypeModel |
getTicketType(java.lang.String type)
Get the comment type given the code of that type
|
java.util.List<CsAgentGroupModel> getAgentGroups()
java.util.List<CsAgentGroupModel> getAgentGroupsForBaseStore(BaseStoreModel store)
store - The BaseStore to retrieve AgentGroups forjava.util.List<EmployeeModel> getAgents()
java.util.List<EmployeeModel> getAgentsForBaseStore(BaseStoreModel store)
store - The BaseStore to retrieve Agents forjava.util.List<CsEventReason> getEventReasons()
java.util.List<CsTicketEventModel> getEventsForTicket(CsTicketModel ticket)
CsTicketModel object.ticket - the CsTicketModel for which to return ticket events.java.util.List<CsTicketEventModel> getTicketEventsForCustomerByTicket(CsTicketModel ticket)
CsTicketModel object excluding private messages.ticket - the CsTicketModel for which to return ticket events.java.util.List<CsInterventionType> getInterventionTypes()
java.util.List<CsResolutionType> getResolutionTypes()
java.util.List<CsTicketCategory> getTicketCategories()
CsTicketModel getTicketForTicketEvent(CsTicketEventModel ticketEvent)
CsTicketEventModel object.ticketEvent - the ticket eventCsTicketModel getTicketForTicketId(java.lang.String ticketId)
ticketId - The id of the ticket to lookupjava.util.List<CsTicketPriority> getTicketPriorities()
java.util.List<CsTicketModel> getTicketsForAgent(EmployeeModel agent)
agent - The agent to find assigned tickets forjava.util.List<CsTicketModel> getTicketsForAgentGroup(CsAgentGroupModel agentGroup)
agentGroup - The AgentGroup to find assigned tickets forjava.util.List<CsTicketModel> getTicketsForCategory(CsTicketCategory... category)
category - The category/categories for which to return tickets. The number of arguments is variable and may be
zero, although zero arguments will return an empty list.java.util.List<CsTicketModel> getTicketsForCustomer(UserModel customer)
customer - The customer to find tickets forjava.util.List<CsTicketModel> getTicketsForOrder(OrderModel order)
order - The order to find tickets forjava.util.List<CsTicketModel> getTicketsForPriority(CsTicketPriority... priority)
priority - The priority/priorities for which to return tickets. The number of arguments is variable and may be
zero, although zero arguments will return an empty list.java.util.List<CsTicketModel> getTicketsForResolutionType(CsResolutionType... resolutionType)
resolutionType - The Resolution Type(s) for which to return tickets. The number of arguments is variable and may be zero,
although zero arguments will return an empty list.java.util.List<CsTicketModel> getTicketsForState(CsTicketState... state)
state - The state(s) for which to return tickets. The number of arguments is variable and may be zero, although
zero arguments will return an empty list.java.util.List<CsTicketState> getTicketStates()
CommentTypeModel getTicketType(java.lang.String type)
type - The type code of comment type to getjava.util.List<CsTicketModel> getTicketsForCustomerOrderByModifiedTime(UserModel user)
user - the UserModel whose tickets to be returnedSearchPageData<CsTicketModel> getTicketsForCustomerOrderByModifiedTime(UserModel user, BaseSiteModel baseSite, PageableData pageableData)
user - the UserModel whose tickets to be returnedbaseSite - the base sitepageableData - the pageable dataAbstractOrderModel getAssociatedObject(java.lang.String associatedCode, java.lang.String userUid, java.lang.String siteUid)
associatedCode - code of associated objectuserUid - optionalsiteUid - optionalCopyright © 2018 SAP SE. All Rights Reserved.