Class B2BBudgetFormValidator
java.lang.Object
de.hybris.platform.travelcommerceorgaddon.forms.validation.B2BBudgetFormValidator
- All Implemented Interfaces:
org.springframework.validation.Validator
@Component("b2BBudgetFormValidator")
@Scope("tenant")
public class B2BBudgetFormValidator
extends Object
implements org.springframework.validation.Validator
The type B2b budget form validator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.i18n.FormatFactoryvoidsetFormatFactory(de.hybris.platform.servicelayer.i18n.FormatFactory formatFactory) booleanvoidprotected voidvalidateDateFormat(String date, org.springframework.validation.Errors errors, String field) Method responsible for validating the date format
-
Constructor Details
-
B2BBudgetFormValidator
public B2BBudgetFormValidator()
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validateDateFormat
protected void validateDateFormat(String date, org.springframework.validation.Errors errors, String field) Method responsible for validating the date format- Parameters:
date-errors-field-
-
getFormatFactory
protected de.hybris.platform.servicelayer.i18n.FormatFactory getFormatFactory() -
setFormatFactory
public void setFormatFactory(de.hybris.platform.servicelayer.i18n.FormatFactory formatFactory)
-