|
||||||||||
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.RelatedUserImpl
public class RelatedUserImpl
Class implementing the representation of the <relatedUser> element of a Process Model.
Constructor Summary | |
---|---|
RelatedUserImpl()
Constructor |
Method Summary | |
---|---|
Item |
getFolderItem()
Get the referred item |
String |
getKey()
This method has to be implemented by the referrable object it has to compute the unique key |
Participant |
getParticipant()
Get the referred participant |
String |
getRelation()
Get the relation between user and participant |
String |
getRole()
Get the role to which the related user will be affected |
void |
setFolderItem(Item folderItem)
Set the referred item |
void |
setParticipant(Participant participant)
Set the referred participant |
void |
setRelation(String relation)
Set the relation between user and participant |
void |
setRole(String role)
Set the role to which the related user will be affected |
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 RelatedUserImpl()
Method Detail |
---|
public Participant getParticipant()
getParticipant
in interface RelatedUser
public void setParticipant(Participant participant)
RelatedUser
setParticipant
in interface RelatedUser
public Item getFolderItem()
getFolderItem
in interface RelatedUser
public void setFolderItem(Item folderItem)
setFolderItem
in interface RelatedUser
folderItem
- item to referpublic String getRelation()
getRelation
in interface RelatedUser
public void setRelation(String relation)
setRelation
in interface RelatedUser
relation
- relation as a Stringpublic String getRole()
getRole
in interface RelatedUser
public void setRole(String role)
setRole
in interface RelatedUser
role
- role as a Stringpublic String getKey()
AbstractReferrableObject
getKey
in interface ReferrableObjectIntf
getKey
in class AbstractReferrableObject
equals
,
hashCode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |