|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.workflow.business.State
public class State
| Field Summary | |
|---|---|
static java.lang.String |
RESOURCE_TYPE
|
| Constructor Summary | |
|---|---|
State()
|
|
| Method Summary | |
|---|---|
java.util.List<Action> |
getAllActions()
return the list of all actions associated to the state |
java.lang.String |
getDescription()
Returns the action description |
int |
getId()
return the item id |
java.lang.String |
getName()
Returns the action name |
java.lang.String |
getResourceId()
RBAC resource implmentation |
java.lang.String |
getResourceTypeCode()
RBAC resource implementation |
Workflow |
getWorkflow()
|
java.lang.Boolean |
isInitialState()
|
void |
setAllActions(java.util.List<Action> listActions)
set the list of all actions associated to the state |
void |
setDescription(java.lang.String strDescription)
Set the action description |
void |
setId(int idState)
set the id of the workflow state |
void |
setInitialState(java.lang.Boolean isInitialState)
set true if the state is the initial state of the workflow |
void |
setName(java.lang.String strName)
Set the action name |
void |
setWorkflow(Workflow workflow)
set the the workflow associated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RESOURCE_TYPE
| Constructor Detail |
|---|
public State()
| Method Detail |
|---|
public int getId()
IReferenceItem
getId in interface IReferenceItempublic void setId(int idState)
idState - the id of the workflow statepublic Workflow getWorkflow()
public void setWorkflow(Workflow workflow)
workflow - the workflow associatedpublic java.lang.String getName()
getName in interface IReferenceItempublic void setName(java.lang.String strName)
strName - the action namepublic java.lang.String getDescription()
public void setDescription(java.lang.String strDescription)
strDescription - The Descriptionpublic java.util.List<Action> getAllActions()
public void setAllActions(java.util.List<Action> listActions)
listActions - the list of all actions associated to the statepublic java.lang.Boolean isInitialState()
public void setInitialState(java.lang.Boolean isInitialState)
isInitialState - true if the state is the initial state of the workflowpublic java.lang.String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic java.lang.String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||