|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.workflow.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()
|
java.lang.Boolean |
isRequiredWorkgroupAssigned()
|
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 |
setRequiredWorkgroupAssigned(java.lang.Boolean requireUserAssociated)
set true return true if the resources of this state shall be assigned to a workgroup |
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 IReferenceItem
public 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 IReferenceItem
public 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 RBACResource
public java.lang.String getResourceId()
getResourceId
in interface RBACResource
public java.lang.Boolean isRequiredWorkgroupAssigned()
public void setRequiredWorkgroupAssigned(java.lang.Boolean requireUserAssociated)
requireUserAssociated
- true return true if the resources of this state shall be assigned to to a workgroup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |