public class RenditionAwareVersionRemovalPolicy extends Object implements OrphanVersionRemovalFilter
Constructor and Description |
---|
RenditionAwareVersionRemovalPolicy() |
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 RenditionAwareVersionRemovalPolicy()
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 © 2015 Nuxeo SA. All rights reserved.