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
removeVersions
void removeVersions(Session session,
Document doc,
CoreSession coreSession)
throws ClientException
- 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
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.