public class DefaultOrderFraudEmployeeNotificationEventListener extends AbstractEventListener<OrderFraudEmployeeNotificationEvent>
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| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FRAUD_USER_GROUP |
static CsTicketPriority |
DEFAULT_PRIORITY |
| Constructor and Description |
|---|
DefaultOrderFraudEmployeeNotificationEventListener() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getFraudTicketHeadline(AbstractOrderModel order) |
protected String |
getFraudTicketText(AbstractOrderModel order) |
protected String |
getFraudUserGroupId() |
protected CsTicketPriority |
getPriority() |
protected TicketBusinessService |
getTicketBusinessService() |
protected UserService |
getUserService() |
protected void |
onEvent(OrderFraudEmployeeNotificationEvent event)
This method is called by
AbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the
given event. |
void |
setFraudUserGroup(String fraudUserGroup) |
void |
setPriority(CsTicketPriority priority) |
void |
setTicketBusinessService(TicketBusinessService ticketBusinessService) |
void |
setUserService(UserService userService) |
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantServicepublic static final String DEFAULT_FRAUD_USER_GROUP
public static final CsTicketPriority DEFAULT_PRIORITY
public DefaultOrderFraudEmployeeNotificationEventListener()
protected void onEvent(OrderFraudEmployeeNotificationEvent event)
AbstractEventListenerAbstractEventListener#onApplicationEvent(ApplicationEvent) and processes the
given event.onEvent in class AbstractEventListener<OrderFraudEmployeeNotificationEvent>event - the event to be processed#onApplicationEvent(ApplicationEvent)protected String getFraudTicketText(AbstractOrderModel order)
protected String getFraudTicketHeadline(AbstractOrderModel order)
protected CsTicketPriority getPriority()
protected String getFraudUserGroupId()
protected TicketBusinessService getTicketBusinessService()
public void setTicketBusinessService(TicketBusinessService ticketBusinessService)
ticketBusinessService - the ticketBusinessService to setprotected UserService getUserService()
public void setUserService(UserService userService)
userService - the userService to setpublic void setFraudUserGroup(String fraudUserGroup)
public void setPriority(CsTicketPriority priority)
Copyright © 2017 SAP SE. All Rights Reserved.