Package org.ametys.odf.validator
Class CourseListChoiceValidator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.cms.contenttype.validation.AbstractContentValidator
org.ametys.odf.validator.CourseListChoiceValidator
- All Implemented Interfaces:
ContentValidator
,LogEnabled
Validator for
CourseList
to check if the min value is correctly fill when choice type is choosen.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionValidates a content.Validates a content being editedMethods inherited from class org.ametys.cms.contenttype.validation.AbstractContentValidator
getContentType, initialize, setContentType
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
CourseListChoiceValidator
public CourseListChoiceValidator()
-
-
Method Details
-
validate
Description copied from interface:ContentValidator
Validates a content.- Parameters:
content
- the content to validate- Returns:
- the validation result
-
validate
Description copied from interface:ContentValidator
Validates a content being edited- Parameters:
content
- the content to validatevalues
- the values being setview
- the view- Returns:
- the validation result
-