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
All Methods Instance Methods Abstract 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
void removeVersions(Session session, Document doc, CoreSession coreSession)
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
-
-