public class UserDataBean
extends com.ibm.commerce.user.beansrc.UserDataBeanBase
implements com.ibm.commerce.user.beans.UserInputDataBean, com.ibm.commerce.user.beans.UserSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected CommandContext | iCommandContext
The command context within this bean.
|
protected java.lang.String | iDataBeanKeyMemberId
The key of this data bean.
|
protected TypedProperty | iRequestProperties
The request properties within this bean.
|
Constructor and Description |
---|
UserDataBean()
Default constructor
|
UserDataBean(UserAccessBean aabUser)
Constructs an UserDataBean from an UserAccessBean.
|
UserDataBean(UserAccessBean aabUser, CommandContext aCommandContext)
Constructs an UserDataBean from an UserAccessBean and commandContext
|
Modifier and Type | Method and Description |
---|---|
static void | clearTransactionCachedUserDataBeans() |
boolean | fulfills(java.lang.Long member, java.lang.String relationship)
An access control method used to determine if a given member fulfills a given relationship with the user resource.
|
java.lang.String | getAccountStatus()
Get the user's account status
|
CommandContext | getCommandContext()
Gets the command context set within this bean.
|
java.lang.String | getDataBeanKeyMemberId()
Gets the key (user id) of this data bean.
|
java.lang.String | getFirstName()
Get the user's firstname
|
java.lang.String | getLastName()
Get the user's lastname
|
java.lang.String | getLogonId()
Get the user's logon id
|
TypedProperty | getRequestProperties()
Gets the request property set within this bean.
|
static UserDataBean | getTransactionCachedUserDataBean(java.lang.String astrUserId, CommandContext aCommandContext)
Returns an UserDataBean from the transaction cache, or, if it is not there, then creates a new UserDataBean, and places it in the transaction cache.
|
static UserDataBean | getTransactionCachedUserDataBean(UserAccessBean aUserAB, CommandContext aCommandContext)
Returns an UserDataBean from the transaction cache, or, if it is not there, then creates a new UserDataBean, and places it in the transaction cache.
|
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 key(member id) of this data bean.
|
void | setRequestProperties(TypedProperty aRequestProperty)
Sets the request property within this bean.
|
public static final java.lang.String COPYRIGHT
protected CommandContext iCommandContext
protected TypedProperty iRequestProperties
protected java.lang.String iDataBeanKeyMemberId
public UserDataBean(UserAccessBean aabUser, CommandContext aCommandContext) throws java.lang.Exception
public UserDataBean(UserAccessBean aabUser) throws java.lang.Exception
public UserDataBean()
public static final UserDataBean getTransactionCachedUserDataBean(UserAccessBean aUserAB, CommandContext aCommandContext) throws java.lang.Exception
public static final UserDataBean getTransactionCachedUserDataBean(java.lang.String astrUserId, CommandContext aCommandContext)
public static final void clearTransactionCachedUserDataBeans()
public CommandContext getCommandContext()
public java.lang.String getDataBeanKeyMemberId()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext aCommandContext)
public void setDataBeanKeyMemberId(java.lang.String aMemberId)
public void setRequestProperties(TypedProperty aRequestProperty) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.rmi.RemoteException, java.lang.Exception
public java.lang.String getLastName()
public java.lang.String getFirstName()
public java.lang.String getLogonId()
public java.lang.String getAccountStatus()