@Scope(value=CONVERSATION) @Name(value="routingTaskActions") public class RoutingTaskActionsBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
SUBJECT_PATTERN |
Constructor and Description |
---|
RoutingTaskActionsBean() |
Modifier and Type | Method and Description |
---|---|
String |
endTask(Task task) |
String |
endTasks(String selectionListName,
Action taskAction)
Ends a task given a selection list name and an action
|
Map<String,Serializable> |
getFormVariables() |
Map<String,Serializable> |
getFormVariables(Task task) |
List<Action> |
getTaskActions(String selectionListName)
Returns actions for task document buttons defined in the workflow graph
|
List<Action> |
getTaskActions(Task task) |
Map<String,Action> |
getTaskActionsMap(Task task) |
List<GraphNode.Button> |
getTaskButtons(Task task) |
String |
getTaskLayout(Task task) |
boolean |
isRoutingTask(Task task) |
Task |
setCurrentTask(String taskDocId) |
Task |
setCurrentTask(Task task) |
void |
setFormVariables(Map<String,Serializable> formVariables) |
void |
validateSubject(FacesContext context,
UIComponent component,
Object value) |
void |
validateTaskDueDate(FacesContext context,
UIComponent component,
Object value) |
public static final String SUBJECT_PATTERN
public void validateTaskDueDate(FacesContext context, UIComponent component, Object value)
public void validateSubject(FacesContext context, UIComponent component, Object value)
public String getTaskLayout(Task task) throws ClientException
ClientException
public List<GraphNode.Button> getTaskButtons(Task task) throws ClientException
ClientException
public String endTask(Task task) throws ClientException
ClientException
public Task setCurrentTask(String taskDocId) throws ClientException
ClientException
public Task setCurrentTask(Task task) throws ClientException
ClientException
public Map<String,Serializable> getFormVariables(Task task) throws ClientException
ClientException
public Map<String,Serializable> getFormVariables() throws ClientException
ClientException
public void setFormVariables(Map<String,Serializable> formVariables)
public boolean isRoutingTask(Task task)
public List<Action> getTaskActions(Task task) throws ClientException
ClientException
public Map<String,Action> getTaskActionsMap(Task task) throws ClientException
ClientException
public List<Action> getTaskActions(String selectionListName) throws ClientException
ClientException
public String endTasks(String selectionListName, Action taskAction) throws ClientException
ClientException
Copyright © 2012 Nuxeo SA. All Rights Reserved.