public interface TicketDao
CsTicketModel objects.| Modifier and Type | Method and Description |
|---|---|
java.util.List<CsTicketEventModel> |
findTicketEventsByTicket(CsTicketModel ticket)
Find all ticket events for
CsTicketModel object. |
java.util.List<CsTicketEventModel> |
findTicketEventsForCustomerByTicket(CsTicketModel ticket)
Find all ticket events for
CsTicketModel object excluding private messages. |
java.util.List<CsTicketModel> |
findTicketsByAgent(EmployeeModel agent)
Find all the tickets that are assigned to the Agent.
|
java.util.List<CsTicketModel> |
findTicketsByAgentGroup(CsAgentGroupModel agentGroup)
Find all the tickets assigned to the AgentGroup.
|
java.util.List<CsTicketModel> |
findTicketsByAgentGroupState(EmployeeModel agent,
CsAgentGroupModel group,
CsTicketState state)
Find tickets by the specified agent, group and state.
|
java.util.List<CsTicketModel> |
findTicketsByCategory(CsTicketCategory... category)
Find all the tickets that have the provided categories.
|
java.util.List<CsTicketModel> |
findTicketsByCustomer(UserModel customer)
Find all tickets that are associated with the customer.
|
java.util.List<CsTicketModel> |
findTicketsByCustomerOrderByModifiedTime(UserModel user)
Find all tickets that are associated with the customer in descending and order by Modified date time.
|
SearchPageData<CsTicketModel> |
findTicketsByCustomerOrderByModifiedTime(UserModel user,
BaseSiteModel baseSite,
PageableData pageableData)
Find all tickets that are associated with the customer and current site, in descending and order by Modified date
time.
|
java.util.List<CsTicketModel> |
findTicketsById(java.lang.String ticketId)
Lookup tickets with the specified ticket id
|
java.util.List<CsTicketModel> |
findTicketsByOrder(OrderModel order)
Find all the tickets that are associated with the order.
|
java.util.List<CsTicketModel> |
findTicketsByPriority(CsTicketPriority... priority)
Find all the tickets that have the provided priorities.
|
java.util.List<CsTicketModel> |
findTicketsByResolutionType(CsResolutionType... resolutionType)
Find all the tickets that have the provided Resolution Type(s).
|
java.util.List<CsTicketModel> |
findTicketsByState(CsTicketState... state)
Find all the tickets that are in the provided states.
|
java.util.List<CsTicketModel> |
findTicketsByStringInTicketOrEvent(java.lang.String searchString)
Find tickets which contain the specified search string in the headline or any of the events
|
java.util.List<CsTicketModel> |
findTicketsByStringInTicketOrEventAndStates(java.lang.String searchString,
java.util.Set<CsTicketState> states)
Find tickets which contain the specified search string in the headline or any of the events and that are also in
the given list of states.
|
java.util.List<CsTicketModel> |
findTicketsWithNullAgent()
Find all the tickets that are not assigned to an agent.
|
java.util.List<CsTicketModel> |
findTicketsWithNullAgentGroup()
Find all the tickets that are not assigne to an agent group.
|
java.util.List<CsTicketModel> findTicketsByAgentGroupState(EmployeeModel agent, CsAgentGroupModel group, CsTicketState state)
agent - The agent to search for or null if nonegroup - The group to search for or null if nonestate - The state to search for or null if anyjava.util.List<CsTicketModel> findTicketsByStringInTicketOrEvent(java.lang.String searchString)
searchString - The string to find in the ticketjava.util.List<CsTicketModel> findTicketsByStringInTicketOrEventAndStates(java.lang.String searchString, java.util.Set<CsTicketState> states)
searchString - The string to find in the ticketstates - The states that any returned tickets should be injava.util.List<CsTicketEventModel> findTicketEventsByTicket(CsTicketModel ticket)
CsTicketModel object.ticket - the CsTicketModel for which to return ticket events.java.util.List<CsTicketEventModel> findTicketEventsForCustomerByTicket(CsTicketModel ticket)
CsTicketModel object excluding private messages.ticket - the CsTicketModel for which to return ticket events.java.util.List<CsTicketModel> findTicketsByAgent(EmployeeModel agent)
agent - The agent to find assigned tickets forjava.util.List<CsTicketModel> findTicketsByAgentGroup(CsAgentGroupModel agentGroup)
agentGroup - The AgentGroup to find assigned tickets forjava.util.List<CsTicketModel> findTicketsByCategory(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> findTicketsByCustomer(UserModel customer)
customer - The customer to find tickets forjava.util.List<CsTicketModel> findTicketsById(java.lang.String ticketId)
ticketId - The id of the ticket to lookupjava.util.List<CsTicketModel> findTicketsByOrder(OrderModel order)
order - The order to find tickets forjava.util.List<CsTicketModel> findTicketsByPriority(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> findTicketsByResolutionType(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> findTicketsByState(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<CsTicketModel> findTicketsWithNullAgent()
java.util.List<CsTicketModel> findTicketsWithNullAgentGroup()
java.util.List<CsTicketModel> findTicketsByCustomerOrderByModifiedTime(UserModel user)
user - SearchPageData<CsTicketModel> findTicketsByCustomerOrderByModifiedTime(UserModel user, BaseSiteModel baseSite, PageableData pageableData)
user - baseSite - pageableData - Copyright © 2018 SAP SE. All Rights Reserved.