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. 
 | 
cancelcreate, deployDefinitions, getWorkObjectTypeaddListener, getId, removeListenerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelcreate, deployDefinitions, getWorkObjectTypeaddListener, removeListenergetIdpublic 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()
DomainObjectProviderReturns all definitions known to the provider.
getDefinitions in interface DomainObjectProvidergetDefinitions in class BaseDomainObjectProviderpublic void update(String taskId, List<FieldChange> changes)
DomainObjectProviderUpdates the entity with the given id by applying the submitted changes.
update in interface DomainObjectProviderupdate in class BaseDomainObjectProvidertaskId - the external id of the entity to updatechanges - the changes to apply on the entitypublic void delete(String taskId)
DomainObjectProviderDeletes the entity with the given id .
delete in interface DomainObjectProviderdelete in class BaseDomainObjectProvidertaskId - the external id of the entity to deleteCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.