public class DocumentRouteImpl extends DocumentRouteStepsContainerImpl implements DocumentRoute
DocumentRouteElementImpl.GetIsParentRunningUnrestricted, DocumentRouteElementImpl.SetDocumentOnReadOnlyUnrestrictedSessionRunner
DocumentRouteElement.ElementLifeCycleState, DocumentRouteElement.ElementLifeCycleTransistion
document, runner
Constructor and Description |
---|
DocumentRouteImpl(DocumentModel doc,
ElementRunner runner) |
Modifier and Type | Method and Description |
---|---|
boolean |
canUndoStep(CoreSession session)
If this step can be undone.
|
protected void |
fireWorkflowCompletionEvent(CoreSession session) |
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, checkLifeCycleState, followTransition, getAttachedDocuments, getDescription, getDocument, getDocumentRoute, getName, getProperty, getTitle, hasPermissionOnDocument, isCanceled, isDone, isDraft, isModifiable, isReady, isRunning, isValidated, resume, run, run, save, setCanceled, setCanDeleteStep, setCanReadStep, setCanUpdateStep, setCanValidateStep, setPermissionOnDocument, setReadOnly, setReady, setRunning, setValidated, undo
clone, equals, finalize, 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 boolean canUndoStep(CoreSession session)
DocumentRouteElement
canUndoStep
in interface DocumentRouteElement
canUndoStep
in class DocumentRouteElementImpl
protected void fireWorkflowCompletionEvent(CoreSession session)
public String getInitiator()
DocumentRoute
getInitiator
in interface DocumentRoute
public String getModelId()
getModelId
in interface DocumentRoute
public String getModelName()
getModelName
in interface DocumentRoute
public void setDone(CoreSession session)
DocumentRouteElement
setDone
in interface DocumentRouteElement
setDone
in class DocumentRouteStepsContainerImpl
Copyright © 2018 Nuxeo. All rights reserved.