|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 com.ibm.commerce.member.helpers.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()
|
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)
|
Field Detail |
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
protected static java.lang.String[][] CurrencyList
protected boolean ibUserFound
protected CommandContext iCommandContext
protected java.lang.String iDataBeanKeyMemberId
protected com.ibm.commerce.member.helpers.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 Detail |
public UserInfoDataBean()
Method Detail |
public boolean findUser()
public java.lang.String getAttribute(java.lang.String astrAttributeName)
astrAttribute
- java.lang.Stringpublic java.util.Vector getAttribute(java.lang.String astrAttributeName, java.lang.String astrStoreEntityId)
public CommandContext getCommandContext()
public java.lang.String getDataBeanKeyMemberId()
public Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface Delegator
com.ibm.commerce.security.Delegator
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
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
public void setUserId(java.lang.String aMemberId)
aMemberId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |