Class GuestCountValidationHandler

java.lang.Object
de.hybris.platform.staticpackagebackoffice.widgets.handler.GuestCountValidationHandler
All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler

public class GuestCountValidationHandler extends Object implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
The Guest Count Validation Handler class.
  • Constructor Details

    • GuestCountValidationHandler

      public GuestCountValidationHandler()
  • Method Details

    • perform

      public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter flowActionHandlerAdapter, Map<String,String> map)
      This method performs a validation on a guest count type. Checks if exists a guest count with the same combination of passenger type and quantity.
      Specified by:
      perform in interface com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
      Parameters:
      customType - the customType
      flowActionHandlerAdapter - the flowActionHandlerAdapter
      map - the map
    • getModelService

      protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      Gets model service.
      Returns:
      the model service
    • setModelService

      public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService)
      Sets model service.
      Parameters:
      modelService - the model service
    • getNotificationService

      protected com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
      Gets notification service.
      Returns:
      the notification service
    • setNotificationService

      public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
      Sets notification service.
      Parameters:
      notificationService - the notification service
    • getTravelBackofficeCommonValidator

      protected TravelBackofficeCommonValidator getTravelBackofficeCommonValidator()
      Returns:
      the travelBackofficeCommonValidator
    • setTravelBackofficeCommonValidator

      public void setTravelBackofficeCommonValidator(TravelBackofficeCommonValidator travelBackofficeCommonValidator)
      Parameters:
      travelBackofficeCommonValidator - the travelBackofficeCommonValidator to set