public class WorkflowBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected List<Node> |
activeTasks |
static String |
BEAN_NAME |
protected List<Node> |
completedTasks |
protected NavigationBean |
navigationBean |
protected List<Node> |
pooledTasks |
protected List<Node> |
tasks |
Constructor and Description |
---|
WorkflowBean() |
Modifier and Type | Method and Description |
---|---|
protected TransientMapNode |
createTask(WorkflowTask task)
Creates and populates a TransientNode to represent the given
workflow task from the repository workflow engine
|
List<Node> |
getAllActiveTasks()
Returns a list of nodes representing the "all" active tasks.
|
protected org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
List<Node> |
getPooledTasks()
Returns a list of nodes representing the "pooled" to do tasks the
current user has.
|
List<Node> |
getTasksCompleted()
Returns a list of nodes representing the completed tasks the
current user has.
|
List<Node> |
getTasksToDo()
Returns a list of nodes representing the to do tasks the
current user has.
|
protected WorkflowService |
getWorkflowService() |
void |
setNavigationBean(NavigationBean navigationBean)
Sets the navigation bean to use
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service to use
|
void |
setupTaskDialog(ActionEvent event) |
void |
setupTaskDialog(String id,
String type) |
void |
setWorkflowService(WorkflowService workflowService)
Sets the workflow service to use
|
protected NavigationBean navigationBean
public static final String BEAN_NAME
public List<Node> getAllActiveTasks()
public List<Node> getPooledTasks()
public List<Node> getTasksToDo()
public List<Node> getTasksCompleted()
public void setNavigationBean(NavigationBean navigationBean)
navigationBean
- The NavigationBean to set.public void setWorkflowService(WorkflowService workflowService)
workflowService
- WorkflowService instanceprotected WorkflowService getWorkflowService()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- NodeService instanceprotected org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setupTaskDialog(ActionEvent event)
protected TransientMapNode createTask(WorkflowTask task)
task
- The task to create a representation ofCopyright © 2005–2017 Alfresco Software. All rights reserved.