Class DocumentRouteImpl
java.lang.Object
org.nuxeo.ecm.platform.routing.core.impl.DocumentRouteElementImpl
org.nuxeo.ecm.platform.routing.core.impl.DocumentRouteStepsContainerImpl
org.nuxeo.ecm.platform.routing.core.impl.DocumentRouteImpl
- All Implemented Interfaces:
Serializable
,DocumentRoute
,DocumentRouteElement
,DocumentRouteStep
,DocumentRouteStepsContainer
- Direct Known Subclasses:
GraphRouteImpl
- Author:
- arussel
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.platform.routing.core.impl.DocumentRouteElementImpl
DocumentRouteElementImpl.GetIsParentRunningUnrestricted, DocumentRouteElementImpl.SetDocumentOnReadOnlyUnrestrictedSessionRunner
Nested classes/interfaces inherited from interface org.nuxeo.ecm.platform.routing.api.DocumentRouteElement
DocumentRouteElement.ElementLifeCycleState, DocumentRouteElement.ElementLifeCycleTransistion
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.routing.core.impl.DocumentRouteElementImpl
document, runner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canUndoStep
(CoreSession session) If this step can be undone.protected void
fireWorkflowCompletionEvent
(CoreSession session) Get the username of the initiator.void
setDone
(CoreSession session) set this element as done.Methods inherited from class org.nuxeo.ecm.platform.routing.core.impl.DocumentRouteStepsContainerImpl
getAttachedDocuments, setAttachedDocuments, validate
Methods inherited from class org.nuxeo.ecm.platform.routing.core.impl.DocumentRouteElementImpl
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.ecm.platform.routing.api.DocumentRoute
getAttachedDocuments, setAttachedDocuments
Methods inherited from interface org.nuxeo.ecm.platform.routing.api.DocumentRouteElement
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
-
Constructor Details
-
DocumentRouteImpl
-
-
Method Details
-
canUndoStep
Description copied from interface:DocumentRouteElement
If this step can be undone. Default is to allow undoing only if the parent folder is running.- Specified by:
canUndoStep
in interfaceDocumentRouteElement
- Overrides:
canUndoStep
in classDocumentRouteElementImpl
-
fireWorkflowCompletionEvent
-
getInitiator
Description copied from interface:DocumentRoute
Get the username of the initiator.- Specified by:
getInitiator
in interfaceDocumentRoute
-
getModelId
- Specified by:
getModelId
in interfaceDocumentRoute
- Since:
- 7.2
-
getModelName
- Specified by:
getModelName
in interfaceDocumentRoute
- Since:
- 7.2
-
setDone
Description copied from interface:DocumentRouteElement
set this element as done.- Specified by:
setDone
in interfaceDocumentRouteElement
- Overrides:
setDone
in classDocumentRouteStepsContainerImpl
-