public class LazyActivitiWorkflowTask extends WorkflowTask
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.
The instance can only be used inside of the alfresco-context/transaction where the list of instances
is returned.definition, description, id, name, path, properties, state, title| Constructor and Description |
|---|
LazyActivitiWorkflowTask(org.activiti.engine.history.HistoricTaskInstance historicTask,
ActivitiTypeConverter typeConverter,
org.alfresco.repo.tenant.TenantService tenantService) |
LazyActivitiWorkflowTask(org.activiti.engine.task.Task task,
ActivitiTypeConverter typeConverter,
org.alfresco.repo.tenant.TenantService tenantService,
String workflowDefinitionName) |
| Modifier and Type | Method and Description |
|---|---|
Map<org.alfresco.service.namespace.QName,Serializable> |
ensureProperties() |
WorkflowPath |
getPath() |
Map<org.alfresco.service.namespace.QName,Serializable> |
getProperties() |
getDefinition, getDescription, getId, getName, getState, getTitle, toStringpublic LazyActivitiWorkflowTask(org.activiti.engine.task.Task task,
ActivitiTypeConverter typeConverter,
org.alfresco.repo.tenant.TenantService tenantService,
String workflowDefinitionName)
public LazyActivitiWorkflowTask(org.activiti.engine.history.HistoricTaskInstance historicTask,
ActivitiTypeConverter typeConverter,
org.alfresco.repo.tenant.TenantService tenantService)
public WorkflowPath getPath()
getPath in class WorkflowTaskpublic Map<org.alfresco.service.namespace.QName,Serializable> getProperties()
getProperties in class WorkflowTaskpublic Map<org.alfresco.service.namespace.QName,Serializable> ensureProperties()
Copyright © 2005–2018 Alfresco Software. All rights reserved.