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

    Modifier and Type
    Method
    Description
    Computes the list of publishing validators given the document model of the document just published.
  • Method Details

    • 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.