com.silverpeas.workflow.api.model
Interface RelatedUser

All Known Implementing Classes:
RelatedUserImpl

public interface RelatedUser

Interface describing a representation of the <relatedUser> element of a Process Model.


Method Summary
 Item getFolderItem()
          Get the referred item
 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 item)
          Set the referred item
 void setParticipant(Participant participant)
          Set the referred participant
 void setRelation(String strRelation)
          set the relation between user and participant
 void setRole(String strRole)
          New method: Set the role the related user will be affected to
 

Method Detail

getParticipant

Participant getParticipant()
Get the referred participant

Returns:
Participant object

setParticipant

void setParticipant(Participant participant)
Set the referred participant

Parameters:
Participant - object

getFolderItem

Item getFolderItem()
Get the referred item


setFolderItem

void setFolderItem(Item item)
Set the referred item


getRelation

String getRelation()
Get the relation between user and participant

Returns:
relation, if null get the participant himself instead of searching related user

setRelation

void setRelation(String strRelation)
set the relation between user and participant


getRole

String getRole()
Get the role to which the related user will be affected

Returns:
the role name

setRole

void setRole(String strRole)
New method: Set the role the related user will be affected to



Copyright © 2016 Silverpeas. All Rights Reserved.