public class RecommendationComponentValidator extends DefaultAbstractCMSComponentValidator
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CART_ITEM_DS_TYPE_REQUIRED_ERROR_MSG |
protected static java.lang.String |
LEADING_ITEM_DS_TYPE_REQUIRED_ERROR_MSG |
protected static java.lang.String |
LEADING_ITEM_TYPE_REQUIRED_ERROR_MSG |
protected static java.lang.String |
RECO_TYPE_REQUIRED_ERROR_MSG |
| Constructor and Description |
|---|
RecommendationComponentValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addValidatorRule(java.lang.String targetField,
java.lang.String errorMsgCode) |
void |
validate(AbstractCMSComponentModel itemModel)
Method to perform validation on a given object.
|
getValidationErrorsProvider, setValidationErrorsProviderprotected static final java.lang.String CART_ITEM_DS_TYPE_REQUIRED_ERROR_MSG
protected static final java.lang.String LEADING_ITEM_DS_TYPE_REQUIRED_ERROR_MSG
protected static final java.lang.String LEADING_ITEM_TYPE_REQUIRED_ERROR_MSG
protected static final java.lang.String RECO_TYPE_REQUIRED_ERROR_MSG
protected void addValidatorRule(java.lang.String targetField,
java.lang.String errorMsgCode)
public void validate(AbstractCMSComponentModel itemModel)
Validatorvalidate in interface Validator<AbstractCMSComponentModel>validate in class DefaultAbstractCMSComponentValidatoritemModel - the inpected object being validated.Copyright © 2018 SAP SE. All Rights Reserved.