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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.model.ModelServiceGets model service.voidperform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String, String> parameters) voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) Sets model service.protected voidshowMessage(String fieldName) Based on the field name, it would show message for appropriate field.Methods inherited from class de.hybris.platform.accommodationbackoffice.widgets.handler.AbstractAccommodationBackofficeValidationHandler
getTravelBackofficeCommonValidator, setTravelBackofficeCommonValidator, validateUniqueForAttributes
-
Field Details
-
CREATE_ABSTRACT_FINANCIAL_INFO_WIZARD_ERROR_TITLE
- See Also:
-
CREATE_ABSTRACT_FINANCIAL_INFO_WIZARD_DUPLICATE_CODE_ERROR_MESSAGE
- See Also:
-
ABSTRACT_FINANCIAL_INFO_CODE
- See Also:
-
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:
performin interfacecom.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
-
showMessage
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
-