public class DefaultVersionRemovalPolicy extends Object implements VersionRemovalPolicy
| Modifier and Type | Field and Description |
|---|---|
static String |
ORPHAN_VERSION_REMOVE |
| 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 static final String ORPHAN_VERSION_REMOVE
public void removeVersions(Session session, Document doc, CoreSession coreSession) throws ClientException
VersionRemovalPolicyremoveVersions in interface VersionRemovalPolicysession - the current sessiondoc - the document that is about to be removedClientExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.