public class RoleDataBean
extends com.ibm.commerce.user.beansrc.RoleDataBeanBase
implements com.ibm.commerce.user.beans.RoleInputDataBean, com.ibm.commerce.user.beans.RoleSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The class name.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
RoleDataBean() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Integer[] |
getAllRoles()
Gets the list of role IDs for all the roles defined in the ROLE table.
|
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.
|
findByName, findByNameNoCache, getEntity, getName, getRoleId, getRoleIdInEntityType, instantiateEntity, setDescription, setInitKey_roleId, setInitKey_roleId, setName, setRoleId, setRoleId
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties
in interface InputDataBean
aRequestProperty
- com.ibm.commerce.datatype.TypedPropertypublic java.lang.String getDataBeanKeyRoleId()
getDataBeanKeyRoleId
in interface com.ibm.commerce.user.beans.RoleSmartDataBean
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- com.ibm.commerce.command.CommandContextpublic void setDataBeanKeyRoleId(java.lang.String aRoleId)
setDataBeanKeyRoleId
in interface com.ibm.commerce.user.beans.RoleInputDataBean
aRoleId
- The key of this data bean.public void populate()
populate
in interface SmartDataBean
java.lang.Exception
public java.lang.String getDisplayName()
public java.lang.String getDescription()
getDescription
in class RoleAccessBean
public static final java.lang.Integer[] getAllRoles()