Modifier and Type | Method and Description |
---|---|
Workflow |
Task.getWorkflow()
Get workflow model
|
Modifier and Type | Method and Description |
---|---|
Task |
UserService.createTask(StoreElement storeElement,
Workflowable flowable,
Workflow workflow,
String comment)
Create task on Workflowable.
|
Task |
UserService.createTask(StoreElement storeElement,
Workflow workflow,
String comment)
Create task on StoreElement.
|
Task |
UserService.createTask(StoreElement storeElement,
Workflow workflow,
Task task)
Clone a existing task on a StoreElement.
|
Modifier and Type | Method and Description |
---|---|
Workflow |
Subscription.getWorkflow(byte type)
Gets the workflow defined for the given event type.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
Workflow |
Project.getDeleteWorkflow()
Get delete Workflow.
|
Workflow |
Project.getWebeditDefaultWorkflow()
Returns the default workflow that should be used in webedit, or
null if not specified. |
Modifier and Type | Method and Description |
---|---|
void |
Project.setDeleteWorkflow(Workflow workflow)
Set delete Workflow.
|
void |
Project.setWebeditDefaultWorkflow(Workflow workflow)
Sets the default workflow that should be used in webedit, or
null for no default workflow. |
Modifier and Type | Method and Description |
---|---|
WorkflowPermission |
StoreElement.getCreateWorkflowPermission(Workflow workflow)
Return workflow permission object for the given workflow.
|
WorkflowPermission |
StoreElement.getWorkflowPermission(Workflow workflow)
Return workflow permission object for the given workflow.
|
boolean |
StoreElement.isWorkflowAllowed(Workflow workflow,
User user)
Returns
true if
workflow is not null and is explicitly allowed to be started on this element by given user or
workflow is null and any workflow is allowed to be started on this element by given user . |
void |
StoreElement.removeWorkflowPermission(Workflow workflow) |
Modifier and Type | Method and Description |
---|---|
Workflow |
WorkflowContainer.createWorkflow(String uid,
String description)
Creates a new workflow with the given uid and description as child of this workflow container.
|
Workflow |
WorkflowContainer.createWorkflow(String name,
String description,
boolean unify)
Creates a new workflow with the given uid and description as child of this workflow container.
|
Workflow |
WorkflowPermission.getWorkflow()
Gets the workflow.
|
Workflow |
TemplateStoreRoot.getWorkflowById(long workflowId)
Returns the workflow with the given
workflow id
null if no workflow exits with the given id. |
Workflow |
TemplateStoreRoot.getWorkflowByName(String name)
Get a workflow by its
uid . |
Modifier and Type | Method and Description |
---|---|
WorkflowAgent.WorkflowProcessContext |
WorkflowAgent.startWorkflow(Workflow workflow)
Starts a new workflow process
without context . |
WorkflowAgent.WorkflowProcessContext |
WorkflowAgent.startWorkflow(Workflow workflow,
IDProvider element)
Starts a new workflow process which context is based on the given element (mode is
Task.Mode#ENTITY , if given element is a Dataset , otherwise Task.Mode#STORE_ELEMENT ). |
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210