Class DefaultOrderFraudEmployeeNotificationEventListener
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<OrderFraudEmployeeNotificationEvent>
de.hybris.platform.ticket.event.impl.DefaultOrderFraudEmployeeNotificationEventListener
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<OrderFraudEmployeeNotificationEvent>
public class DefaultOrderFraudEmployeeNotificationEventListener
extends AbstractEventListener<OrderFraudEmployeeNotificationEvent>
Event Listener for
OrderFraudEmployeeNotificationEvent which creates a CsTicketModel for a ticket
agent user group. You can customize the target user group, ticket priority. The headline and ticket notes are taken
from the following localized properties:
csticket.fraud.content.defaultcsticket.fraud.headline.default
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected Stringprotected Stringprotected CsTicketPriorityprotected TicketBusinessServiceprotected UserServiceprotected voidThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetFraudUserGroup(String fraudUserGroup) voidsetPriority(CsTicketPriority priority) voidsetTicketBusinessService(TicketBusinessService ticketBusinessService) voidsetUserService(UserService userService) Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
Field Details
-
DEFAULT_FRAUD_USER_GROUP
- See Also:
-
DEFAULT_PRIORITY
-
-
Constructor Details
-
DefaultOrderFraudEmployeeNotificationEventListener
public DefaultOrderFraudEmployeeNotificationEventListener()
-
-
Method Details
-
onEvent
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<OrderFraudEmployeeNotificationEvent>- Parameters:
event- the event to be processed- See Also:
-
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getFraudTicketText
-
getFraudTicketHeadline
-
getPriority
-
getFraudUserGroupId
-
getTicketBusinessService
- Returns:
- the ticketBusinessService
-
setTicketBusinessService
- Parameters:
ticketBusinessService- the ticketBusinessService to set
-
getUserService
- Returns:
- the userService
-
setUserService
- Parameters:
userService- the userService to set
-
setFraudUserGroup
-
setPriority
-