Uses of Interface
de.espirit.firstspirit.access.store.templatestore.Workflow
Package
Description
-
Uses of Workflow in de.espirit.firstspirit.access
Modifier and TypeMethodDescriptionUserService.createTask
(StoreElement storeElement, Workflow workflow, Task task) Clone a existing task on a StoreElement.UserService.createTask
(StoreElement storeElement, Workflow workflow, String comment) Create task on StoreElement.UserService.createTask
(StoreElement storeElement, Workflowable flowable, Workflow workflow, String comment) Create task on Workflowable. -
Uses of Workflow in de.espirit.firstspirit.access.packagepool
Modifier and TypeMethodDescriptionSubscription.getWorkflow
(byte type) Gets the workflow defined for the given event type.Modifier and TypeMethodDescriptionvoid
Package.setWorkflow
(byte type, Workflow workflow) Map the given workflow to the given event type.void
Subscription.setWorkflow
(byte type, Workflow workflow) Sets the given workflow for the given event type. -
Uses of Workflow in de.espirit.firstspirit.access.project
Modifier and TypeMethodDescriptionProject.getDeleteWorkflow()
Get delete Workflow.@Nullable Workflow
Project.getWebeditDefaultWorkflow()
Returns the default workflow that should be used in webedit, ornull
if not specified.Modifier and TypeMethodDescriptionvoid
Project.setDeleteWorkflow
(Workflow workflow) Set delete Workflow.void
Project.setWebeditDefaultWorkflow
(@Nullable Workflow workflow) Sets the default workflow that should be used in webedit, ornull
for no default workflow. -
Uses of Workflow in de.espirit.firstspirit.access.store
Modifier and TypeMethodDescription@NotNull WorkflowPermission
StoreElement.getCreateWorkflowPermission
(@Nullable Workflow workflow) Return workflow permission object for the given workflow.@Nullable WorkflowPermission
StoreElement.getWorkflowPermission
(@Nullable Workflow workflow) Return workflow permission object for the given workflow.boolean
StoreElement.isWorkflowAllowed
(@Nullable Workflow workflow, User user) Returnstrue
ifworkflow
is notnull
and is explicitly allowed to be started on this element by givenuser
orworkflow
isnull
and any workflow is allowed to be started on this element by givenuser
. ,false
otherwise.void
StoreElement.removeWorkflowPermission
(Workflow workflow) -
Uses of Workflow in de.espirit.firstspirit.access.store.templatestore
Modifier and TypeMethodDescriptionWorkflowContainer.createWorkflow
(String uid, String description) Creates a new workflow with the given uid and description as child of this workflow container.WorkflowContainer.createWorkflow
(String name, String description, boolean unify) Creates a new workflow with the given uid and description as child of this workflow container.@Nullable Workflow
WorkflowPermission.getWorkflow()
Gets the workflow.@Nullable Workflow
TemplateStoreRoot.getWorkflowById
(long workflowId) Returns the workflow with the givenworkflow id
null
if no workflow exits with the given id.@Nullable Workflow
TemplateStoreRoot.getWorkflowByName
(String name) Get a workflow by itsuid
. -
Uses of Workflow in de.espirit.firstspirit.workflow
Modifier and TypeMethodDescription@NotNull WorkflowAgent.WorkflowProcessContext
WorkflowAgent.startWorkflow
(@NotNull Workflow workflow) Starts a new workflow processwithout context
.@NotNull WorkflowAgent.WorkflowProcessContext
WorkflowAgent.startWorkflow
(@NotNull Workflow workflow, @Nullable IDProvider element) Starts a new workflow process which context is based on the given element (mode isTask.Mode.ENTITY
, if given element is aDataset
, otherwiseTask.Mode.STORE_ELEMENT
).