public class MemberRoleDataBean
extends com.ibm.commerce.user.beansrc.MemberRoleDataBeanBase
implements com.ibm.commerce.user.beans.MemberRoleInputDataBean, com.ibm.commerce.user.beans.MemberRoleSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The class name.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected CommandContext | iCommandContext
The command context within this bean.
|
protected java.lang.String | iDataBeanKeyMemberId
The second key of this data bean (member id).
|
protected java.lang.String | iDataBeanKeyOrgEntityId
The third key of this data bean (orgEntity id).
|
protected java.lang.String | iDataBeanKeyRoleId
The first key of this data bean (role id).
|
protected TypedProperty | iRequestProperties
The request properties within this bean.
|
Constructor and Description |
---|
MemberRoleDataBean() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[][] | getAllRolesForDisplay(CommandContext aCommandContext)
Retrieve the list of all roles defined in the system.
|
CommandContext | getCommandContext()
Gets the command context set within this bean.
|
java.lang.String | getDataBeanKeyMemberId()
Gets the second key (member id) of this data bean.
|
java.lang.String | getDataBeanKeyOrgEntityId()
Gets the third key (orgEntity id) of this data bean.
|
java.lang.String | getDataBeanKeyRoleId()
Gets the first key (role id) of this data bean.
|
TypedProperty | getRequestProperties()
Gets the request property set within this bean.
|
static java.lang.Integer[] | getRolesDefinedForOrg(java.lang.Long anOrganizationId)
Return the list of roles that are defined for a particular organization.
|
static java.lang.Integer[] | getRolesThatUserPlaysInOrg(java.lang.Long anUserId, java.lang.Long anOrganizationId)
Return the list of roles that a user plays in a given organization.
|
void | populate()
Retrieves data from the database.
|
void | setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
|
void | setDataBeanKeyMemberId(java.lang.String aMemberId)
Sets the second key(role id) of this data bean.
|
void | setDataBeanKeyOrgEntityId(java.lang.String aOrgEntityId)
Sets the third key(third id) of this data bean.
|
void | setDataBeanKeyRoleId(java.lang.String aRoleId)
Sets the first key(role id) of this data bean.
|
void | setRequestProperties(TypedProperty aRequestProperty)
Sets the request property within this bean.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected CommandContext iCommandContext
protected TypedProperty iRequestProperties
protected java.lang.String iDataBeanKeyRoleId
protected java.lang.String iDataBeanKeyMemberId
protected java.lang.String iDataBeanKeyOrgEntityId
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty aRequestProperty) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
public java.lang.String getDataBeanKeyRoleId()
public java.lang.String getDataBeanKeyMemberId()
public java.lang.String getDataBeanKeyOrgEntityId()
public CommandContext getCommandContext()
public void setCommandContext(CommandContext aCommandContext)
public void setDataBeanKeyRoleId(java.lang.String aRoleId)
public void setDataBeanKeyMemberId(java.lang.String aMemberId)
public void setDataBeanKeyOrgEntityId(java.lang.String aOrgEntityId)
public void populate() throws java.lang.Exception
public static final java.lang.Integer[] getRolesThatUserPlaysInOrg(java.lang.Long anUserId, java.lang.Long anOrganizationId)
public static final java.lang.Integer[] getRolesDefinedForOrg(java.lang.Long anOrganizationId)
public static java.lang.String[][] getAllRolesForDisplay(CommandContext aCommandContext)