Package org.nuxeo.ecm.core.versioning
Class DefaultVersionRemovalPolicy
java.lang.Object
org.nuxeo.ecm.core.versioning.DefaultVersionRemovalPolicy
- All Implemented Interfaces:
 VersionRemovalPolicy
Removes the version history if no proxies exist, otherwise do nothing.
- Author:
 - Florent Guillaume
 
- 
Field Summary
Fields - 
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. 
- 
Field Details
- 
ORPHAN_VERSION_REMOVE
- See Also:
 
 
 - 
 - 
Constructor Details
- 
DefaultVersionRemovalPolicy
public DefaultVersionRemovalPolicy() 
 - 
 - 
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
 
 -