public class NullVersionRemovalPolicy extends Object implements VersionRemovalPolicy
Constructor and Description |
---|
NullVersionRemovalPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
removeVersions(Session session,
Document doc,
CoreSession coreSession)
Removes the versions when a given working document is about to be removed.
|
public NullVersionRemovalPolicy()
public void removeVersions(Session session, Document doc, CoreSession coreSession)
VersionRemovalPolicy
removeVersions
in interface VersionRemovalPolicy
session
- the current sessiondoc
- the document that is about to be removedCopyright © 2018 Nuxeo. All rights reserved.