Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultValidatorsRule

public interface ValidatorsRule
extends Serializable

Validators rule API.

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

Author:
Julien Anguenot

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

Method Detail

computesValidatorsFor

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 ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.