Nuxeo ECM Projects 5.4.3-SNAPSHOT

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
 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)
                    throws ClientException
Removes the versions when a given working document is about to be removed.

Parameters:
session - the current session
doc - the document that is about to be removed
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.