org.nuxeo.ecm.platform.publisher.rules
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
DefaultValidatorsRule
public DefaultValidatorsRule()
computesValidatorsFor
public String[] computesValidatorsFor(DocumentModel doc)
throws PublishingValidatorException
- Description copied from interface:
ValidatorsRule
- Computes the list of publishing validators given the document model of
the document just published.
- Specified by:
computesValidatorsFor
in interface ValidatorsRule
- Parameters:
doc
- a Nuxeo Core document model. (the document that just has been
published)
- Returns:
- a list of principal names.
- Throws:
PublishingValidatorException
- TODO
Copyright © 2011 Nuxeo SAS. All Rights Reserved.