|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.thortech.xl.vo.workflow.WorkflowDefinition
public class WorkflowDefinition
Constructor Summary | |
---|---|
WorkflowDefinition() |
Method Summary | |
---|---|
java.util.HashMap |
getDeletedTasks() |
java.lang.String |
getDescription() Returns the Workflow Description |
java.lang.String |
getKey() Returns the Workflow Definition Key. |
java.lang.String |
getModifiedName() |
java.lang.String |
getName() Returns the workflow name. |
java.lang.String |
getResource() Returns the name of the resource this workflow is defined for. |
java.lang.String |
getResourceFormKey() |
java.lang.String |
getResourceKey() Returns the Definition Key of the Resource this workflow is defined for |
java.lang.String |
getTable() Returns the name of the Process Form (table) attached to this workflow (if any). |
java.lang.String |
getTableKey() Returns the Definition Key of the Process Form (Table) attached to this workflow |
TaskDefinition |
getTask(java.lang.String taskName) Returns the definition of a particular task. |
java.util.ArrayList |
getTaskList() |
java.util.List |
getTaskNames() |
java.util.HashMap |
getTasks() Returns the set of Tasks defined in this workflow in the form of a HashMap. |
java.lang.String |
getTosKey() |
java.lang.String |
getType() Returns the Workflow Type |
boolean |
isAutoPrePopulate() Returns whether the Auto Pre-populate attribute is enabled or not |
boolean |
isAutoSave() Returns whether the Auto-Save attribute is enabled or not |
boolean |
isDefaultWorkflow() Returns whether the workflow is the default workflow of its type for the resource it is defined for or not |
void |
setAutoPrePopulate(boolean autoPrePopulate) Sets whether the Auto Pre-populate attribute is enabled or not |
void |
setAutoSave(boolean autoSave) Sets whether the Auto-Save attribute is enabled or not |
void |
setDefaultWorkflow(boolean defaultWorkflow) Sets whether the workflow is the default workflow of its type for the resource it is defined for or not |
void |
setDeletedTasks(java.util.HashMap deletedTasks) |
void |
setDescription(java.lang.String description) Sets the Workflow Description |
void |
setKey(java.lang.String key) Sets the Workflow Definition Key. |
void |
setModifiedName(java.lang.String modifiedName) |
void |
setName(java.lang.String name) Sets the workflow name. |
void |
setResource(java.lang.String resource) Sets the name of the resource this workflow is defined for. |
void |
setResourceFormKey(java.lang.String resourceFormKey) |
void |
setResourceKey(java.lang.String resourceKey) Sets the Definition Key of the Resource this workflow is defined for |
void |
setTable(java.lang.String table) Sets the name of the Process Form (table) attached to this workflow (if any). |
void |
setTableKey(java.lang.String tableKey) Sets the Definition Key of the Process Form (Table) attached to this workflow |
void |
setTask(TaskDefinition task) Add the definition of a task in the process to this workflow definition |
void |
setTaskList(java.util.ArrayList taskList) |
void |
setTaskNames(java.util.List taskNames) |
void |
setTasks(java.util.HashMap tasks) Sets the list of tasks defined in this workflow in the form of a HashMap. |
void |
setTosKey(java.lang.String tosKey) |
void |
setType(java.lang.String type) Sets the Workflow Type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowDefinition()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The workflow name.public java.lang.String getResource()
public void setResource(java.lang.String resource)
resource
- The name of the resource this workflow is defined for.public java.lang.String getTable()
public void setTable(java.lang.String table)
table
- The name of the Process Form (table) attached to this workflow (if any).public java.util.HashMap getTasks()
public TaskDefinition getTask(java.lang.String taskName)
The
- name of the task to retrievepublic void setTasks(java.util.HashMap tasks)
tasks
- The tasks to set.public void setTask(TaskDefinition task)
task
- The task to add/update in the Workflow definition.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The key to set.public java.lang.String getResourceKey()
public void setResourceKey(java.lang.String resourceKey)
resourceKey
- The Resource Definition Key to set.public java.lang.String getTableKey()
public void setTableKey(java.lang.String tableKey)
tableKey
- The Table Definition Key to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to set.public boolean isAutoPrePopulate()
public void setAutoPrePopulate(boolean autoPrePopulate)
autoPrePopulate
- True if Auto Pre-populate is enabled, False if not.public boolean isAutoSave()
public void setAutoSave(boolean autoSave)
autoSave
- True if Auto-Save is enabled, False if not.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type.public boolean isDefaultWorkflow()
public void setDefaultWorkflow(boolean defaultWorkflow)
defaultWorkflow
- True if it is the default workflow, False if not.public java.lang.String getTosKey()
public void setTosKey(java.lang.String tosKey)
tosKey
- The tosKey to set.public java.util.List getTaskNames()
public void setTaskNames(java.util.List taskNames)
taskNames
- The taskNames to set.public java.lang.String getModifiedName()
public void setModifiedName(java.lang.String modifiedName)
public java.util.ArrayList getTaskList()
public void setTaskList(java.util.ArrayList taskList)
public java.lang.String getResourceFormKey()
public void setResourceFormKey(java.lang.String resourceFormKey)
public java.util.HashMap getDeletedTasks()
public void setDeletedTasks(java.util.HashMap deletedTasks)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |