com.silverpeas.workflow.engine.model
Class RelatedGroupImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.AbstractReferrableObject
      extended by com.silverpeas.workflow.engine.model.RelatedGroupImpl
All Implemented Interfaces:
RelatedGroup, ReferrableObjectIntf, Serializable

public class RelatedGroupImpl
extends AbstractReferrableObject
implements RelatedGroup, Serializable

Class implementing the representation of the <relatedUser> element of a Process Model.

See Also:
Serialized Form

Constructor Summary
RelatedGroupImpl()
          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
 String getRole()
          Get the role to which the related user will be affected
 void setFolderItem(Item folderItem)
          Set the referred item
 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

RelatedGroupImpl

public RelatedGroupImpl()
Constructor

Method Detail

getFolderItem

public Item getFolderItem()
Get the referred item

Specified by:
getFolderItem in interface RelatedGroup

setFolderItem

public void setFolderItem(Item folderItem)
Set the referred item

Specified by:
setFolderItem in interface RelatedGroup
Parameters:
folderItem - item to refer

getRole

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

Specified by:
getRole in interface RelatedGroup
Returns:
the role name

setRole

public void setRole(String role)
Set the role to which the related user will be affected

Specified by:
setRole in interface RelatedGroup
Parameters:
role - role as a String

getKey

public String getKey()
Description copied from class: AbstractReferrableObject
This method has to be implemented by the referrable object it has to compute the unique key

Specified by:
getKey in interface ReferrableObjectIntf
Specified by:
getKey in class AbstractReferrableObject
Returns:
The unique key.
See Also:
equals, hashCode


Copyright © 2016 Silverpeas. All Rights Reserved.