Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.rules
Class DefaultValidatorsRule

java.lang.Object
  extended by 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

Constructor Summary
DefaultValidatorsRule()
           
 
Method Summary
 String[] computesValidatorsFor(DocumentModel doc)
          Computes the list of publishing validators given the document model of the document just published.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValidatorsRule

public DefaultValidatorsRule()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.