Package org.alfresco.repo.template
Class Workflow
java.lang.Object
org.alfresco.repo.processor.BaseProcessorExtension
org.alfresco.repo.template.BaseTemplateProcessorExtension
org.alfresco.repo.template.Workflow
- All Implemented Interfaces:
org.alfresco.processor.ProcessorExtension,TemplateProcessorExtension
Workflow and task support in FreeMarker templates.
- Author:
- Kevin Roast
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSimple bean wrapper around a WorkflowTask item -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a list of objects representing the assigned tasks for the current userReturn a list of objects representing the completed tasks for the current userReturn a list of objects representing the pooled tasks for the current usergetTaskById(String taskId) Return a single object representing a task of the given taskId for the current uservoidsetServiceRegistry(ServiceRegistry services) Sets the service registryMethods inherited from class org.alfresco.repo.template.BaseTemplateProcessorExtension
getTemplateImageResolver, setTemplateImageResolverMethods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.processor.ProcessorExtension
getExtensionName
-
Constructor Details
-
Workflow
public Workflow()
-
-
Method Details
-
setServiceRegistry
Sets the service registry- Parameters:
services- the service registry
-
getAssignedTasks
Return a list of objects representing the assigned tasks for the current user- Returns:
- list of WorkflowTaskItem bean objects
Workflow.WorkflowTaskItem
-
getPooledTasks
Return a list of objects representing the pooled tasks for the current user- Returns:
- list of WorkflowTaskItem bean objects
Workflow.WorkflowTaskItem
-
getCompletedTasks
Return a list of objects representing the completed tasks for the current user- Returns:
- list of WorkflowTaskItem bean objects
Workflow.WorkflowTaskItem
-
getTaskById
Return a single object representing a task of the given taskId for the current user- Returns:
- WorkflowTaskItem bean object
Workflow.WorkflowTaskItem
-