Package org.nuxeo.ecm.core.versioning
Class NullVersionRemovalPolicy
java.lang.Object
org.nuxeo.ecm.core.versioning.NullVersionRemovalPolicy
- All Implemented Interfaces:
VersionRemovalPolicy
Version removal policy that does nothing.
- Author:
- Florent Guillaume
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidremoveVersions(Session session, Document doc, CoreSession coreSession) Removes the versions when a given working document is about to be removed.
-
Constructor Details
-
NullVersionRemovalPolicy
public NullVersionRemovalPolicy()
-
-
Method Details
-
removeVersions
Description copied from interface:VersionRemovalPolicyRemoves the versions when a given working document is about to be removed.- Specified by:
removeVersionsin interfaceVersionRemovalPolicy- Parameters:
session- the current sessiondoc- the document that is about to be removed
-