|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.AbstractReferrableObject
com.silverpeas.workflow.engine.model.ActionImpl
public class ActionImpl
Class implementing the representation of the <action> element of a Process Model.
Constructor Summary | |
---|---|
ActionImpl()
Constructor |
|
ActionImpl(String name)
Constructor |
Method Summary | |
---|---|
void |
addDescription(ContextualDesignation description)
Add a description Method needed primarily by Castor |
void |
addLabel(ContextualDesignation label)
Add a label Method needed primarily by Castor |
Consequences |
createConsequences()
Create and return and object implementing Consequences |
ContextualDesignation |
createDesignation()
Create an object implementing ContextualDesignation Method needed primarily by Castor |
QualifiedUsers |
createQualifiedUsers()
Create and return an object implementing QalifiedUsers |
QualifiedUsers |
getAllowedUsers()
Get all the users allowed to execute this action |
Consequences |
getConsequences()
Get all the consequences of this action |
String |
getDescription(String role,
String language)
Get description in specific language for the given role |
ContextualDesignations |
getDescriptions()
Get all the descriptions |
Form |
getForm()
Get the form associated with this action |
int |
getId()
|
String |
getKey()
Get the unique key, used by equals method |
String |
getKind()
Get the kind of this action (update, create or delete) |
String |
getLabel(String role,
String language)
Get label in specific language for the given role |
ContextualDesignations |
getLabels()
Get all the labels |
String |
getName()
Get the name of this action |
AbstractDescriptor |
getParent()
|
boolean |
hasId()
|
Iterator<ContextualDesignation> |
iterateDescription()
Iterate through the descriptions |
Iterator<ContextualDesignation> |
iterateLabel()
Iterate through the Labels |
void |
setAllowedUsers(QualifiedUsers allowedUsers)
Set the list of users allowed to execute this action |
void |
setConsequences(Consequences consequences)
Set the consequences of this action |
void |
setForm(Form form)
Set the form associated to this action |
void |
setId(int id)
Implemented methods |
void |
setKind(String kind)
Set the kind of this action |
void |
setName(String name)
Set the name of this action |
void |
setParent(AbstractDescriptor parent)
|
Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionImpl()
public ActionImpl(String name)
name
- action nameMethod Detail |
---|
public ContextualDesignation createDesignation()
Action
createDesignation
in interface Action
public ContextualDesignations getLabels()
Action
getLabels
in interface Action
public String getLabel(String role, String language)
Action
getLabel
in interface Action
role
- role for which the label is
public void addLabel(ContextualDesignation label)
Action
addLabel
in interface Action
public Iterator<ContextualDesignation> iterateLabel()
Action
iterateLabel
in interface Action
public QualifiedUsers getAllowedUsers()
getAllowedUsers
in interface Action
public Consequences getConsequences()
getConsequences
in interface Action
public Form getForm()
getForm
in interface Action
public String getName()
getName
in interface Action
public String getKind()
getKind
in interface Action
public ContextualDesignations getDescriptions()
Action
getDescriptions
in interface Action
public String getDescription(String role, String language)
Action
getDescription
in interface Action
role
- role for which the description is
public void addDescription(ContextualDesignation description)
Action
addDescription
in interface Action
public Iterator<ContextualDesignation> iterateDescription()
Action
iterateDescription
in interface Action
public QualifiedUsers createQualifiedUsers()
createQualifiedUsers
in interface Action
public void setAllowedUsers(QualifiedUsers allowedUsers)
setAllowedUsers
in interface Action
allowedUsers
- allowed userspublic Consequences createConsequences()
createConsequences
in interface Action
public void setConsequences(Consequences consequences)
setConsequences
in interface Action
consequences
- public void setForm(Form form)
setForm
in interface Action
form
- associated formpublic void setName(String name)
setName
in interface Action
name
- action's namepublic void setKind(String kind)
setKind
in interface Action
kind
- action's kindpublic String getKey()
getKey
in interface ReferrableObjectIntf
getKey
in class AbstractReferrableObject
equals
,
hashCode
public void setId(int id)
setId
in interface AbstractDescriptor
public int getId()
getId
in interface AbstractDescriptor
public void setParent(AbstractDescriptor parent)
setParent
in interface AbstractDescriptor
public AbstractDescriptor getParent()
getParent
in interface AbstractDescriptor
public boolean hasId()
hasId
in interface AbstractDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |