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:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a new element, substituting a previous one with the same groupId.getColor()
getDate()
int
getLabel()
getName()
int
getWorkflowGroup
(long groupId) long[]
void
void
void
setDeployed
(int deployed) void
setDescription
(String description) void
void
void
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) toString()
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
Constructor Details
-
WorkflowTemplate
public WorkflowTemplate() -
WorkflowTemplate
-
-
Method Details
-
setName
-
getName
-
setDeployed
public void setDeployed(int deployed) -
getDeployed
public int getDeployed() -
getDescription
-
setDescription
-
getStartState
-
setStartState
-
getScheme
-
setScheme
-
getSchemeDraft
-
setSchemeDraft
-
getVersion
public int getVersion() -
setVersion
public void setVersion(int version) -
getDate
-
setDate
-
getLabel
-
setLabel
-
getWorkflowGroups
-
setWorkflowGroups
-
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
Adds a new element, substituting a previous one with the same groupId.- Parameters:
mg
- the workflow group
-
getWorkflowGroup
-
toString
- Overrides:
toString
in classcom.logicaldoc.core.PersistentObject
-
getColor
-
setColor
-