public interface IWorkflowInstance extends IResource, IDeletionSupport, ISearchSupport, IUriSupport, IDelegationSupport, ILocalizationScope, ILockSupport
ITaskInstance
,
IResource
,
IWorkflow
,
ICatalog
Modifier and Type | Interface and Description |
---|---|
static interface |
IWorkflowInstance.IStatus
Available status for the workflow instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addLinkedWorkflowInstance(String propertyName,
IWorkflowInstance linkedWorkflowInstance)
Allows to add a workflow instance object to a linked table field.
|
boolean |
addLinkedWorkflowInstances(String propertyName,
Collection<? extends IWorkflowInstance> linkedWorkflowInstances)
Allows to add an association between a workflow instance object and a linked table field.
|
void |
deleteLinkedWorkflowInstance(String propertyName,
IWorkflowInstance linkedWorkflowInstance)
Allows to remove the association between a workflow instance object and a linked table field.
|
void |
deleteLinkedWorkflowInstances(String propertyName,
Collection<? extends IWorkflowInstance> linkedWorkflowInstances)
Allows to remove the associations between a collection of
IWorkflowInstances objects and a linked table field. |
ICatalog |
getCatalog()
Gets the catalog.
|
ITaskInstance |
getCurrentTaskInstance(IContext context)
Gets the current task instance.
|
Collection<? extends IWorkflowInstance> |
getEmbeddedWorkflowInstances()
In embedded workflow, return all embedded workflow instances
|
Date |
getEndedDate()
Gets the ended date.
|
Collection<? extends IWorkflowInstance> |
getLinkedWorkflowInstances(String propertyName)
Retrieves all the linked workflow instance of a linked table field.
|
IWorkflowInstance |
getParentContainerWorkflowInstance()
In embedded workflow, return the parent workflow instance
|
IWorkflowInstance |
getParentInstance()
Gets the parent instance.
|
int |
getStatus()
Gets the system status
|
IWorkflow |
getWorkflow()
Gets the associated workflow.
|
void |
resume()
Deprecated.
: use unlock() method instead.
|
void |
suspend()
Deprecated.
: use lock() method instead.
|
getURI
isLockBySDK, isLockBySDK, isLocked, isLocked, lock, lockedBy, lockedBy, unlock
addLinkedResource, addLinkedResources, allowEvents, createLinkedResource, deleteLinkedResource, deleteLinkedResources, denyEvents, exists, getCreatedBy, getCreatedDate, getDefinition, getHistory, getLinkedResources, getList, getModifiedBy, getModifiedDate, getName, getText, getValue, refresh, refresh, save, save, setCreatedBy, setCreatedDate, setList, setModifiedBy, setModifiedDate, setValue, setValueNoEvents
ITaskInstance getCurrentTaskInstance(IContext context)
context
- The execution context.ITaskInstance
object.IWorkflowInstance getParentInstance()
IWorkflowInstance
object.boolean addLinkedWorkflowInstance(String propertyName, IWorkflowInstance linkedWorkflowInstance)
propertyName
- The system property of the field.linkedWorkflowInstance
- The IWorkflowIntance
to add.false
otherwise.boolean addLinkedWorkflowInstances(String propertyName, Collection<? extends IWorkflowInstance> linkedWorkflowInstances)
propertyName
- The system property of the field.linkedWorkflowInstances
- A collection of IWorkflowIntance
objects to add.false
otherwise.Collection<? extends IWorkflowInstance> getLinkedWorkflowInstances(String propertyName)
propertyName
- The system property of the field.IWorkflowIntance
objects.void deleteLinkedWorkflowInstance(String propertyName, IWorkflowInstance linkedWorkflowInstance)
propertyName
- The system property of the field.linkedWorkflowInstance
- The IWorkflowIntance
to remove.void deleteLinkedWorkflowInstances(String propertyName, Collection<? extends IWorkflowInstance> linkedWorkflowInstances)
IWorkflowInstances
objects and a linked table field.propertyName
- The system property of the field.linkedWorkflowInstances
- The collection of IWorkflowInstance
objects.@Deprecated void suspend()
@Deprecated void resume()
int getStatus()
IWorkflowInstance.IStatus
values.IWorkflowInstance getParentContainerWorkflowInstance()
Collection<? extends IWorkflowInstance> getEmbeddedWorkflowInstances()
Copyright © 2022 Visiativ. All rights reserved.