Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.platform.publishing.api
Interface ValidatorsRule

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractNuxeoCoreValidatorsRule, DefaultValidatorsRule

public interface ValidatorsRule
extends Serializable

Validators rule API.

Object aiming at being responsible of computing the validators of a just puglished 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 Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.