public class DocumentRouteImpl extends DocumentRouteStepsContainerImpl implements DocumentRoute
DocumentRouteElement.ElementLifeCycleState, DocumentRouteElement.ElementLifeCycleTransistion
Constructor and Description |
---|
DocumentRouteImpl(DocumentModel doc,
ElementRunner runner) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUndoStep(CoreSession session)
If this step can be undone.
|
String |
getInitiator()
Get the username of the initiator.
|
String |
getModelId() |
String |
getModelName() |
void |
setDone(CoreSession session)
set this element as done.
|
getAttachedDocuments, setAttachedDocuments, validate
backToReady, cancel, canDeleteStep, canUpdateStep, canValidateStep, followTransition, getAttachedDocuments, getDescription, getDocument, getDocumentRoute, getName, getTitle, isCanceled, isDone, isDraft, isModifiable, isReady, isRunning, isValidated, resume, run, run, save, setCanceled, setCanDeleteStep, setCanReadStep, setCanUpdateStep, setCanValidateStep, setReadOnly, setReady, setRunning, setValidated, undo
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttachedDocuments, setAttachedDocuments
backToReady, cancel, canDeleteStep, canUpdateStep, canValidateStep, followTransition, getAttachedDocuments, getDescription, getDocument, getDocumentRoute, getName, getTitle, isCanceled, isDone, isDraft, isModifiable, isReady, isRunning, isValidated, resume, run, run, save, setCanceled, setCanDeleteStep, setCanReadStep, setCanUpdateStep, setCanValidateStep, setReadOnly, setReady, setRunning, setValidated, validate
public DocumentRouteImpl(DocumentModel doc, ElementRunner runner)
public void setDone(CoreSession session)
DocumentRouteElement
setDone
in interface DocumentRouteElement
setDone
in class DocumentRouteStepsContainerImpl
public boolean canUndoStep(CoreSession session)
DocumentRouteElement
canUndoStep
in interface DocumentRouteElement
canUndoStep
in class DocumentRouteElementImpl
public String getInitiator()
DocumentRoute
getInitiator
in interface DocumentRoute
public String getModelId()
getModelId
in interface DocumentRoute
public String getModelName()
getModelName
in interface DocumentRoute
Copyright © 2015 Nuxeo SA. All rights reserved.