public interface VersioningPolicyFilter extends BiPredicate<DocumentModel,DocumentModel>
Modifier and Type | Method and Description |
---|---|
boolean |
test(DocumentModel previousDocument,
DocumentModel currentDocument) |
and, negate, or
boolean test(DocumentModel previousDocument, DocumentModel currentDocument)
test
in interface BiPredicate<DocumentModel,DocumentModel>
previousDocument
- the document before modification, could be null if event is aboutToCreatecurrentDocument
- the document after modificationCopyright © 2017 Nuxeo. All rights reserved.