org.apache.jetspeed.om.impl
Class SecurityRoleRefImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.SecurityRoleRefImpl
All Implemented Interfaces:
Serializable, org.apache.jetspeed.om.common.SecurityRoleRefComposite, org.apache.pluto.om.common.SecurityRoleRef, org.apache.pluto.om.common.SecurityRoleRefCtrl, org.apache.pluto.om.Controller, org.apache.pluto.om.Model

public class SecurityRoleRefImpl
extends Object
implements org.apache.jetspeed.om.common.SecurityRoleRefComposite, Serializable

SecurityRoleRefImpl

Version:
$Id: SecurityRoleRefImpl.java 517124 2007-03-12 08:10:25Z ate $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
private  DescriptionSetImpl descCollWrapper
           
private  Collection descriptions
           
protected  long id
           
private  String link
           
private  String name
           
protected  long portletId
           
 
Constructor Summary
SecurityRoleRefImpl()
           
 
Method Summary
 void addDescription(org.apache.pluto.om.common.Description description)
           
 void addDescription(Locale locale, String description)
           
 boolean equals(Object obj)
           
 org.apache.pluto.om.common.Description getDescription(Locale arg0)
           
 org.apache.pluto.om.common.DescriptionSet getDescriptionSet()
           
 String getRoleLink()
           
 String getRoleName()
           
 int hashCode()
           
 void setDescription(String arg0)
          We should be using one of the more locale-specific methods.
 void setDescriptionSet(org.apache.pluto.om.common.DescriptionSet descriptions)
           
 void setRoleLink(String value)
           
 void setRoleName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected long id

portletId

protected long portletId

link

private String link

name

private String name

descriptions

private Collection descriptions

descCollWrapper

private DescriptionSetImpl descCollWrapper
Constructor Detail

SecurityRoleRefImpl

public SecurityRoleRefImpl()
Method Detail

getRoleLink

public String getRoleLink()
Specified by:
getRoleLink in interface org.apache.pluto.om.common.SecurityRoleRef
See Also:
SecurityRoleRef.getRoleLink()

getRoleName

public String getRoleName()
Specified by:
getRoleName in interface org.apache.pluto.om.common.SecurityRoleRef
See Also:
SecurityRoleRef.getRoleName()

setRoleLink

public void setRoleLink(String value)
Specified by:
setRoleLink in interface org.apache.pluto.om.common.SecurityRoleRefCtrl
See Also:
SecurityRoleRefCtrl.setRoleLink(java.lang.String)

setRoleName

public void setRoleName(String name)
Specified by:
setRoleName in interface org.apache.pluto.om.common.SecurityRoleRefCtrl
See Also:
SecurityRoleRefCtrl.setRoleName(java.lang.String)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

getDescription

public org.apache.pluto.om.common.Description getDescription(Locale arg0)
Specified by:
getDescription in interface org.apache.pluto.om.common.SecurityRoleRef
See Also:
SecurityRoleRef.getDescription(java.util.Locale)

addDescription

public void addDescription(org.apache.pluto.om.common.Description description)
Specified by:
addDescription in interface org.apache.jetspeed.om.common.SecurityRoleRefComposite
See Also:
SecurityRoleRefComposite.addDescription(org.apache.pluto.om.common.Description)

addDescription

public void addDescription(Locale locale,
                           String description)
Specified by:
addDescription in interface org.apache.jetspeed.om.common.SecurityRoleRefComposite
See Also:
org.apache.jetspeed.om.common.MutableDescriptionSet#addDescription(java.util.Locale, java.lang.String)

setDescriptionSet

public void setDescriptionSet(org.apache.pluto.om.common.DescriptionSet descriptions)
Specified by:
setDescriptionSet in interface org.apache.jetspeed.om.common.SecurityRoleRefComposite
See Also:
SecurityRoleRefComposite.setDescriptionSet(org.apache.pluto.om.common.DescriptionSet)

setDescription

public void setDescription(String arg0)
We should be using one of the more locale-specific methods.

Specified by:
setDescription in interface org.apache.pluto.om.common.SecurityRoleRefCtrl
Parameters:
arg0 -
See Also:
SecurityRoleRefCtrl.setDescription(java.lang.String)

getDescriptionSet

public org.apache.pluto.om.common.DescriptionSet getDescriptionSet()
Specified by:
getDescriptionSet in interface org.apache.jetspeed.om.common.SecurityRoleRefComposite
See Also:
SecurityRoleRefComposite.getDescriptionSet()


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.