Class PotentielEnseignantValidator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.cms.contenttype.validation.AbstractContentValidator
org.ametys.plugins.odfpilotage.validator.AbstractRepeaterWithUniqueContentValidator
org.ametys.plugins.odfpilotage.validator.PotentielEnseignantValidator
- All Implemented Interfaces:
ContentValidator
,LogEnabled
Global validator for OrgUnit content.
Check that every instance of the repeater potentielsEnseignement have a different discipline.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.plugins.odfpilotage.validator.AbstractRepeaterWithUniqueContentValidator
validate, validate
Methods inherited from class org.ametys.cms.contenttype.validation.AbstractContentValidator
getContentType, setContentType
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
PotentielEnseignantValidator
public PotentielEnseignantValidator()
-
-
Method Details
-
getRepeaterName
Description copied from class:AbstractRepeaterWithUniqueContentValidator
Get the repeater name.- Specified by:
getRepeaterName
in classAbstractRepeaterWithUniqueContentValidator
- Returns:
- The repeater name.
-
getContentDataName
Description copied from class:AbstractRepeaterWithUniqueContentValidator
Get the content data name.- Specified by:
getContentDataName
in classAbstractRepeaterWithUniqueContentValidator
- Returns:
- The content data name.
-
getErrorKey
Description copied from class:AbstractRepeaterWithUniqueContentValidator
Get the error I18N key (parameterizable with "contentTitle" and "dataValueTitle").- Specified by:
getErrorKey
in classAbstractRepeaterWithUniqueContentValidator
- Returns:
- The error 18N key.
-