Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.publisher.rules
Interface ValidatorsRule

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultValidatorsRule

public interface ValidatorsRule
extends java.io.Serializable

Validators rule API.

Object aiming at being responsible of computing the validators of a just published document.

Author:
Julien Anguenot

Method Summary
 java.lang.String[] computesValidatorsFor(DocumentModel dm)
          Computes the list of publishing validators given the document model of the document just published.
 

Method Detail

computesValidatorsFor

java.lang.String[] computesValidatorsFor(DocumentModel dm)
                                         throws PublishingValidatorException
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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.