Package com.logicaldoc.workflow.template
Class WorkflowTemplate
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.workflow.template.WorkflowTemplate
-
-
Constructor Summary
Constructors Constructor Description WorkflowTemplate()
-
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
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
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)
-
-
-
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)
-
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)
-
-