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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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)
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.
-
-