|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.workflow.WorkflowBean
public class WorkflowBean
Managed bean used for providing support for the workflow task dashlets
Field Summary | |
---|---|
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 Summary | |
---|---|
WorkflowBean()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public WorkflowBean()
Method Detail |
---|
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 of
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |