Package org.nuxeo.ecm.core.versioning
Interface VersionRemovalPolicy
- All Known Implementing Classes:
DefaultVersionRemovalPolicy
,NullVersionRemovalPolicy
public interface VersionRemovalPolicy
Interface for the policy that decides which versions have to be removed when a working document is removed. This
policy is called at the AbstractSession level.
- Author:
- Florent Guillaume
-
Method Summary
Modifier and TypeMethodDescriptionvoid
removeVersions
(Session session, Document doc, CoreSession coreSession) Removes the versions when a given working document is about to be removed.
-
Method Details
-
removeVersions
Removes the versions when a given working document is about to be removed.- Parameters:
session
- the current sessiondoc
- the document that is about to be removed
-