Class DefaultValidatorsRule
- java.lang.Object
-
- org.nuxeo.ecm.platform.publisher.rules.DefaultValidatorsRule
-
- All Implemented Interfaces:
Serializable
,ValidatorsRule
public class DefaultValidatorsRule extends Object implements ValidatorsRule
Default NXP validator.Validators here will be principals having manage everything rights in the sections where the document has been published.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
DefaultValidatorsRule.UnrestrictedACPGetter
-
Constructor Summary
Constructors Constructor Description DefaultValidatorsRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
computesValidatorsFor(DocumentModel doc)
Computes the list of publishing validators given the document model of the document just published.
-
-
-
Method Detail
-
computesValidatorsFor
public String[] computesValidatorsFor(DocumentModel doc)
Description copied from interface:ValidatorsRule
Computes the list of publishing validators given the document model of the document just published.- Specified by:
computesValidatorsFor
in interfaceValidatorsRule
- Parameters:
doc
- a Nuxeo Core document model. (the document that just has been published)- Returns:
- a list of principal names.
-
-