Package com.logicaldoc.workflow.template
Class WorkflowTemplate
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.workflow.template.WorkflowTemplate
-
- All Implemented Interfaces:
Serializable
public class WorkflowTemplate extends com.logicaldoc.core.PersistentObject
Model of a workflow template- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowTemplate()
WorkflowTemplate(WorkflowTemplate source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWorkflowGroup(WorkflowGroup mg)
Adds a new element, substituting a previous one with the same groupId.Date
getDate()
int
getDeployed()
String
getDescription()
String
getLabel()
String
getName()
String
getScheme()
String
getSchemeDraft()
String
getStartState()
int
getVersion()
WorkflowGroup
getWorkflowGroup(long groupId)
long[]
getWorkflowGroupIds()
Set<WorkflowGroup>
getWorkflowGroups()
void
setDate(Date date)
void
setDeployed(int deployed)
void
setDescription(String description)
void
setLabel(String label)
void
setName(String name)
void
setScheme(String scheme)
void
setSchemeDraft(String schemeDraft)
void
setStartState(String startState)
void
setVersion(int version)
void
setWorkflowGroup(long[] groups)
Adds WorkflowGroup object given in a String array to the ArrayList of WorkflowGroups.void
setWorkflowGroups(Set<WorkflowGroup> workflowGroups)
String
toString()
-
-
-
Constructor Detail
-
WorkflowTemplate
public WorkflowTemplate()
-
WorkflowTemplate
public WorkflowTemplate(WorkflowTemplate source)
-
-
Method Detail
-
setName
public void setName(String name)
-
getName
public String getName()
-
setDeployed
public void setDeployed(int deployed)
-
getDeployed
public int getDeployed()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getStartState
public String getStartState()
-
setStartState
public void setStartState(String startState)
-
getScheme
public String getScheme()
-
setScheme
public void setScheme(String scheme)
-
getSchemeDraft
public String getSchemeDraft()
-
setSchemeDraft
public void setSchemeDraft(String schemeDraft)
-
getVersion
public int getVersion()
-
setVersion
public void setVersion(int version)
-
getDate
public Date getDate()
-
setDate
public void setDate(Date date)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getWorkflowGroups
public Set<WorkflowGroup> getWorkflowGroups()
-
setWorkflowGroups
public void setWorkflowGroups(Set<WorkflowGroup> workflowGroups)
-
getWorkflowGroupIds
public long[] getWorkflowGroupIds()
-
setWorkflowGroup
public void setWorkflowGroup(long[] groups)
Adds WorkflowGroup object given in a String array to the ArrayList of WorkflowGroups.- Parameters:
groups
- array of group ids
-
addWorkflowGroup
public void addWorkflowGroup(WorkflowGroup mg)
Adds a new element, substituting a previous one with the same groupId.- Parameters:
mg
- the workflow group
-
getWorkflowGroup
public WorkflowGroup getWorkflowGroup(long groupId)
-
toString
public String toString()
- Overrides:
toString
in classcom.logicaldoc.core.PersistentObject
-
-