org.nuxeo.ecm.platform.publishing.rules
Class DefaultValidatorsRule
java.lang.Object
org.nuxeo.ecm.platform.publishing.api.AbstractNuxeoCoreValidatorsRule
org.nuxeo.ecm.platform.publishing.rules.DefaultValidatorsRule
- All Implemented Interfaces:
- Serializable, ValidatorsRule
public class DefaultValidatorsRule
- extends AbstractNuxeoCoreValidatorsRule
Default NXP validator.
Validators here will be principals having manage everything rights in the
sections where the document has been published.
- Author:
- Julien Anguenot
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValidatorsRule
public DefaultValidatorsRule()
computesValidatorsFor
public String[] computesValidatorsFor(DocumentModel dm)
throws PublishingValidatorException
- Description copied from interface:
ValidatorsRule
- Computes the list of publishing validators given the document model of
the document just published.
- Parameters:
dm - : a Nuxeo Core document model. (the document that just has been
published)
- Returns:
- a list of principal names.
- Throws:
PublishingValidatorException - TODO
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.