TicketDao instead.@Deprecated public class DefaultTicketDao extends AbstractItemDao implements TicketDao
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultTicketDao()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<CsTicketModel> |
findByAgentGroupState(EmployeeModel agent,
CsAgentGroupModel group,
CsTicketState state)
Deprecated.
Find tickets by the specified agent, group and state.
|
List<CsTicketModel> |
findByStringInTicketOrEvent(String searchString)
Deprecated.
Find tickets which contain the specified search string in the headline or any of the events
|
List<CsTicketModel> |
findByStringInTicketOrEventAndStates(String searchString,
Set<CsTicketState> states)
Deprecated.
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.
|
List<CsTicketEventModel> |
findTicketEventsByTicket(CsTicketModel ticket)
Deprecated.
Find all ticket events for
CsTicketModel object. |
List<CsTicketModel> |
getTicketsByAgent(EmployeeModel agent)
Deprecated.
Find all the tickets that are assigned to the Agent.
|
List<CsTicketModel> |
getTicketsByAgentGroup(CsAgentGroupModel agentGroup)
Deprecated.
Find all the tickets assigned to the AgentGroup.
|
List<CsTicketModel> |
getTicketsByCategory(CsTicketCategory... category)
Deprecated.
Find all the tickets that have the provided categories.
|
List<CsTicketModel> |
getTicketsByCustomer(UserModel customer)
Deprecated.
Find all tickets that are associated with the customer.
|
List<CsTicketModel> |
getTicketsById(String ticketId)
Deprecated.
Lookup tickets with the specified ticket id
|
List<CsTicketModel> |
getTicketsByOrder(OrderModel order)
Deprecated.
Find all the tickets that are associated with the order.
|
List<CsTicketModel> |
getTicketsByPriority(CsTicketPriority... priority)
Deprecated.
Find all the tickets that have the provided priorities.
|
List<CsTicketModel> |
getTicketsByResolutionType(CsResolutionType... resolutionType)
Deprecated.
Find all the tickets that have the provided Resolution Type(s).
|
List<CsTicketModel> |
getTicketsByState(CsTicketState... state)
Deprecated.
Find all the tickets that are in the provided states.
|
List<CsTicketModel> |
getTicketsWithNullAgent()
Deprecated.
Find all the tickets that are not assigned to an agent.
|
List<CsTicketModel> |
getTicketsWithNullAgentGroup()
Deprecated.
Find all the tickets that are not assigne to an agent group.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic List<CsTicketModel> findByAgentGroupState(EmployeeModel agent, CsAgentGroupModel group, CsTicketState state)
TicketDaofindByAgentGroupState in interface TicketDaoagent - 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 anypublic List<CsTicketModel> findByStringInTicketOrEvent(String searchString)
TicketDaofindByStringInTicketOrEvent in interface TicketDaosearchString - The string to find in the ticketpublic List<CsTicketModel> findByStringInTicketOrEventAndStates(String searchString, Set<CsTicketState> states)
TicketDaofindByStringInTicketOrEventAndStates in interface TicketDaosearchString - The string to find in the ticketstates - The states that any returned tickets should be inpublic List<CsTicketEventModel> findTicketEventsByTicket(CsTicketModel ticket)
CsTicketModel object.findTicketEventsByTicket in interface TicketDaoticket - the CsTicketModel for which to return ticket events.public List<CsTicketModel> getTicketsByAgent(EmployeeModel agent)
TicketDaogetTicketsByAgent in interface TicketDaoagent - The agent to find assigned tickets forpublic List<CsTicketModel> getTicketsByAgentGroup(CsAgentGroupModel agentGroup)
TicketDaogetTicketsByAgentGroup in interface TicketDaoagentGroup - The AgentGroup to find assigned tickets forpublic List<CsTicketModel> getTicketsByCategory(CsTicketCategory... category)
TicketDaogetTicketsByCategory in interface TicketDaocategory - 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> getTicketsByCustomer(UserModel customer)
TicketDaogetTicketsByCustomer in interface TicketDaocustomer - The customer to find tickets forpublic List<CsTicketModel> getTicketsById(String ticketId)
TicketDaogetTicketsById in interface TicketDaoticketId - The id of the ticket to lookuppublic List<CsTicketModel> getTicketsByOrder(OrderModel order)
TicketDaogetTicketsByOrder in interface TicketDaoorder - The order to find tickets forpublic List<CsTicketModel> getTicketsByPriority(CsTicketPriority... priority)
TicketDaogetTicketsByPriority in interface TicketDaopriority - 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> getTicketsByResolutionType(CsResolutionType... resolutionType)
TicketDaogetTicketsByResolutionType in interface TicketDaoresolutionType - 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> getTicketsByState(CsTicketState... state)
TicketDaogetTicketsByState in interface TicketDaostate - 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> getTicketsWithNullAgent()
TicketDaogetTicketsWithNullAgent in interface TicketDaopublic List<CsTicketModel> getTicketsWithNullAgentGroup()
TicketDaogetTicketsWithNullAgentGroup in interface TicketDaoCopyright © 2017 SAP SE. All Rights Reserved.