public class ActivitiTaskProvider extends BaseTaskProvider
Task provider implementation for the Flowable process engine. <p> This implementation notifies the registered task provider listeners only upon task creations, time-outs and completions, but does not notify upon task updates (e.g. for assignee/candidate group changes) or task deletions. As a consequence, claiming and deleting tasks via the Flowable task service is not supported and leads to out-of-sync information in the task management.
Constructor and Description |
---|
ActivitiTaskProvider(org.flowable.engine.ProcessEngine processEngine,
EventBus eventBus,
TimeProvider timeProvider,
IdLookupService idLookupService) |
Modifier and Type | Method and Description |
---|---|
void |
delete(String taskId)
Deletes the entity with the given id .
|
Collection<AnyWorkObjectDefinition> |
getDefinitions()
Returns all definitions known to the provider.
|
void |
setSuppressPropertySynchronization(boolean suppressPropertySynchronization) |
void |
update(String taskId,
List<FieldChange> changes)
Updates the entity with the given id by applying the submitted changes.
|
cancel
create, deployDefinitions, getWorkObjectType
addListener, getId, removeListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel
create, deployDefinitions, getWorkObjectType
addListener, removeListener
getId
public static final String ID
public ActivitiTaskProvider(org.flowable.engine.ProcessEngine processEngine, EventBus eventBus, TimeProvider timeProvider, IdLookupService idLookupService)
public void setSuppressPropertySynchronization(boolean suppressPropertySynchronization)
public Collection<AnyWorkObjectDefinition> getDefinitions()
DomainObjectProvider
Returns all definitions known to the provider.
getDefinitions
in interface DomainObjectProvider
getDefinitions
in class BaseDomainObjectProvider
public void update(String taskId, List<FieldChange> changes)
DomainObjectProvider
Updates the entity with the given id by applying the submitted changes.
update
in interface DomainObjectProvider
update
in class BaseDomainObjectProvider
taskId
- the external id of the entity to updatechanges
- the changes to apply on the entitypublic void delete(String taskId)
DomainObjectProvider
Deletes the entity with the given id .
delete
in interface DomainObjectProvider
delete
in class BaseDomainObjectProvider
taskId
- the external id of the entity to deleteCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.