public class WorkflowBean
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List |
activeTasks |
static java.lang.String |
BEAN_NAME |
protected java.util.List |
completedTasks |
protected NavigationBean |
navigationBean |
protected java.util.List |
pooledTasks |
protected java.util.List |
tasks |
| Constructor and Description |
|---|
WorkflowBean() |
| Modifier and Type | Method and Description |
|---|---|
protected TransientMapNode |
createTask(org.alfresco.service.cmr.workflow.WorkflowTask task)
Creates and populates a TransientNode to represent the given
workflow task from the repository workflow engine
|
java.util.List |
getAllActiveTasks()
Returns a list of nodes representing the "all" active tasks.
|
protected org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
java.util.List |
getPooledTasks()
Returns a list of nodes representing the "pooled" to do tasks the
current user has.
|
java.util.List |
getTasksCompleted()
Returns a list of nodes representing the completed tasks the
current user has.
|
java.util.List |
getTasksToDo()
Returns a list of nodes representing the to do tasks the
current user has.
|
protected org.alfresco.service.cmr.workflow.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(javax.faces.event.ActionEvent event) |
void |
setupTaskDialog(java.lang.String id,
java.lang.String type) |
void |
setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
Sets the workflow service to use
|
protected NavigationBean navigationBean
protected java.util.List tasks
protected java.util.List activeTasks
protected java.util.List pooledTasks
protected java.util.List completedTasks
public static final java.lang.String BEAN_NAME
public java.util.List getAllActiveTasks()
public java.util.List getPooledTasks()
public java.util.List getTasksToDo()
public java.util.List getTasksCompleted()
public void setNavigationBean(NavigationBean navigationBean)
navigationBean - The NavigationBean to set.public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
workflowService - WorkflowService instanceprotected org.alfresco.service.cmr.workflow.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(javax.faces.event.ActionEvent event)
public void setupTaskDialog(java.lang.String id,
java.lang.String type)
protected TransientMapNode createTask(org.alfresco.service.cmr.workflow.WorkflowTask task)
task - The task to create a representation ofCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.