List<String> getRemovableVersionIds(CoreSession session, ShallowDocumentModel deletedLiveDoc, List<String> versionUUIDs)This method will be called by the
OrphanVersionRemoverListener. The method should return the List<String> versionUUIDs that can be deleted.
A "dummy" implementation will return the same list as the one received as parameter.
session- the CoreSession
deletedLiveDoc- the Shallow DocumentModel that was deleted
versionUUIDs- the UUIDs of the versions associated to the deleted document
- the "filtered" list of versions that can be removed