|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.workflow.Action
public class Action
Action Object
Field Summary | |
---|---|
static java.lang.String |
RESOURCE_TYPE
|
Constructor Summary | |
---|---|
Action()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the action description |
Icon |
getIcon()
Returns the action icon |
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 |
State |
getStateAfter()
Returns the State of the document after processing the action |
State |
getStateBefore()
Return the State of the document before processing the action |
Workflow |
getWorkflow()
|
boolean |
isAutomaticState()
|
boolean |
isMassAction()
Check if the action is a mass action |
void |
setAutomaticState(java.lang.Boolean automaticState)
set true return true if the resources of this state is automatic |
void |
setDescription(java.lang.String strDescription)
Set the action description |
void |
setIcon(Icon icon)
Set the action icon |
void |
setId(int idAction)
set the id of the workflow action |
void |
setMassAction(boolean bIsMassAction)
Set the attribute mass action |
void |
setName(java.lang.String strName)
Set the action name |
void |
setStateAfter(State stateAfter)
Set the State of the document after processing the action |
void |
setStateBefore(State stateBefore)
Set the State of the document before processing the action |
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 Action()
Method Detail |
---|
public int getId()
IReferenceItem
getId
in interface IReferenceItem
public void setId(int idAction)
idAction
- the id of the workflow actionpublic 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 Icon getIcon()
public void setIcon(Icon icon)
icon
- the iconpublic State getStateBefore()
public void setStateBefore(State stateBefore)
stateBefore
- The StateBeforepublic State getStateAfter()
public void setStateAfter(State stateAfter)
stateAfter
- The StateAfterpublic java.lang.String getResourceTypeCode()
getResourceTypeCode
in interface RBACResource
public java.lang.String getResourceId()
getResourceId
in interface RBACResource
public Workflow getWorkflow()
public void setWorkflow(Workflow workflow)
workflow
- the workflow associatedpublic boolean isAutomaticState()
public void setAutomaticState(java.lang.Boolean automaticState)
automaticState
- true return true if the state is automaticpublic void setMassAction(boolean bIsMassAction)
bIsMassAction
- true if the action is a mass action, false otherwisepublic boolean isMassAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |