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.default
  • csticket.fraud.headline.default
  • Field Details

  • Constructor Details

    • DefaultOrderFraudEmployeeNotificationEventListener

      public DefaultOrderFraudEmployeeNotificationEventListener()
  • Method Details

    • onEvent

      protected void onEvent(OrderFraudEmployeeNotificationEvent event)
      Description copied from class: AbstractEventListener
      This method is called by ApplicationListener.onApplicationEvent(ApplicationEvent) and processes the given event.
      Specified by:
      onEvent in class AbstractEventListener<OrderFraudEmployeeNotificationEvent>
      Parameters:
      event - the event to be processed
      See Also:
      • ApplicationListener.onApplicationEvent(ApplicationEvent)
    • getFraudTicketText

      protected String getFraudTicketText(AbstractOrderModel order)
    • getFraudTicketHeadline

      protected String getFraudTicketHeadline(AbstractOrderModel order)
    • getPriority

      protected CsTicketPriority getPriority()
    • getFraudUserGroupId

      protected String getFraudUserGroupId()
    • getTicketBusinessService

      protected TicketBusinessService getTicketBusinessService()
      Returns:
      the ticketBusinessService
    • setTicketBusinessService

      public void setTicketBusinessService(TicketBusinessService ticketBusinessService)
      Parameters:
      ticketBusinessService - the ticketBusinessService to set
    • getUserService

      protected UserService getUserService()
      Returns:
      the userService
    • setUserService

      public void setUserService(UserService userService)
      Parameters:
      userService - the userService to set
    • setFraudUserGroup

      public void setFraudUserGroup(String fraudUserGroup)
    • setPriority

      public void setPriority(CsTicketPriority priority)