|
||||||||||
| 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 name| Method Detail |
|---|
public ContextualDesignation createDesignation()
Action
createDesignation in interface Actionpublic ContextualDesignations getLabels()
Action
getLabels in interface Action
public String getLabel(String role,
String language)
Action
getLabel in interface Actionrole - role for which the label is
public void addLabel(ContextualDesignation label)
Action
addLabel in interface Actionpublic Iterator<ContextualDesignation> iterateLabel()
Action
iterateLabel in interface Actionpublic QualifiedUsers getAllowedUsers()
getAllowedUsers in interface Actionpublic Consequences getConsequences()
getConsequences in interface Actionpublic Form getForm()
getForm in interface Actionpublic String getName()
getName in interface Actionpublic String getKind()
getKind in interface Actionpublic ContextualDesignations getDescriptions()
Action
getDescriptions in interface Action
public String getDescription(String role,
String language)
Action
getDescription in interface Actionrole - role for which the description is
public void addDescription(ContextualDesignation description)
Action
addDescription in interface Actionpublic Iterator<ContextualDesignation> iterateDescription()
Action
iterateDescription in interface Actionpublic QualifiedUsers createQualifiedUsers()
createQualifiedUsers in interface Actionpublic void setAllowedUsers(QualifiedUsers allowedUsers)
setAllowedUsers in interface ActionallowedUsers - allowed userspublic Consequences createConsequences()
createConsequences in interface Actionpublic void setConsequences(Consequences consequences)
setConsequences in interface Actionconsequences - public void setForm(Form form)
setForm in interface Actionform - associated formpublic void setName(String name)
setName in interface Actionname - action's namepublic void setKind(String kind)
setKind in interface Actionkind - action's kindpublic String getKey()
getKey in interface ReferrableObjectIntfgetKey in class AbstractReferrableObjectequals,
hashCodepublic void setId(int id)
setId in interface AbstractDescriptorpublic int getId()
getId in interface AbstractDescriptorpublic void setParent(AbstractDescriptor parent)
setParent in interface AbstractDescriptorpublic AbstractDescriptor getParent()
getParent in interface AbstractDescriptorpublic boolean hasId()
hasId in interface AbstractDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||