public interface OrphanVersionRemovalFilter
Modifier and Type | Method and Description |
---|---|
List<String> |
getRemovableVersionIds(CoreSession session,
ShallowDocumentModel deletedLiveDoc,
List<String> versionUUIDs)
This method will be called by the
OrphanVersionRemoverListener . |
List<String> getRemovableVersionIds(CoreSession session, ShallowDocumentModel deletedLiveDoc, List<String> versionUUIDs)
OrphanVersionRemoverListener
. The method should return the ListA "dummy" implementation will return the same list as the one received as parameter.
session
- the CoreSessiondeletedLiveDoc
- the Shallow DocumentModel that was deletedversionUUIDs
- the UUIDs of the versions associated to the deleted documentCopyright © 2018 Nuxeo. All rights reserved.