Class AbstractFinancialInfoValidationHandler

java.lang.Object
de.hybris.platform.accommodationbackoffice.widgets.handler.AbstractAccommodationBackofficeValidationHandler
de.hybris.platform.accommodationbackoffice.widgets.handler.AbstractFinancialInfoValidationHandler
All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
Direct Known Subclasses:
CreateCancelPenaltyValidationHandler, CreateGuaranteeValidationHandler

public abstract class AbstractFinancialInfoValidationHandler extends AbstractAccommodationBackofficeValidationHandler implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
Abstract validation handler for AbstractFinancialInfo wizard.
  • Field Details

    • CREATE_ABSTRACT_FINANCIAL_INFO_WIZARD_ERROR_TITLE

      protected static final String CREATE_ABSTRACT_FINANCIAL_INFO_WIZARD_ERROR_TITLE
      See Also:
    • CREATE_ABSTRACT_FINANCIAL_INFO_WIZARD_DUPLICATE_CODE_ERROR_MESSAGE

      protected static final String CREATE_ABSTRACT_FINANCIAL_INFO_WIZARD_DUPLICATE_CODE_ERROR_MESSAGE
      See Also:
    • ABSTRACT_FINANCIAL_INFO_CODE

      protected static final String ABSTRACT_FINANCIAL_INFO_CODE
      See Also:
    • NEW_ABSTRACT_FINANCIAL_CODE

      protected static final String NEW_ABSTRACT_FINANCIAL_CODE
      See Also:
  • Constructor Details

    • AbstractFinancialInfoValidationHandler

      public AbstractFinancialInfoValidationHandler()
  • Method Details

    • perform

      public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> parameters)
      Specified by:
      perform in interface com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
    • showMessage

      protected void showMessage(String fieldName)
      Based on the field name, it would show message for appropriate field.
      Parameters:
      fieldName - the name of the field in wizard
    • 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