org.apache.jetspeed.om.impl
Class SecurityRoleRefImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.SecurityRoleRefImpl
All Implemented Interfaces:
java.io.Serializable, 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 java.lang.Object
implements SecurityRoleRefComposite, java.io.Serializable

SecurityRoleRefImpl

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

Field Summary
protected  long id
           
protected  long portletId
           
 
Constructor Summary
SecurityRoleRefImpl()
           
 
Method Summary
 void addDescription(org.apache.pluto.om.common.Description description)
           
 void addDescription(java.util.Locale locale, java.lang.String description)
           
 boolean equals(java.lang.Object obj)
           
 org.apache.pluto.om.common.Description getDescription(java.util.Locale arg0)
           
 org.apache.pluto.om.common.DescriptionSet getDescriptionSet()
           
 java.lang.String getRoleLink()
           
 java.lang.String getRoleName()
           
 int hashCode()
           
 void setDescription(java.lang.String arg0)
          We should be using one of the more locale-specific methods.
 void setDescriptionSet(org.apache.pluto.om.common.DescriptionSet descriptions)
           
 void setRoleLink(java.lang.String value)
           
 void setRoleName(java.lang.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
Constructor Detail

SecurityRoleRefImpl

public SecurityRoleRefImpl()
Method Detail

getRoleLink

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

getRoleName

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

setRoleLink

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

setRoleName

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

equals

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

hashCode

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

getDescription

public org.apache.pluto.om.common.Description getDescription(java.util.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 SecurityRoleRefComposite
See Also:
SecurityRoleRefComposite.addDescription(org.apache.pluto.om.common.Description)

addDescription

public void addDescription(java.util.Locale locale,
                           java.lang.String description)
Specified by:
addDescription in interface 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 SecurityRoleRefComposite
See Also:
SecurityRoleRefComposite.setDescriptionSet(org.apache.pluto.om.common.DescriptionSet)

setDescription

public void setDescription(java.lang.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 SecurityRoleRefComposite
See Also:
SecurityRoleRefComposite.getDescriptionSet()


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