|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.core.versioning.DefaultVersionRemovalPolicy
public class DefaultVersionRemovalPolicy
Removes the version history if no proxies exist, otherwise do nothing.
Constructor Summary | |
---|---|
DefaultVersionRemovalPolicy()
|
Method Summary | |
---|---|
void |
removeVersions(Session session,
Document doc,
CoreSession coreSession)
Removes the versions when a given working document is about to be removed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultVersionRemovalPolicy()
Method Detail |
---|
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 removed
ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |