public interface TicketService
| Modifier and Type | Method and Description |
|---|---|
List<CsAgentGroupModel> |
getAgentGroups()
Retrieves a list of the AgentGroups.
|
List<CsAgentGroupModel> |
getAgentGroups(BaseStoreModel store)
Deprecated.
use
getAgentGroupsForBaseStore(BaseStoreModel) instead. |
List<CsAgentGroupModel> |
getAgentGroupsForBaseStore(BaseStoreModel store)
Retrieves a list of the AgentGroups for the provided BaseStore
|
List<EmployeeModel> |
getAgents()
Retrieves a list of the Agents as Employees.
|
List<EmployeeModel> |
getAgents(BaseStoreModel store)
Deprecated.
use
getAgentsForBaseStore(BaseStoreModel) instead. |
List<EmployeeModel> |
getAgentsForBaseStore(BaseStoreModel store)
Retrieves a list of the Agents as Employees for the provided BaseStore
|
AbstractOrderModel |
getAssociatedObject(String associatedCode,
String userUid,
String siteUid)
Extract associatedTo object as AbstractOrderModel
|
List<CsEventReason> |
getEventReasons()
Retrieves all available Event Reasons in the system.
|
List<CsTicketEventModel> |
getEventsForTicket(CsTicketModel ticket)
Gets all ticket events for
CsTicketModel object. |
List<CsInterventionType> |
getInterventionTypes()
Retrieves all available Intervention Types in the system.
|
List<CsResolutionType> |
getResolutionTypes()
Retrieves all available Resolution Types in the system.
|
CsTicketModel |
getTicketById(String ticketId)
Deprecated.
use
getTicketForTicketId(String) instead. |
List<CsTicketCategory> |
getTicketCategories()
Retrieves all available Ticket Categories in the system.
|
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(String ticketId)
Lookup a specific ticket by ticket ID
|
List<CsTicketPriority> |
getTicketPriorities()
Retrieves all available Ticket Priorities in the system.
|
List<CsTicketModel> |
getTicketsByAgent(EmployeeModel agent)
Deprecated.
use
getTicketsForAgent(EmployeeModel) instead. |
List<CsTicketModel> |
getTicketsByAgentGroup(CsAgentGroupModel agentGroup)
Deprecated.
use
getTicketsForAgentGroup(CsAgentGroupModel) instead. |
List<CsTicketModel> |
getTicketsByCategory(CsTicketCategory... category)
Deprecated.
use
getTicketsForCategory(CsTicketCategory...) instead. |
List<CsTicketModel> |
getTicketsByCustomer(UserModel customer)
Deprecated.
use
getTicketsForCustomer(UserModel) instead. |
List<CsTicketModel> |
getTicketsByOrder(OrderModel order)
Deprecated.
use
getTicketsForOrder(OrderModel) instead. |
List<CsTicketModel> |
getTicketsByPriority(CsTicketPriority... priority)
Deprecated.
use
getTicketsForPriority(CsTicketPriority...) instead. |
List<CsTicketModel> |
getTicketsByResolutionType(CsResolutionType... resolutionType)
Deprecated.
use
getTicketsForResolutionType(CsResolutionType...) instead. |
List<CsTicketModel> |
getTicketsByState(CsTicketState... state)
Deprecated.
use
getTicketsForState(CsTicketState...) instead. |
List<CsTicketModel> |
getTicketsForAgent(EmployeeModel agent)
Find all the tickets that are assigned to the Agent.
|
List<CsTicketModel> |
getTicketsForAgentGroup(CsAgentGroupModel agentGroup)
Find all the tickets assigned to the AgentGroup.
|
List<CsTicketModel> |
getTicketsForCategory(CsTicketCategory... category)
Find all the tickets that have the provided categories.
|
List<CsTicketModel> |
getTicketsForCustomer(UserModel customer)
Find all tickets that are associated with the customer.
|
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.
|
List<CsTicketModel> |
getTicketsForOrder(OrderModel order)
Find all the tickets that are associated with the order.
|
List<CsTicketModel> |
getTicketsForPriority(CsTicketPriority... priority)
Find all the tickets that have the provided priorities.
|
List<CsTicketModel> |
getTicketsForResolutionType(CsResolutionType... resolutionType)
Find all the tickets that have the provided Resolution Type(s).
|
List<CsTicketModel> |
getTicketsForState(CsTicketState... state)
Find all the tickets that are in the provided states.
|
List<CsTicketState> |
getTicketStates()
Retrieves all available Ticket States in the system.
|
CommentTypeModel |
getTicketType(String type)
Get the comment type given the code of that type
|
List<CsAgentGroupModel> getAgentGroups()
@Deprecated List<CsAgentGroupModel> getAgentGroups(BaseStoreModel store)
getAgentGroupsForBaseStore(BaseStoreModel) instead.store - The BaseStore to retrieve AgentGroups forList<CsAgentGroupModel> getAgentGroupsForBaseStore(BaseStoreModel store)
store - The BaseStore to retrieve AgentGroups forList<EmployeeModel> getAgents()
@Deprecated List<EmployeeModel> getAgents(BaseStoreModel store)
getAgentsForBaseStore(BaseStoreModel) instead.store - The BaseStore to retrieve Agents forList<EmployeeModel> getAgentsForBaseStore(BaseStoreModel store)
store - The BaseStore to retrieve Agents forList<CsEventReason> getEventReasons()
List<CsTicketEventModel> getEventsForTicket(CsTicketModel ticket)
CsTicketModel object.ticket - the CsTicketModel for which to return ticket events.List<CsTicketEventModel> getTicketEventsForCustomerByTicket(CsTicketModel ticket)
CsTicketModel object excluding private messages.ticket - the CsTicketModel for which to return ticket events.List<CsInterventionType> getInterventionTypes()
List<CsResolutionType> getResolutionTypes()
@Deprecated CsTicketModel getTicketById(String ticketId)
getTicketForTicketId(String) instead.ticketId - The id of the ticket to lookupList<CsTicketCategory> getTicketCategories()
CsTicketModel getTicketForTicketEvent(CsTicketEventModel ticketEvent)
CsTicketEventModel object.ticketEvent - the ticket eventCsTicketModel getTicketForTicketId(String ticketId)
ticketId - The id of the ticket to lookupList<CsTicketPriority> getTicketPriorities()
@Deprecated List<CsTicketModel> getTicketsByAgent(EmployeeModel agent)
getTicketsForAgent(EmployeeModel) instead.agent - The agent to find assigned tickets for@Deprecated List<CsTicketModel> getTicketsByAgentGroup(CsAgentGroupModel agentGroup)
getTicketsForAgentGroup(CsAgentGroupModel) instead.agentGroup - The AgentGroup to find assigned tickets for@Deprecated List<CsTicketModel> getTicketsByCategory(CsTicketCategory... category)
getTicketsForCategory(CsTicketCategory...) instead.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.@Deprecated List<CsTicketModel> getTicketsByCustomer(UserModel customer)
getTicketsForCustomer(UserModel) instead.customer - The customer to find tickets for@Deprecated List<CsTicketModel> getTicketsByOrder(OrderModel order)
getTicketsForOrder(OrderModel) instead.order - The order to find tickets for@Deprecated List<CsTicketModel> getTicketsByPriority(CsTicketPriority... priority)
getTicketsForPriority(CsTicketPriority...) instead.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.@Deprecated List<CsTicketModel> getTicketsByResolutionType(CsResolutionType... resolutionType)
getTicketsForResolutionType(CsResolutionType...) instead.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.@Deprecated List<CsTicketModel> getTicketsByState(CsTicketState... state)
getTicketsForState(CsTicketState...) instead.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.List<CsTicketModel> getTicketsForAgent(EmployeeModel agent)
agent - The agent to find assigned tickets forList<CsTicketModel> getTicketsForAgentGroup(CsAgentGroupModel agentGroup)
agentGroup - The AgentGroup to find assigned tickets forList<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.List<CsTicketModel> getTicketsForCustomer(UserModel customer)
customer - The customer to find tickets forList<CsTicketModel> getTicketsForOrder(OrderModel order)
order - The order to find tickets forList<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.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.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.List<CsTicketState> getTicketStates()
CommentTypeModel getTicketType(String type)
type - The type code of comment type to getList<CsTicketModel> getTicketsForCustomerOrderByModifiedTime(UserModel user)
user - SearchPageData<CsTicketModel> getTicketsForCustomerOrderByModifiedTime(UserModel user, BaseSiteModel baseSite, PageableData pageableData)
user - baseSite - pageableData - AbstractOrderModel getAssociatedObject(String associatedCode, String userUid, String siteUid)
associatedCode - code of associated objectuserUid - optionalsiteUid - optionalCopyright © 2017 SAP SE. All Rights Reserved.