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