public class DefaultTicketService extends AbstractBusinessService implements TicketService
AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultTicketService() |
| Modifier and Type | Method and Description |
|---|---|
List<CsAgentGroupModel> |
getAgentGroups()
Retrieves a list of the AgentGroups.
|
List<CsAgentGroupModel> |
getAgentGroups(BaseStoreModel store)
Deprecated.
|
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.
|
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
|
protected Map<String,TicketAssociatedObjectResolver> |
getAssociatedTicketObjectResolverMap() |
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.
|
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.
|
List<CsTicketModel> |
getTicketsByAgentGroup(CsAgentGroupModel agentGroup)
Deprecated.
|
List<CsTicketModel> |
getTicketsByCategory(CsTicketCategory... category)
Deprecated.
|
List<CsTicketModel> |
getTicketsByCustomer(UserModel customer)
Deprecated.
|
List<CsTicketModel> |
getTicketsByOrder(OrderModel order)
Deprecated.
|
List<CsTicketModel> |
getTicketsByPriority(CsTicketPriority... priority)
Deprecated.
|
List<CsTicketModel> |
getTicketsByResolutionType(CsResolutionType... resolutionType)
Deprecated.
|
List<CsTicketModel> |
getTicketsByState(CsTicketState... state)
Deprecated.
|
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
|
void |
setAgentDao(AgentDao agentDao) |
void |
setAssociatedTicketObjectResolverMap(Map<String,TicketAssociatedObjectResolver> associatedTicketObjectResolverMap) |
void |
setCommentService(CommentService commentService) |
void |
setEnumerationService(EnumerationService enumerationService) |
void |
setTicketDao(TicketDao ticketDao) |
void |
setTicketSystemComponent(String ticketSystemComponent) |
void |
setTicketSystemDomain(String ticketSystemDomain) |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic List<CsAgentGroupModel> getAgentGroups()
getAgentGroups in interface TicketService@Deprecated public List<CsAgentGroupModel> getAgentGroups(BaseStoreModel store)
getAgentGroups in interface TicketServicestore - The BaseStore to retrieve AgentGroups forpublic List<CsAgentGroupModel> getAgentGroupsForBaseStore(BaseStoreModel store)
getAgentGroupsForBaseStore in interface TicketServicestore - The BaseStore to retrieve AgentGroups forpublic List<EmployeeModel> getAgents()
getAgents in interface TicketService@Deprecated public List<EmployeeModel> getAgents(BaseStoreModel store)
getAgents in interface TicketServicestore - The BaseStore to retrieve Agents forpublic List<EmployeeModel> getAgentsForBaseStore(BaseStoreModel store)
getAgentsForBaseStore in interface TicketServicestore - The BaseStore to retrieve Agents forpublic List<CsEventReason> getEventReasons()
getEventReasons in interface TicketServicepublic List<CsTicketEventModel> getEventsForTicket(CsTicketModel ticket)
CsTicketModel object.getEventsForTicket in interface TicketServiceticket - the CsTicketModel for which to return ticket events.public List<CsTicketEventModel> getTicketEventsForCustomerByTicket(CsTicketModel ticket)
CsTicketModel object excluding private messages.getTicketEventsForCustomerByTicket in interface TicketServiceticket - the CsTicketModel for which to return ticket events.public List<CsInterventionType> getInterventionTypes()
getInterventionTypes in interface TicketServicepublic List<CsResolutionType> getResolutionTypes()
getResolutionTypes in interface TicketService@Deprecated public CsTicketModel getTicketById(String ticketId)
getTicketById in interface TicketServiceticketId - The id of the ticket to lookuppublic List<CsTicketCategory> getTicketCategories()
getTicketCategories in interface TicketServicepublic CsTicketModel getTicketForTicketEvent(CsTicketEventModel ticketEvent)
CsTicketEventModel object.getTicketForTicketEvent in interface TicketServiceticketEvent - the ticket eventpublic CsTicketModel getTicketForTicketId(String ticketId)
getTicketForTicketId in interface TicketServiceticketId - The id of the ticket to lookuppublic List<CsTicketPriority> getTicketPriorities()
getTicketPriorities in interface TicketService@Deprecated public List<CsTicketModel> getTicketsByAgent(EmployeeModel agent)
getTicketsByAgent in interface TicketServiceagent - The agent to find assigned tickets for@Deprecated public List<CsTicketModel> getTicketsByAgentGroup(CsAgentGroupModel agentGroup)
getTicketsByAgentGroup in interface TicketServiceagentGroup - The AgentGroup to find assigned tickets for@Deprecated public List<CsTicketModel> getTicketsByCategory(CsTicketCategory... category)
getTicketsByCategory in interface TicketServicecategory - 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 public List<CsTicketModel> getTicketsByCustomer(UserModel customer)
getTicketsByCustomer in interface TicketServicecustomer - The customer to find tickets for@Deprecated public List<CsTicketModel> getTicketsByOrder(OrderModel order)
getTicketsByOrder in interface TicketServiceorder - The order to find tickets for@Deprecated public List<CsTicketModel> getTicketsByPriority(CsTicketPriority... priority)
getTicketsByPriority in interface TicketServicepriority - 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 public List<CsTicketModel> getTicketsByResolutionType(CsResolutionType... resolutionType)
getTicketsByResolutionType in interface TicketServiceresolutionType - 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 public List<CsTicketModel> getTicketsByState(CsTicketState... state)
getTicketsByState in interface TicketServicestate - 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.public List<CsTicketModel> getTicketsForAgent(EmployeeModel agent)
getTicketsForAgent in interface TicketServiceagent - The agent to find assigned tickets forpublic List<CsTicketModel> getTicketsForAgentGroup(CsAgentGroupModel agentGroup)
getTicketsForAgentGroup in interface TicketServiceagentGroup - The AgentGroup to find assigned tickets forpublic List<CsTicketModel> getTicketsForCategory(CsTicketCategory... category)
getTicketsForCategory in interface TicketServicecategory - 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.public List<CsTicketModel> getTicketsForCustomer(UserModel customer)
getTicketsForCustomer in interface TicketServicecustomer - The customer to find tickets forpublic List<CsTicketModel> getTicketsForCustomerOrderByModifiedTime(UserModel user)
getTicketsForCustomerOrderByModifiedTime in interface TicketServicepublic SearchPageData<CsTicketModel> getTicketsForCustomerOrderByModifiedTime(UserModel user, BaseSiteModel baseSite, PageableData pageableData)
TicketServicegetTicketsForCustomerOrderByModifiedTime in interface TicketServicepublic List<CsTicketModel> getTicketsForOrder(OrderModel order)
getTicketsForOrder in interface TicketServiceorder - The order to find tickets forpublic List<CsTicketModel> getTicketsForPriority(CsTicketPriority... priority)
getTicketsForPriority in interface TicketServicepriority - 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.public List<CsTicketModel> getTicketsForResolutionType(CsResolutionType... resolutionType)
getTicketsForResolutionType in interface TicketServiceresolutionType - 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.public List<CsTicketModel> getTicketsForState(CsTicketState... state)
getTicketsForState in interface TicketServicestate - 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.public List<CsTicketState> getTicketStates()
TicketServicegetTicketStates in interface TicketServicepublic CommentTypeModel getTicketType(String type)
TicketServicegetTicketType in interface TicketServicetype - The type code of comment type to getpublic AbstractOrderModel getAssociatedObject(String associatedCode, String userUid, String siteUid)
TicketServicegetAssociatedObject in interface TicketServiceassociatedCode - code of associated objectsiteUid - optionalsiteUid - optionaluserUid - optionalprotected Map<String,TicketAssociatedObjectResolver> getAssociatedTicketObjectResolverMap()
public void setAssociatedTicketObjectResolverMap(Map<String,TicketAssociatedObjectResolver> associatedTicketObjectResolverMap)
public void setAgentDao(AgentDao agentDao)
public void setCommentService(CommentService commentService)
public void setEnumerationService(EnumerationService enumerationService)
public void setTicketDao(TicketDao ticketDao)
public void setTicketSystemComponent(String ticketSystemComponent)
public void setTicketSystemDomain(String ticketSystemDomain)
Copyright © 2017 SAP SE. All Rights Reserved.