Package com.logicaldoc.workflow.model
Class WorkflowDefinition
- java.lang.Object
-
- com.logicaldoc.workflow.model.BaseWorkflowModel
-
- com.logicaldoc.workflow.model.WorkflowDefinition
-
- All Implemented Interfaces:
Serializable
public class WorkflowDefinition extends BaseWorkflowModel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
String
getImage()
String
getName()
String
getStartState()
String
getSupervisor()
String
getTemplate()
List<Transition>
getTransitions()
String
getType()
BaseWorkflowModel
getWorkflowComponentById(String id)
List<BaseWorkflowModel>
getWorkflowComponents()
boolean
isPossibleStartState()
boolean
isSupervisor(String username)
void
setDescription(String description)
void
setName(String name)
void
setStartState(String startState)
void
setSupervisor(String supervisor)
void
setWorkflowComponents(List<BaseWorkflowModel> workflowComponents)
-
Methods inherited from class com.logicaldoc.workflow.model.BaseWorkflowModel
copy, getDisplay, getId, getLeft, getTop, isSelected, setDisplay, setId, setLeft, setSelected, setTop, setTransitions
-
-
-
-
Method Detail
-
getTransitions
public List<Transition> getTransitions()
- Overrides:
getTransitions
in classBaseWorkflowModel
-
setWorkflowComponents
public void setWorkflowComponents(List<BaseWorkflowModel> workflowComponents)
-
getWorkflowComponents
public List<BaseWorkflowModel> getWorkflowComponents()
-
setDescription
public void setDescription(String description)
- Overrides:
setDescription
in classBaseWorkflowModel
-
getDescription
public String getDescription()
- Overrides:
getDescription
in classBaseWorkflowModel
-
getName
public String getName()
- Overrides:
getName
in classBaseWorkflowModel
-
setName
public void setName(String name)
- Overrides:
setName
in classBaseWorkflowModel
-
getStartState
public String getStartState()
-
setStartState
public void setStartState(String startState)
-
getWorkflowComponentById
public BaseWorkflowModel getWorkflowComponentById(String id)
-
getImage
public String getImage()
- Specified by:
getImage
in classBaseWorkflowModel
-
getTemplate
public String getTemplate()
- Specified by:
getTemplate
in classBaseWorkflowModel
-
getType
public String getType()
- Specified by:
getType
in classBaseWorkflowModel
-
isPossibleStartState
public boolean isPossibleStartState()
- Specified by:
isPossibleStartState
in classBaseWorkflowModel
-
getSupervisor
public String getSupervisor()
-
setSupervisor
public void setSupervisor(String supervisor)
-
isSupervisor
public boolean isSupervisor(String username)
-
-