|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.model.AbstractDocument
public abstract class AbstractDocument
Abstract document that implements code independent on the model implementation.
The Document implementors MUST extend this class and not directly implement the Document interface.
Constructor Summary | |
---|---|
AbstractDocument()
|
Method Summary | |
---|---|
boolean |
followTransition(java.lang.String transition)
Follows a given life cycle transition. |
java.util.Collection<java.lang.String> |
getAllowedStateTransitions()
Returns the allowed state transitions for this document. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.model.Document |
---|
getLastModified, getLifeCyclePolicy, getLifeCycleState, getName, getParent, getPath, getRepository, getSession, getSystemProp, getType, getUUID, isFolder, isProxy, readDocumentPart, remove, save, setCurrentLifeCycleState, setLifeCyclePolicy, setSystemProp, writeDocumentPart |
Methods inherited from interface org.nuxeo.ecm.core.model.DocumentContainer |
---|
addChild, getChild, getChildren, getChildren, getChildrenIds, hasChild, hasChildren, orderBefore, removeChild, resolvePath |
Methods inherited from interface org.nuxeo.ecm.core.model.PropertyContainer |
---|
exportFlatMap, exportMap, exportMap, getBoolean, getContent, getDate, getDirtyFields, getDouble, getLong, getProperties, getProperty, getPropertyIterator, getPropertyValue, getString, importFlatMap, importMap, isPropertySet, removeProperty, setBoolean, setContent, setDate, setDouble, setLong, setPropertyValue, setString |
Methods inherited from interface org.nuxeo.ecm.core.versioning.VersionableDocument |
---|
checkIn, checkOut, getBaseVersion, getCheckinComment, getLastVersion, getSourceDocument, getVersion, getVersionCreationDate, getVersionLabel, getVersions, getVersionSeriesId, getVersionsIds, getWorkingCopy, hasVersions, isCheckedOut, isLatestMajorVersion, isLatestVersion, isMajorVersion, isVersion, isVersionSeriesCheckedOut, restore |
Methods inherited from interface org.nuxeo.ecm.core.model.Lockable |
---|
getLock, isLocked, setLock, unlock |
Constructor Detail |
---|
public AbstractDocument()
Method Detail |
---|
public boolean followTransition(java.lang.String transition) throws LifeCycleException
Document
This will update the current life cycle of the document.
followTransition
in interface Document
transition
- the name of the transition to follow
LifeCycleException
public java.util.Collection<java.lang.String> getAllowedStateTransitions() throws LifeCycleException
Document
getAllowedStateTransitions
in interface Document
LifeCycleException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |