Modifier and Type | Method and Description |
---|---|
protected WorkflowTask |
TaskFormProcessor.getTypedItemForDecodedId(String itemId)
Returns the typed item.
|
WorkflowTask |
TaskFormPersister.persist() |
Modifier and Type | Method and Description |
---|---|
protected ContentModelFormPersister<WorkflowTask> |
TaskFormProcessor.makeFormPersister(WorkflowTask item) |
Modifier and Type | Method and Description |
---|---|
protected Map<org.alfresco.service.namespace.QName,Serializable> |
TaskFormProcessor.getAssociationValues(WorkflowTask item) |
protected org.alfresco.service.cmr.dictionary.TypeDefinition |
TaskFormProcessor.getBaseType(WorkflowTask task) |
protected String |
TaskFormProcessor.getItemType(WorkflowTask item)
Returns a
String describing the type fo the specified item. |
protected String |
TaskFormProcessor.getItemURI(WorkflowTask item)
Returns the URI location of the specified item.
|
protected Map<org.alfresco.service.namespace.QName,Serializable> |
TaskFormProcessor.getPropertyValues(WorkflowTask task) |
protected Map<String,Object> |
TaskFormProcessor.getTransientValues(WorkflowTask item) |
protected ContentModelFormPersister<WorkflowTask> |
TaskFormProcessor.makeFormPersister(WorkflowTask item) |
Constructor and Description |
---|
TaskFormPersister(ContentModelItemData<WorkflowTask> itemData,
org.alfresco.service.namespace.NamespaceService namespaceService,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
WorkflowService workflowService,
org.alfresco.service.cmr.repository.NodeService nodeService,
AuthenticationService authenticationService,
BehaviourFilter behaviourFilter,
org.apache.commons.logging.Log logger) |
Constructor and Description |
---|
WorkflowTaskItem(ServiceRegistry services,
TemplateImageResolver resolver,
WorkflowTask task) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
WorkflowModelBuilder.buildDetailed(WorkflowTask workflowTask)
Returns a detailed representation of a
WorkflowTask . |
Map<String,Object> |
WorkflowModelBuilder.buildSimple(WorkflowTask task,
Collection<String> propertyFilters)
Returns a simple representation of a
WorkflowTask . |
Modifier and Type | Method and Description |
---|---|
WorkflowTask |
WorkflowObjectFactory.createTask(String id,
WorkflowTaskDefinition taskDef,
String name,
String defaultTitle,
String defaultDescription,
WorkflowTaskState state,
WorkflowPath path,
Map<org.alfresco.service.namespace.QName,Serializable> properties) |
WorkflowTask |
WorkflowObjectFactory.createTask(String id,
WorkflowTaskDefinition taskDef,
String name,
String defaultTitle,
String defaultDescription,
WorkflowTaskState state,
WorkflowPath path,
String workflowDefinitionName,
Map<org.alfresco.service.namespace.QName,Serializable> properties) |
WorkflowTask |
WorkflowServiceImpl.endTask(String taskId,
String transition) |
WorkflowTask |
TaskComponent.endTask(String taskId,
String transitionId)
End the Task (i.e.
|
WorkflowTask |
WorkflowServiceImpl.getStartTask(String workflowInstanceId)
Gets the start task instance for the given workflow instance.
|
WorkflowTask |
TaskComponent.getStartTask(String workflowInstanceId)
Gets all active timers for the specified workflow
|
WorkflowTask |
WorkflowServiceImpl.getTaskById(String taskId) |
WorkflowTask |
TaskComponent.getTaskById(String taskId)
Gets a Task by unique Id
|
WorkflowTask |
TaskComponent.startTask(String taskId)
Start the specified Task
Note: this is an optional task operation.
|
WorkflowTask |
TaskComponent.suspendTask(String taskId)
Suspend the specified Task
|
WorkflowTask |
TaskUpdater.transition() |
WorkflowTask |
TaskUpdater.transition(String transitionId) |
WorkflowTask |
TaskUpdater.update() |
WorkflowTask |
WorkflowServiceImpl.updateTask(String taskId,
Map<org.alfresco.service.namespace.QName,Serializable> properties,
Map<org.alfresco.service.namespace.QName,List<org.alfresco.service.cmr.repository.NodeRef>> add,
Map<org.alfresco.service.namespace.QName,List<org.alfresco.service.cmr.repository.NodeRef>> remove) |
WorkflowTask |
TaskComponent.updateTask(String taskId,
Map<org.alfresco.service.namespace.QName,Serializable> properties,
Map<org.alfresco.service.namespace.QName,List<org.alfresco.service.cmr.repository.NodeRef>> add,
Map<org.alfresco.service.namespace.QName,List<org.alfresco.service.cmr.repository.NodeRef>> remove)
Update the Properties and Associations of a Task
|
Modifier and Type | Method and Description |
---|---|
List<WorkflowTask> |
WorkflowServiceImpl.getAssignedTasks(String authority,
WorkflowTaskState state) |
List<WorkflowTask> |
WorkflowServiceImpl.getAssignedTasks(String authority,
WorkflowTaskState state,
boolean lazyInitialization) |
List<WorkflowTask> |
TaskComponent.getAssignedTasks(String authority,
WorkflowTaskState state,
boolean lazyInitialization)
Gets all tasks assigned to the specified authority
|
List<WorkflowTask> |
TaskComponent.getPooledTasks(List<String> authorities,
boolean lazyInitialization)
Gets the pooled tasks available to the specified authority
|
List<WorkflowTask> |
WorkflowServiceImpl.getPooledTasks(String authority) |
List<WorkflowTask> |
WorkflowServiceImpl.getPooledTasks(String authority,
boolean lazyinitialization) |
List<WorkflowTask> |
WorkflowServiceImpl.getStartTasks(List<String> workflowInstanceIds,
boolean sameSession) |
List<WorkflowTask> |
TaskComponent.getStartTasks(List<String> workflowInstanceIds,
boolean sameSession)
Gets all start tasks for the specified workflow
|
List<WorkflowTask> |
WorkflowComponent.getTasksForWorkflowPath(String pathId)
Gets all Tasks associated with the specified path
|
List<WorkflowTask> |
WorkflowServiceImpl.getTasksForWorkflowPath(String pathId) |
List<WorkflowTask> |
WorkflowServiceImpl.queryTasks(WorkflowTaskQuery query) |
List<WorkflowTask> |
TaskComponent.queryTasks(WorkflowTaskQuery query)
Deprecated.
Use overloaded method with the
sameSession parameter
(this method defaults the parameter to false ). |
List<WorkflowTask> |
WorkflowServiceImpl.queryTasks(WorkflowTaskQuery query,
boolean sameSession) |
List<WorkflowTask> |
TaskComponent.queryTasks(WorkflowTaskQuery query,
boolean sameSession)
Query for tasks
Hint: use
WorkflowTaskQuery setLimit() method to limit the number
of processed items if you don't really need to go through all of them |
Modifier and Type | Method and Description |
---|---|
WorkflowTimer |
WorkflowObjectFactory.createWorkflowTimer(String id,
String name,
String error,
Date dueDate,
WorkflowPath workflowPath,
WorkflowTask workflowTask) |
boolean |
WorkflowServiceImpl.isTaskClaimable(WorkflowTask task,
String username) |
boolean |
WorkflowServiceImpl.isTaskClaimable(WorkflowTask task,
String username,
boolean refreshTask) |
boolean |
WorkflowServiceImpl.isTaskEditable(WorkflowTask task,
String username) |
boolean |
WorkflowServiceImpl.isTaskEditable(WorkflowTask task,
String username,
boolean refreshTask) |
boolean |
WorkflowServiceImpl.isTaskReassignable(WorkflowTask task,
String username) |
boolean |
WorkflowServiceImpl.isTaskReassignable(WorkflowTask task,
String username,
boolean refreshTask) |
boolean |
WorkflowServiceImpl.isTaskReleasable(WorkflowTask task,
String username) |
boolean |
WorkflowServiceImpl.isTaskReleasable(WorkflowTask task,
String username,
boolean refreshTask) |
Modifier and Type | Method and Description |
---|---|
WorkflowTask |
ActivitiTypeConverter.convert(org.activiti.engine.history.HistoricTaskInstance historicTaskInstance) |
WorkflowTask |
ActivitiTypeConverter.convert(org.activiti.engine.task.Task task) |
WorkflowTask |
ActivitiTypeConverter.convert(org.activiti.engine.task.Task task,
boolean ignoreDomainMismatch)
Converts the given task into a
WorkflowTask , allows ignoring domain mismatch (ALF-12264) |
WorkflowTask |
ActivitiWorkflowEngine.endTask(String taskId,
String transition)
End the Task (i.e.
|
WorkflowTask |
ActivitiWorkflowEngine.getStartTask(String workflowInstanceId)
Gets all active timers for the specified workflow
|
WorkflowTask |
ActivitiWorkflowEngine.getTaskById(String taskId)
Gets a Task by unique Id
|
WorkflowTask |
ActivitiTypeConverter.getVirtualStartTask(String processInstanceId,
Boolean inProgress) |
WorkflowTask |
ActivitiWorkflowEngine.startTask(String taskId)
Start the specified Task
Note: this is an optional task operation.
|
WorkflowTask |
ActivitiWorkflowEngine.suspendTask(String taskId)
Suspend the specified Task
|
WorkflowTask |
ActivitiWorkflowEngine.updateTask(String taskId,
Map<org.alfresco.service.namespace.QName,Serializable> properties,
Map<org.alfresco.service.namespace.QName,List<org.alfresco.service.cmr.repository.NodeRef>> add,
Map<org.alfresco.service.namespace.QName,List<org.alfresco.service.cmr.repository.NodeRef>> remove)
Update the Properties and Associations of a Task
|
Modifier and Type | Method and Description |
---|---|
List<WorkflowTask> |
ActivitiWorkflowEngine.getAssignedTasks(String authority,
WorkflowTaskState state,
boolean lazyInitialization)
Gets all tasks assigned to the specified authority
|
List<WorkflowTask> |
ActivitiWorkflowEngine.getPooledTasks(List<String> authorities,
boolean lazyInitialization)
Gets the pooled tasks available to the specified authority
|
List<WorkflowTask> |
ActivitiWorkflowEngine.getStartTasks(List<String> workflowInstanceIds,
boolean sameSession) |
List<WorkflowTask> |
ActivitiWorkflowEngine.getTasksForWorkflowPath(String pathId)
Gets all Tasks associated with the specified path
|
List<WorkflowTask> |
ActivitiWorkflowEngine.queryTasks(WorkflowTaskQuery query) |
List<WorkflowTask> |
ActivitiWorkflowEngine.queryTasks(WorkflowTaskQuery query,
boolean sameSession) |
Constructor and Description |
---|
JscriptWorkflowTask(WorkflowTask task,
ServiceRegistry serviceRegistry,
org.mozilla.javascript.Scriptable scope)
Creates a new instance of a workflow task from a WorkflowTask from the CMR workflow object model
|
Modifier and Type | Class and Description |
---|---|
class |
LazyActivitiWorkflowTask
A
WorkflowTask instance that will only fecth the WorkflowPath if needed and will only
fetch the properties when properties are needed which cannot be returned by the wrapped Task
or HistoricTaskInstance object. |
Modifier and Type | Field and Description |
---|---|
WorkflowTask |
WorkflowTimer.task
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
WorkflowTask |
WorkflowService.endTask(String taskId,
String transitionId)
End the Task (i.e.
|
WorkflowTask |
WorkflowService.getStartTask(String workflowInstanceId)
Gets the start task instance for the given workflow instance.
|
WorkflowTask |
WorkflowTimer.getTask() |
WorkflowTask |
WorkflowService.getTaskById(String taskId)
Gets a Task by unique Id
|
WorkflowTask |
WorkflowService.updateTask(String taskId,
Map<org.alfresco.service.namespace.QName,Serializable> properties,
Map<org.alfresco.service.namespace.QName,List<org.alfresco.service.cmr.repository.NodeRef>> add,
Map<org.alfresco.service.namespace.QName,List<org.alfresco.service.cmr.repository.NodeRef>> remove)
Update the Properties and Associations of a Task
|
Modifier and Type | Method and Description |
---|---|
List<WorkflowTask> |
WorkflowService.getAssignedTasks(String authority,
WorkflowTaskState state)
Gets all tasks assigned to the specified authority
|
List<WorkflowTask> |
WorkflowService.getAssignedTasks(String authority,
WorkflowTaskState state,
boolean lazyInitialization)
Gets all tasks assigned to the specified authority
|
List<WorkflowTask> |
WorkflowService.getPooledTasks(String authority)
Gets the pooled tasks available to the specified authority
|
List<WorkflowTask> |
WorkflowService.getPooledTasks(String authority,
boolean lazyinitialization)
Gets the pooled tasks available to the specified authority
|
List<WorkflowTask> |
WorkflowService.getStartTasks(List<String> workflowInstanceIds,
boolean sameSession)
Gets the start task instances for the given workflow instances.
|
List<WorkflowTask> |
WorkflowService.getTasksForWorkflowPath(String pathId)
Gets all Tasks associated with the specified path
|
List<WorkflowTask> |
WorkflowService.queryTasks(WorkflowTaskQuery query)
Deprecated.
Use overloaded method with the
sameSession parameter
(this method defaults the parameter to false ). |
List<WorkflowTask> |
WorkflowService.queryTasks(WorkflowTaskQuery query,
boolean sameSession)
Query for tasks
|
Modifier and Type | Method and Description |
---|---|
boolean |
WorkflowService.isTaskClaimable(WorkflowTask task,
String username)
Determines if the given user can claim the given task
|
boolean |
WorkflowService.isTaskClaimable(WorkflowTask task,
String username,
boolean refreshTask)
Determines if the given user can claim the given task
|
boolean |
WorkflowService.isTaskEditable(WorkflowTask task,
String username)
Determines if the given user can edit the given task
|
boolean |
WorkflowService.isTaskEditable(WorkflowTask task,
String username,
boolean refreshTask)
Determines if the given user can edit the given task
|
boolean |
WorkflowService.isTaskReassignable(WorkflowTask task,
String username)
Determines if the given user can reassign the given task
|
boolean |
WorkflowService.isTaskReassignable(WorkflowTask task,
String username,
boolean refreshTask)
Determines if the given user can reassign the given task
|
boolean |
WorkflowService.isTaskReleasable(WorkflowTask task,
String username)
Determines if the given user can release the given task
|
boolean |
WorkflowService.isTaskReleasable(WorkflowTask task,
String username,
boolean refreshTask)
Determines if the given user can release the given task
|
Constructor and Description |
---|
WorkflowTimer(String id,
String name,
WorkflowPath path,
WorkflowTask task,
Date dueDate,
String error) |
Modifier and Type | Method and Description |
---|---|
protected WorkflowTask |
ManageTaskDialog.getWorkflowTask() |
Modifier and Type | Method and Description |
---|---|
protected TransientMapNode |
WorkflowBean.createTask(WorkflowTask task)
Creates and populates a TransientNode to represent the given
workflow task from the repository workflow engine
|
Constructor and Description |
---|
WorkflowTaskNode(WorkflowTask workflowTask) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.