Class ExpressionTriggerDataValidator
java.lang.Object
de.hybris.platform.personalizationwebservices.validator.ExpressionTriggerDataValidator
- All Implemented Interfaces:
TriggerValidator,org.springframework.validation.Validator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCxExpressionTriggerService(CxExpressionTriggerService cxExpressionTriggerService) voidsetSegmentFacade(SegmentFacade segmentFacade) booleanvoidprotected voidvalidateExpression(ExpressionData target, org.springframework.validation.Errors errors) protected voidvalidateGroup(GroupExpressionData target, org.springframework.validation.Errors errors) protected voidvalidateNegation(NegationExpressionData target, org.springframework.validation.Errors errors) protected voidvalidateSegment(SegmentExpressionData target, org.springframework.validation.Errors errors)
-
Constructor Details
-
ExpressionTriggerDataValidator
public ExpressionTriggerDataValidator()
-
-
Method Details
-
supports
- Specified by:
supportsin interfaceorg.springframework.validation.Validator
-
validate
- Specified by:
validatein interfaceorg.springframework.validation.Validator
-
validateExpression
protected void validateExpression(ExpressionData target, org.springframework.validation.Errors errors) -
validateSegment
protected void validateSegment(SegmentExpressionData target, org.springframework.validation.Errors errors) -
validateGroup
protected void validateGroup(GroupExpressionData target, org.springframework.validation.Errors errors) -
validateNegation
protected void validateNegation(NegationExpressionData target, org.springframework.validation.Errors errors) -
setCxExpressionTriggerService
-
setSegmentFacade
-