java.lang.Object | +--com.ibm.commerce.user.beans.UserInfoDataBean
The UserInfoDataBean representing the registration information of a member.
This bean is for internal use only. No access control policy is applied on this databean. Only lastName, firstName and middleName can be accessed from this databean. The following code can be used to create and active a UserInfoDataBean:
UserInfoDataBean bnRegister = new UserInfoDataBean(); com.ibm.commerce.beans.DataBeanManager.activate(bnRegister, request);The UserInfoDataBean will automatially get userId from commandContext. Users can also setUserId(String) to set the userId directly to overwrite the userId get from commandContext:
UserRegistrationDataBean bnRegister = new UserRegistrationDataBean(); bnRegister.setUserId("-1000"); com.ibm.commerce.beans.DataBeanManager.activate(bnRegister, request);If the specified user is found, the findUser() method will return true, otherwise return false.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME |
static java.lang.String |
COPYRIGHT |
protected
static java.lang.String[][] |
CurrencyList |
protected
boolean |
ibUserFound |
protected
CommandContext |
iCommandContext |
protected
java.lang.String |
iDataBeanKeyMemberId |
protected
UserManageBean |
imbUser |
protected
TypedProperty |
iRequestProperties |
protected
static java.lang.String |
istrLanguageIdForCurrency |
protected
static java.lang.String |
istrLanguageIdForLanguage |
protected
java.lang.String |
istrStoreDirectory |
protected
static java.lang.String[][] |
LanguageList |
protected
java.lang.String |
strProfileType |
Constructor Summary | |
---|---|
UserInfoDataBean() RegisterDataBean constructor |
Method Summary | |
---|---|
boolean |
findUser() Returns a boolean value indicating whether the user is found according to the userId specified. |
java.lang.String |
getAttribute(java.lang.String astrAttributeName) Insert the method's description here. |
java.util.Vector |
getAttribute(java.lang.String astrAttributeName,
java.lang.String astrStoreEntityId) |
CommandContext |
getCommandContext() Gets the command context. |
java.lang.String |
getDataBeanKeyMemberId() |
com.ibm.commerce.security.Protectable |
getDelegate() getDelegate method comment. |
java.lang.String |
getFirstName() Gets the first name of the individual. |
java.lang.String |
getFirstNameURL() Gets the name of FirstName URL parameter. |
java.lang.String |
getLastName() Gets the last name of the individual. |
java.lang.String |
getLastNameURL() Gets the name of LastName URL parameter. |
java.lang.String |
getMiddleName() Gets the middle name of the individual. |
java.lang.String |
getMiddleNameURL() Gets the name of MiddleName URL parameter. |
TypedProperty |
getRequestProperties() |
void |
populate() |
void |
setCommandContext(
CommandContext acommandContext) |
void |
setDataBeanKeyMemberId(java.lang.String aMemberId) |
void |
setRequestProperties(
TypedProperty aRequestProperty) |
void |
setUserId(java.lang.String aMemberId) |
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
public static final java.lang.String CLASSNAME
protected java.lang.String iDataBeanKeyMemberId
protected CommandContext iCommandContext
protected TypedProperty iRequestProperties
protected UserManageBean imbUser
protected boolean ibUserFound
protected java.lang.String istrStoreDirectory
protected static java.lang.String[][] CurrencyList
protected static java.lang.String[][] LanguageList
protected static java.lang.String istrLanguageIdForCurrency
protected static java.lang.String istrLanguageIdForLanguage
protected java.lang.String strProfileType
Constructor Detail |
---|
public UserInfoDataBean()
Method Detail |
---|
public boolean findUser()
public java.lang.String getAttribute(java.lang.String astrAttributeName)
public java.util.Vector getAttribute(java.lang.String astrAttributeName, java.lang.String astrStoreEntityId)
public CommandContext getCommandContext()
public java.lang.String getDataBeanKeyMemberId()
public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
java.lang.Exception
public java.lang.String getFirstName()
public java.lang.String getFirstNameURL()
public java.lang.String getLastName()
public java.lang.String getLastNameURL()
public java.lang.String getMiddleName()
public java.lang.String getMiddleNameURL()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
java.lang.Exception
public void setCommandContext(CommandContext acommandContext)
public void setDataBeanKeyMemberId(java.lang.String aMemberId)
aMemberId
- java.lang.Stringpublic void setRequestProperties(TypedProperty aRequestProperty) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException
public void setUserId(java.lang.String aMemberId)
aMemberId
- java.lang.String