public class DefaultCustomerSupportEventService extends java.lang.Object implements CustomerSupportEventService
CustomerSupportEventService.| Constructor and Description |
|---|
DefaultCustomerSupportEventService() |
| Modifier and Type | Method and Description |
|---|---|
protected SessionEventModel |
createAndPopulateSessionEventInfo(java.lang.Class csSessionEventClass,
SessionEvent asmEventData) |
<T extends CustomerModel> |
findAllCustomersByEventsAndAgent(EmployeeModel agent,
EventType eventType,
java.util.Date startDate,
java.util.Date endDate,
PageableData pageableData,
int limit)
Search for customer based on event parameters.
|
<T extends CustomerModel> |
findAllCustomersByEventsAndAgent(EmployeeModel agent,
EventType eventType,
java.util.Date startDate,
java.util.Date endDate,
PageableData pageableData,
int limit,
boolean includeDisabledAccounts)
Searching customers based on event type
|
SearchPageData<SessionEventModel> |
getAllEventsForAgent(EmployeeModel agent,
EventType eventType,
java.util.Date startDate,
java.util.Date endDate,
PageableData pageableData,
int limit)
Search for agent-specific events
|
protected BaseSiteService |
getBaseSiteService() |
protected CustomerSupportEventDao |
getCustomerSupportEventDao() |
protected ModelService |
getModelService() |
protected UserService |
getUserService() |
void |
registerSessionEvent(SessionEvent asmEventData)
creates session event
|
void |
setBaseSiteService(BaseSiteService baseSiteService) |
void |
setCustomerSupportEventDao(CustomerSupportEventDao customerSupportEventDAO) |
void |
setModelService(ModelService modelService) |
void |
setUserService(UserService userService) |
public void registerSessionEvent(SessionEvent asmEventData)
CustomerSupportEventServiceregisterSessionEvent in interface CustomerSupportEventServiceasmEventData - the event dataCustomerSupportEventService.registerSessionEvent(SessionEvent)protected SessionEventModel createAndPopulateSessionEventInfo(java.lang.Class csSessionEventClass, SessionEvent asmEventData)
public SearchPageData<SessionEventModel> getAllEventsForAgent(EmployeeModel agent, EventType eventType, java.util.Date startDate, java.util.Date endDate, PageableData pageableData, int limit)
CustomerSupportEventServicegetAllEventsForAgent in interface CustomerSupportEventServiceagent - AS agenteventType - typestartDate - start dateendDate - end datepageableData - pageable datalimit - limit of returned customersCustomerSupportEventService.getAllEventsForAgent(EmployeeModel, EventType, Date, Date, PageableData, int)public <T extends CustomerModel> SearchPageData<T> findAllCustomersByEventsAndAgent(EmployeeModel agent, EventType eventType, java.util.Date startDate, java.util.Date endDate, PageableData pageableData, int limit)
CustomerSupportEventServicefindAllCustomersByEventsAndAgent in interface CustomerSupportEventServiceagent - AS agenteventType - typestartDate - start dateendDate - end datepageableData - pageable datalimit - limit of returned customerspublic <T extends CustomerModel> SearchPageData<T> findAllCustomersByEventsAndAgent(EmployeeModel agent, EventType eventType, java.util.Date startDate, java.util.Date endDate, PageableData pageableData, int limit, boolean includeDisabledAccounts)
CustomerSupportEventServicefindAllCustomersByEventsAndAgent in interface CustomerSupportEventServiceagent - - can be empty or nulleventType - event type to search forstartDate - start dateendDate - end datepageableData - paging and sorting informationlimit - limit of cs session events returnedincludeDisabledAccounts - include disabled customers or noprotected ModelService getModelService()
public void setModelService(ModelService modelService)
protected UserService getUserService()
public void setUserService(UserService userService)
protected CustomerSupportEventDao getCustomerSupportEventDao()
public void setCustomerSupportEventDao(CustomerSupportEventDao customerSupportEventDAO)
protected BaseSiteService getBaseSiteService()
public void setBaseSiteService(BaseSiteService baseSiteService)
Copyright © 2018 SAP SE. All Rights Reserved.