Class DefaultCustomerSupportEventService
java.lang.Object
de.hybris.platform.assistedserviceservices.events.impl.DefaultCustomerSupportEventService
- All Implemented Interfaces:
CustomerSupportEventService
public class DefaultCustomerSupportEventService
extends Object
implements CustomerSupportEventService
Default implementation of
CustomerSupportEventService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SessionEventModelcreateAndPopulateSessionEventInfo(Class csSessionEventClass, SessionEvent asmEventData) <T extends CustomerModel>
SearchPageData<T>findAllCustomersByEventsAndAgent(EmployeeModel agent, EventType eventType, Date startDate, Date endDate, PageableData pageableData, int limit) Search for customer based on event parameters.<T extends CustomerModel>
SearchPageData<T>findAllCustomersByEventsAndAgent(EmployeeModel agent, EventType eventType, Date startDate, Date endDate, PageableData pageableData, int limit, boolean includeDisabledAccounts) Searching customers based on event typegetAllEventsForAgent(EmployeeModel agent, EventType eventType, Date startDate, Date endDate, PageableData pageableData, int limit) Search for agent-specific eventsprotected BaseSiteServiceprotected CustomerSupportEventDaoprotected ModelServiceprotected UserServicevoidregisterSessionEvent(SessionEvent asmEventData) creates session eventvoidsetBaseSiteService(BaseSiteService baseSiteService) voidsetCustomerSupportEventDao(CustomerSupportEventDao customerSupportEventDAO) voidsetModelService(ModelService modelService) voidsetUserService(UserService userService)
-
Constructor Details
-
DefaultCustomerSupportEventService
public DefaultCustomerSupportEventService()
-
-
Method Details
-
registerSessionEvent
Description copied from interface:CustomerSupportEventServicecreates session event- Specified by:
registerSessionEventin interfaceCustomerSupportEventService- Parameters:
asmEventData- the event data- See Also:
-
createAndPopulateSessionEventInfo
protected SessionEventModel createAndPopulateSessionEventInfo(Class csSessionEventClass, SessionEvent asmEventData) -
getAllEventsForAgent
public SearchPageData<SessionEventModel> getAllEventsForAgent(EmployeeModel agent, EventType eventType, Date startDate, Date endDate, PageableData pageableData, int limit) Description copied from interface:CustomerSupportEventServiceSearch for agent-specific events- Specified by:
getAllEventsForAgentin interfaceCustomerSupportEventService- Parameters:
agent- AS agenteventType- typestartDate- start dateendDate- end datepageableData- pageable datalimit- limit of returned customers- Returns:
- SearchPageData
- See Also:
-
findAllCustomersByEventsAndAgent
public <T extends CustomerModel> SearchPageData<T> findAllCustomersByEventsAndAgent(EmployeeModel agent, EventType eventType, Date startDate, Date endDate, PageableData pageableData, int limit) Description copied from interface:CustomerSupportEventServiceSearch for customer based on event parameters.- Specified by:
findAllCustomersByEventsAndAgentin interfaceCustomerSupportEventService- Parameters:
agent- AS agenteventType- typestartDate- start dateendDate- end datepageableData- pageable datalimit- limit of returned customers- Returns:
- CustomerModel based on event parameters
-
findAllCustomersByEventsAndAgent
public <T extends CustomerModel> SearchPageData<T> findAllCustomersByEventsAndAgent(EmployeeModel agent, EventType eventType, Date startDate, Date endDate, PageableData pageableData, int limit, boolean includeDisabledAccounts) Description copied from interface:CustomerSupportEventServiceSearching customers based on event type- Specified by:
findAllCustomersByEventsAndAgentin interfaceCustomerSupportEventService- Parameters:
agent- - 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 no- Returns:
- search page data for CS Customer Model
-
getModelService
-
setModelService
-
getUserService
-
setUserService
-
getCustomerSupportEventDao
-
setCustomerSupportEventDao
-
getBaseSiteService
-
setBaseSiteService
-