com.ibm.commerce.user.beans
Class RoleDataBean

java.lang.Object
  |
  +--com.ibm.commerce.user.beansrc.RoleDataBeanBase
        |
        +--com.ibm.commerce.user.beans.RoleDataBean

public class RoleDataBean
extends com.ibm.commerce.user.beansrc.RoleDataBeanBase

IBM internal use only.

See Also:
Serialized Form

Field Summary
protected  com.ibm.commerce.user.objects.RoleDescriptionAccessBean abRoleDesc
          The description associated with this role databean.
static java.lang.String COPYRIGHT
          IBM copyright notice field.
protected  CommandContext iCommandContext
          The command context within this bean.
protected  java.lang.String iDataBeanKeyRoleId
          The key of this data bean.
protected  TypedProperty iRequestProperties
          The request properties within this bean.
 
Constructor Summary
RoleDataBean()
           
 
Method Summary
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyRoleId()
          Gets the key(role id) of this data bean.
 java.lang.String getDescription()
          Retrieves the display name of the role
 java.lang.String getDisplayName()
          Retrieves the display name of the role
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyRoleId(java.lang.String aRoleId)
          Sets the key(role id) of this data bean.
 void setRequestProperties( TypedProperty aRequestProperty)
          Sets the request property within this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext
The command context within this bean.

iRequestProperties

protected TypedProperty iRequestProperties
The request properties within this bean.

iDataBeanKeyRoleId

protected java.lang.String iDataBeanKeyRoleId
The key of this data bean.

abRoleDesc

protected com.ibm.commerce.user.objects.RoleDescriptionAccessBean abRoleDesc
The description associated with this role databean.
Constructor Detail

RoleDataBean

public RoleDataBean()
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
com.ibm.commerce.datatype.TypedProperty

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request property within this bean.
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

getDataBeanKeyRoleId

public java.lang.String getDataBeanKeyRoleId()
Gets the key(role id) of this data bean.
Returns:
The key of this data bean.

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
com.ibm.commerce.command.CommandContext

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext

setDataBeanKeyRoleId

public void setDataBeanKeyRoleId(java.lang.String aRoleId)
Sets the key(role id) of this data bean.
Parameters:
aRoleId - The key of this data bean.

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database.
Throws:
java.lang.Exception

getDisplayName

public java.lang.String getDisplayName()
Retrieves the display name of the role
Returns:
the display name of the role

getDescription

public java.lang.String getDescription()
Retrieves the display name of the role
Returns:
the display name of the role