public class DefaultVersionRemovalPolicy extends Object implements VersionRemovalPolicy
Constructor and Description |
---|
DefaultVersionRemovalPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
removeVersions(Session session,
Document doc,
CoreSession coreSession)
Removes the versions when a given working document is about to be
removed.
|
public void removeVersions(Session session, Document doc, CoreSession coreSession) throws ClientException
VersionRemovalPolicy
removeVersions
in interface VersionRemovalPolicy
session
- the current sessiondoc
- the document that is about to be removedClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.