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 List<String> getRemovableVersionIds(CoreSession session, ShallowDocumentModel deletedLiveDoc, List<String> versionUUIDs)
OrphanVersionRemovalFilterOrphanVersionRemoverListener.
The method should return the ListA "dummy" implementation will return the same list as the one received as parameter.
getRemovableVersionIds in interface OrphanVersionRemovalFiltersession - the CoreSessiondeletedLiveDoc - the Shallow DocumentModel that was deletedversionUUIDs - the UUIDs of the versions associated to the deleted
documentCopyright © 2012 Nuxeo SA. All Rights Reserved.