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