com.ibm.commerce.user.objects
Class UserAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.user.objects.UserAccessBean
All Implemented Interfaces:
java.io.Serializable, UserAccessBeanData

public class UserAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements UserAccessBeanData

This bean provides access to the USERS table.

The following is a description of this table:

This table contains all users of the WebSphere Commerce system: registered users, guest users, and generic users.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
UserAccessBean()
          Default constructor.
UserAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
UserAccessBean(java.util.Hashtable aProperties)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
UserAccessBean(java.lang.String aRegisterType)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
UserAccessBean(com.ibm.commerce.user.objimpl.UserInputData aUserInputData)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 AddressAccessBean addAddress(java.lang.String aNickname)
          Create an address association.
 BusinessProfileAccessBean addBusinessProfile(java.lang.Long anOrganizationId)
          Create a business profile association.
 DemographicsAccessBean addDemographics()
          Create a demographics association.
 UserProfileAccessBean addUserProfile()
          Create a user profile association.
 UserRegistryAccessBean addUserRegistry(java.lang.String aLogonIdentifier)
          Create a user registry association.
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAccessGroupOwner(java.lang.Long aUserId)
          The SQL is "SELECT * FROM USERS WHERE (USERS_ID = ANY (SELECT ACCMBRGRP.OWNER_ID FROM ACCMBRGRP WHERE ACCMBRGRP.USERS_ID = ?))".
 java.util.Enumeration findAdministrators()
          The SQL is "SELECT * FROM USERS WHERE (REGISTERTYPE IN ('A','S'))".
 java.util.Enumeration findAllRegistered()
          The SQL is "SELECT * FROM USERS WHERE (REGISTERTYPE <> 'G')".
 UserAccessBean findByDN(java.lang.String aDN)
          Find the user by Distinguished Name.
 UserAccessBean findByUniqueIdentifier(java.lang.String aUniqueIdentifier)
          Find the user by unique identifier.
 boolean fulfills(java.lang.Long aMember, java.lang.String aRelationship)
          Determines if a given member fulfills a given relationship with the resource.
 java.util.Enumeration getAddress(java.lang.String aAddressType)
          All address associations of the address type.
 java.util.Vector getAllStoreGroupMembers(java.lang.Integer aStoreId)
          All member groups of a given store.
 java.lang.Long[] getAncestors()
          List of all ancestors of the member.
 BusinessProfileAccessBean getBusinessProfile()
          The user profile association.
 java.lang.Long[] getChildren()
          List of child members.
 DemographicsAccessBean getDemographics()
          Demographics association.
 java.lang.Long[] getDescendants()
          List of all descendants members.
 java.lang.String getDisplayName()
          The user logon Id.
 java.lang.String getDistinguishedName()
          This method provides access to the USERS.DN column of DB2 type VARCHAR(1000) NULL.
 java.lang.String getLastOrder()
          This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastOrderInEJBType()
          This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.
 java.lang.String getLastSession()
          This method provides access to the USERS.LASTSESSION column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastSessionInEJBType()
          This method provides access to the USERS.LASTSESSION column of DB2 type TIMESTAMP NULL.
 java.util.Enumeration getMemberGroups()
          All member groups this user belongs to.
 java.lang.String getMemberId()
          The member ID of the parent orgEntity for this orgEntity
 java.lang.Long getMemberIdInEJBType()
          This column contains the member ID of the parent orgEntity for this orgEntity.
 java.util.Enumeration getOwnedMemberGroups()
          All member groups owned by this user.
 java.lang.Long getOwner()
          The member id of the owner of the resource.
 java.lang.String getParentMemberId()
          The parent member.
 java.lang.String getPreferredCurrency()
          This method provides access to the USERS.SETCCURR column of DB2 type CHAR(3) NULL.
 java.lang.String getPreferredLanguageId()
          This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getPreferredLanguageIdInEJBType()
          This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.
 java.lang.String getPreviousLastSession()
          This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getPreviousLastSessionInEJBType()
          This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.
 java.util.Enumeration getPrimaryAddress(java.lang.String aPrimaryAddress)
          The primary address for this user.
 java.lang.String getProfileType()
          This method provides access to the USERS.PROFILETYPE column of DB2 type CHAR(2) NULL.
 java.lang.String getRegisterType()
          This method provides access to the USERS.REGISTERTYPE column of DB2 type CHAR(4) NOT NULL.
 java.lang.String getRegistration()
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 java.lang.String getRegistrationCancel()
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getRegistrationCancelInEJBType()
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getRegistrationInEJBType()
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 java.lang.String getRegistrationUpdate()
          This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getRegistrationUpdateInEJBType()
          This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Integer[] getRoles()
          All roles played by this member group in this OrgEntity.
 java.lang.Integer[] getRoles(java.lang.Long aOrgEntityId)
          All roles played by this member in this OrgEntity.
 java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId)
          List of roles for the OrgEntity and its ancestors.
 java.lang.String getState()
          State of the user.
 java.lang.Integer getStateInEJBType()
          State of the user.
 java.lang.String getType()
          Type of the member.
 java.lang.String getUserField1()
          User field 1 for customization.
 java.lang.String getUserField2()
          User field 2 for customization.
 java.lang.String getUserField3()
          User field 3 for customization.
 java.lang.String getUserId()
          This method provides access to the USERS.USERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUserIdInEJBType()
          This method provides access to the USERS.USERS_ID column of DB2 type BIGINT NOT NULL.
 UserProfileAccessBean getUserProfile()
          User profile association.
 UserRegistryAccessBean getUserRegistry()
          User registry association.
 boolean isAdministrator()
          Determine if the current user is an administrator, I.e.,.
 boolean isAdministratorForAllStores(java.lang.Long aMemberGroupId)
          Determine if the administrator is for all stores within the given member group.
 boolean isRoleForAllStores()
          Determines if the role is for all stores.
 boolean isSiteAdministrator()
          Determine if the current user is a site administrator, I.e.,.
 boolean isStoreAdministrator()
          Determine if the current user is a store administrator.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDistinguishedName(java.lang.String aDistinguishedName)
          This method provides access to the USERS.DN column of DB2 type VARCHAR(1000) NULL.
 void setInitKey_MemberId(java.lang.String aInitKey_MemberId)
          Set the primary key for this object
 void setLastOrder(java.lang.String aLastOrder)
          This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.
 void setLastOrder(java.sql.Timestamp aLastOrder)
          This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.
 void setLastSession(java.lang.String aLastSession)
          This method provides access to the USERS.LASTSESSION column of DB2 type TIMESTAMP NULL.
 void setLastSession(java.sql.Timestamp aLastSession)
          This method provides access to the USERS.LASTSESSION column of DB2 type TIMESTAMP NULL.
 void setParentMemberId(java.lang.String aParentMemberId)
          Set the Id of the parent member.
 void setPreferredCurrency(java.lang.String aPreferredCurrency)
          This method provides access to the USERS.SETCCURR column of DB2 type CHAR(3) NULL.
 void setPreferredLanguageId(java.lang.Integer aPreferredLanguageId)
          This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.
 void setPreferredLanguageId(java.lang.String aPreferredLanguageId)
          This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.
 void setPreviousLastSession(java.lang.String aPreviousLastSession)
          This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.
 void setPreviousLastSession(java.sql.Timestamp aPreviousLastSession)
          This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.
 void setProfileType(java.lang.String aProfileType)
          This method provides access to the USERS.PROFILETYPE column of DB2 type CHAR(2) NULL.
 void setRegisterType(java.lang.String aRegisterType)
          This method provides access to the USERS.REGISTERTYPE column of DB2 type CHAR(4) NOT NULL.
 void setRegistration(java.lang.String aRegistration)
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 void setRegistration(java.sql.Timestamp aRegistration)
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 void setRegistrationCancel(java.lang.String aRegistrationCancel)
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 void setRegistrationCancel(java.sql.Timestamp aRegistrationCancel)
          This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.
 void setRegistrationUpdate(java.lang.String aRegistrationUpdate)
          This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.
 void setRegistrationUpdate(java.sql.Timestamp aRegistrationUpdate)
          This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.
 void setState(java.lang.Integer aState)
          The state of User.
 void setState(java.lang.String aState)
          Set the state of user.
 void setUserField1(java.lang.String aUserField1)
          Set user field 1 for customization.
 void setUserField2(java.lang.String aUserField2)
          Set user field 2 for customization.
 void setUserField3(java.lang.String aUserField3)
          Set user field 3 for customization.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAccessBean

public UserAccessBean()

Default constructor. Maps to findByPrimaryKey.


UserAccessBean

public UserAccessBean(javax.ejb.EJBObject Object)
               throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

UserAccessBean

public UserAccessBean(java.util.Hashtable aProperties)
               throws javax.naming.NamingException,
                      javax.ejb.CreateException,
                      java.rmi.RemoteException,
                      javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aProperties - java.util.Hashtable
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

UserAccessBean

public UserAccessBean(java.lang.String aRegisterType)
               throws javax.naming.NamingException,
                      javax.ejb.CreateException,
                      java.rmi.RemoteException,
                      javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aRegisterType - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

UserAccessBean

public UserAccessBean(com.ibm.commerce.user.objimpl.UserInputData aUserInputData)
               throws javax.naming.NamingException,
                      javax.ejb.CreateException,
                      java.rmi.RemoteException,
                      javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aUserInputData - com.ibm.commerce.user.objimpl.UserInputData
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

addAddress

public AddressAccessBean addAddress(java.lang.String aNickname)
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

Create an address association.

Parameters:
aNickname - java.lang.String
Returns:
com.ibm.commerce.user.objects.AddressAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

addBusinessProfile

public BusinessProfileAccessBean addBusinessProfile(java.lang.Long anOrganizationId)
                                             throws javax.naming.NamingException,
                                                    javax.ejb.CreateException,
                                                    java.rmi.RemoteException,
                                                    javax.ejb.FinderException

Create a business profile association.

Parameters:
anOrganizationId - java.lang.Long
Returns:
com.ibm.commerce.user.objects.BusinessProfileAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

addDemographics

public DemographicsAccessBean addDemographics()
                                       throws javax.naming.NamingException,
                                              javax.ejb.CreateException,
                                              java.rmi.RemoteException,
                                              javax.ejb.FinderException

Create a demographics association.

Returns:
com.ibm.commerce.user.objects.DemographicsAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

addUserProfile

public UserProfileAccessBean addUserProfile()
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            java.rmi.RemoteException,
                                            javax.ejb.FinderException

Create a user profile association.

Returns:
com.ibm.commerce.user.objects.UserProfileAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

addUserRegistry

public UserRegistryAccessBean addUserRegistry(java.lang.String aLogonIdentifier)
                                       throws javax.naming.NamingException,
                                              javax.ejb.CreateException,
                                              java.rmi.RemoteException,
                                              javax.ejb.FinderException

Create a user registry association.

Parameters:
aLogonIdentifier - java.lang.String
Returns:
com.ibm.commerce.user.objects.UserRegistryAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAccessGroupOwner

public java.util.Enumeration findAccessGroupOwner(java.lang.Long aUserId)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

The SQL is "SELECT * FROM USERS WHERE (USERS_ID = ANY (SELECT ACCMBRGRP.OWNER_ID FROM ACCMBRGRP WHERE ACCMBRGRP.USERS_ID = ?))".

Parameters:
aUserId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAdministrators

public java.util.Enumeration findAdministrators()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

The SQL is "SELECT * FROM USERS WHERE (REGISTERTYPE IN ('A','S'))".

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAllRegistered

public java.util.Enumeration findAllRegistered()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

The SQL is "SELECT * FROM USERS WHERE (REGISTERTYPE <> 'G')".

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByDN

public UserAccessBean findByDN(java.lang.String aDN)
                        throws java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

Find the user by Distinguished Name. Distinguished Name is case-insensitive.

This method is a customized finder method and it formats the Distinguished Name (remove spaces and change to lowercase) before doing search.

The users of this finder method do not need to do any formatting.

"SELECT * FROM USERS LCASE(DN) LIKE ?" (DB2)

"SELECT * FROM USERS LOWER(DN) LIKE ?" (Oracle)

Parameters:
aDN - java.lang.String
Returns:
com.ibm.commerce.user.objects.UserAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByUniqueIdentifier

public UserAccessBean findByUniqueIdentifier(java.lang.String aUniqueIdentifier)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Find the user by unique identifier. UnqiueIdentifier can be a Distinguished Name or logon id.

This method is a customized finder method.

If unique identifier is a logon id, the finder method uses the following SQL

"SELECT * FROM USER WHERE USERS_ID = USERREG.USERS_ID AND USERREG.LOGONID = ?";

If unique identifier is a Distinguished Name and the Authenticate Mode is LDAP, the finder method formats the Distinguished Name and uses the following SQL:

"SELECT * FROM USER WHERE USERS_ID = USERREG.USERS_ID AND LCASE(USERREG.LOGONID) = ?"; (DB2)

"SELECT * FROM USER WHERE USERS_ID = USERREG.USERS_ID AND LOWER(USERREG.LOGONID) = ?"; (Oracle)

If unique identifier is a Distinguished Name and the Authenticate Mode is LDAP, the finder method get the logon id from Distinguished Name and uses the following SQL:

"SELECT * FROM USER WHERE USERS_ID = USERREG.USERS_ID AND USERREG.LOGONID = ?";

Parameters:
aUniqueIdentifier - java.lang.String
Returns:
com.ibm.commerce.user.objects.UserAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

fulfills

public boolean fulfills(java.lang.Long aMember,
                        java.lang.String aRelationship)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

Determines if a given member fulfills a given relationship with the resource.

Parameters:
aMember - java.lang.Long
aRelationship - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAddress

public java.util.Enumeration getAddress(java.lang.String aAddressType)
                                 throws javax.naming.NamingException,
                                        javax.ejb.CreateException,
                                        java.rmi.RemoteException,
                                        javax.ejb.FinderException

All address associations of the address type.

Parameters:
aAddressType - java.lang.String
Returns:
java.util.Enumeration
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getAllStoreGroupMembers

public java.util.Vector getAllStoreGroupMembers(java.lang.Integer aStoreId)
                                         throws javax.naming.NamingException,
                                                javax.ejb.CreateException,
                                                java.rmi.RemoteException,
                                                javax.ejb.FinderException

All member groups of a given store.

Parameters:
aStoreId - java.lang.Integer
Returns:
java.util.Vector
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getAncestors

public java.lang.Long[] getAncestors()
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     java.rmi.RemoteException,
                                     javax.ejb.FinderException

List of all ancestors of the member.

Returns:
java.lang.Long[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getBusinessProfile

public BusinessProfileAccessBean getBusinessProfile()
                                             throws javax.naming.NamingException,
                                                    javax.ejb.CreateException,
                                                    java.rmi.RemoteException,
                                                    javax.ejb.FinderException

The user profile association.

Returns:
com.ibm.commerce.user.objects.BusinessProfileAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getChildren

public java.lang.Long[] getChildren()
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

List of child members.

Returns:
java.lang.Long[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getDemographics

public DemographicsAccessBean getDemographics()
                                       throws javax.naming.NamingException,
                                              javax.ejb.CreateException,
                                              java.rmi.RemoteException,
                                              javax.ejb.FinderException

Demographics association.

Returns:
com.ibm.commerce.user.objects.DemographicsAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getDescendants

public java.lang.Long[] getDescendants()
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       java.rmi.RemoteException,
                                       javax.ejb.FinderException

List of all descendants members.

Returns:
java.lang.Long[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getDisplayName

public java.lang.String getDisplayName()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

The user logon Id.

Specified by:
getDisplayName in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDistinguishedName

public java.lang.String getDistinguishedName()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the USERS.DN column of DB2 type VARCHAR(1000) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getDistinguishedName in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLastOrder

public java.lang.String getLastOrder()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last placed an order at this site.

Specified by:
getLastOrder in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLastOrderInEJBType

public java.sql.Timestamp getLastOrderInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last placed an order at this site.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLastSession

public java.lang.String getLastSession()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the USERS.LASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last visited the WebSphere Commerce site. Last visited means last logon to the WebSphere Commerce site.

Specified by:
getLastSession in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLastSessionInEJBType

public java.sql.Timestamp getLastSessionInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the USERS.LASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last visited the WebSphere Commerce site. Last visited means last logon to the WebSphere Commerce site.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMemberGroups

public java.util.Enumeration getMemberGroups()
                                      throws javax.naming.NamingException,
                                             javax.ejb.CreateException,
                                             java.rmi.RemoteException,
                                             javax.ejb.FinderException

All member groups this user belongs to.

Returns:
java.util.Enumeration
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

The member ID of the parent orgEntity for this orgEntity

Specified by:
getMemberId in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This column contains the member ID of the parent orgEntity for this orgEntity.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOwnedMemberGroups

public java.util.Enumeration getOwnedMemberGroups()
                                           throws javax.naming.NamingException,
                                                  javax.ejb.CreateException,
                                                  java.rmi.RemoteException,
                                                  javax.ejb.FinderException

All member groups owned by this user.

Returns:
java.util.Enumeration
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

The member id of the owner of the resource.

Returns:
java.lang.Long
Throws:
java.lang.Exception - The java.lang.Exception exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getParentMemberId

public java.lang.String getParentMemberId()
                                   throws javax.naming.NamingException,
                                          javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.ejb.FinderException

The parent member.

Returns:
java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getPreferredCurrency

public java.lang.String getPreferredCurrency()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the USERS.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Preferred currency in 3-character alphabetic code as per ISO 4217. This is a currency code as per ISO 4217 standards. Compare with the SHPREFERREDCURR column in the SHOPPER table.

Specified by:
getPreferredCurrency in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPreferredLanguageId

public java.lang.String getPreferredLanguageId()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Preferred language. For a list of language components, see the LANGUAGE table. Foreign key relationship to LANGUAGE table.

Specified by:
getPreferredLanguageId in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPreferredLanguageIdInEJBType

public java.lang.Integer getPreferredLanguageIdInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Preferred language. For a list of language components, see the LANGUAGE table. Foreign key relationship to LANGUAGE table.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPreviousLastSession

public java.lang.String getPreviousLastSession()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getPreviousLastSession in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPreviousLastSessionInEJBType

public java.sql.Timestamp getPreviousLastSessionInEJBType()
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.CreateException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException

This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPrimaryAddress

public java.util.Enumeration getPrimaryAddress(java.lang.String aPrimaryAddress)
                                        throws javax.naming.NamingException,
                                               javax.ejb.CreateException,
                                               java.rmi.RemoteException,
                                               javax.ejb.FinderException

The primary address for this user.

Parameters:
aPrimaryAddress - java.lang.String
Returns:
java.util.Enumeration
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getProfileType

public java.lang.String getProfileType()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the USERS.PROFILETYPE column of DB2 type CHAR(2) NULL.

The following is a description of this column:

Identifies whether there is a profile and what type of profile this user has. Valid values are Null (no profile data), C (base profile data), or B (business profile data).

Specified by:
getProfileType in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRegisterType

public java.lang.String getRegisterType()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the USERS.REGISTERTYPE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

The user registration type. Refer to USERS table: details for more information.

Specified by:
getRegisterType in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRegistration

public java.lang.String getRegistration()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getRegistration in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRegistrationCancel

public java.lang.String getRegistrationCancel()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getRegistrationCancel in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRegistrationCancelInEJBType

public java.sql.Timestamp getRegistrationCancelInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRegistrationInEJBType

public java.sql.Timestamp getRegistrationInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRegistrationUpdate

public java.lang.String getRegistrationUpdate()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date or time the user last changed registration information. This value is set during UserRegistrationAdd and UserRegistrationUpdate ResetPassword synchronization with LDAP during logon.

Specified by:
getRegistrationUpdate in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRegistrationUpdateInEJBType

public java.sql.Timestamp getRegistrationUpdateInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date or time the user last changed registration information. This value is set during UserRegistrationAdd and UserRegistrationUpdate ResetPassword synchronization with LDAP during logon.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRoles

public java.lang.Integer[] getRoles()
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

All roles played by this member group in this OrgEntity.

Returns:
java.lang.Integer[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getRoles

public java.lang.Integer[] getRoles(java.lang.Long aOrgEntityId)
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

All roles played by this member in this OrgEntity.

Parameters:
aOrgEntityId - java.lang.Long
Returns:
java.lang.Integer[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getRolesForOrgEntityAndAncestors

public java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId)
                                                     throws javax.naming.NamingException,
                                                            javax.ejb.CreateException,
                                                            java.rmi.RemoteException,
                                                            javax.ejb.FinderException

List of roles for the OrgEntity and its ancestors.

Parameters:
anOrgEntityId - java.lang.Long
Returns:
java.lang.Integer[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getState

public java.lang.String getState()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

State of the user.

Specified by:
getState in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStateInEJBType

public java.lang.Integer getStateInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

State of the user.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getType

public java.lang.String getType()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

Type of the member.

Specified by:
getType in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUserField1

public java.lang.String getUserField1()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

User field 1 for customization.

Specified by:
getUserField1 in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUserField2

public java.lang.String getUserField2()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

User field 2 for customization.

Specified by:
getUserField2 in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUserField3

public java.lang.String getUserField3()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

User field 3 for customization.

Specified by:
getUserField3 in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUserId

public java.lang.String getUserId()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERS.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the user member. Foreign key to MEMBER_ID in MEMBER table.

Specified by:
getUserId in interface UserAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUserIdInEJBType

public java.lang.Long getUserIdInEJBType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the USERS.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the user member. Foreign key to MEMBER_ID in MEMBER table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUserProfile

public UserProfileAccessBean getUserProfile()
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            java.rmi.RemoteException,
                                            javax.ejb.FinderException

User profile association.

Returns:
com.ibm.commerce.user.objects.UserProfileAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getUserRegistry

public UserRegistryAccessBean getUserRegistry()
                                       throws javax.naming.NamingException,
                                              javax.ejb.CreateException,
                                              java.rmi.RemoteException,
                                              javax.ejb.FinderException

User registry association.

Returns:
com.ibm.commerce.user.objects.UserRegistryAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

isAdministrator

public boolean isAdministrator()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

Determine if the current user is an administrator, I.e.,. registertype = 'A' or 'S'.

Specified by:
isAdministrator in interface UserAccessBeanData
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

isAdministratorForAllStores

public boolean isAdministratorForAllStores(java.lang.Long aMemberGroupId)
                                    throws javax.naming.NamingException,
                                           java.rmi.RemoteException,
                                           javax.ejb.FinderException

Determine if the administrator is for all stores within the given member group.

Parameters:
aMemberGroupId - java.lang.Long
Returns:
boolean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

isRoleForAllStores

public boolean isRoleForAllStores()
                           throws javax.naming.NamingException,
                                  java.rmi.RemoteException,
                                  javax.ejb.FinderException

Determines if the role is for all stores.

Returns:
boolean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

isSiteAdministrator

public boolean isSiteAdministrator()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

Determine if the current user is a site administrator, I.e.,. registertype = 'S'.

Specified by:
isSiteAdministrator in interface UserAccessBeanData
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

isStoreAdministrator

public boolean isStoreAdministrator()
                             throws javax.naming.NamingException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

Determine if the current user is a store administrator.

Returns:
boolean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setDistinguishedName

public void setDistinguishedName(java.lang.String aDistinguishedName)

This method provides access to the USERS.DN column of DB2 type VARCHAR(1000) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setDistinguishedName in interface UserAccessBeanData
Parameters:
aDistinguishedName - java.lang.String
Returns:
void

setInitKey_MemberId

public void setInitKey_MemberId(java.lang.String aInitKey_MemberId)

Set the primary key for this object

Parameters:
aInitKey_MemberId - java.lang.String
Returns:
void

setLastOrder

public void setLastOrder(java.lang.String aLastOrder)

This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last placed an order at this site.

Specified by:
setLastOrder in interface UserAccessBeanData
Parameters:
aLastOrder - java.lang.String
Returns:
void

setLastOrder

public void setLastOrder(java.sql.Timestamp aLastOrder)

This method provides access to the USERS.LASTORDER column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last placed an order at this site.

Parameters:
aLastOrder - java.sql.Timestamp
Returns:
void

setLastSession

public void setLastSession(java.lang.String aLastSession)

This method provides access to the USERS.LASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last visited the WebSphere Commerce site. Last visited means last logon to the WebSphere Commerce site.

Specified by:
setLastSession in interface UserAccessBeanData
Parameters:
aLastSession - java.lang.String
Returns:
void

setLastSession

public void setLastSession(java.sql.Timestamp aLastSession)

This method provides access to the USERS.LASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time that the user last visited the WebSphere Commerce site. Last visited means last logon to the WebSphere Commerce site.

Parameters:
aLastSession - java.sql.Timestamp
Returns:
void

setParentMemberId

public void setParentMemberId(java.lang.String aParentMemberId)
                       throws javax.naming.NamingException,
                              javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.ejb.FinderException

Set the Id of the parent member.

Parameters:
aParentMemberId - java.lang.String
Returns:
void
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

setPreferredCurrency

public void setPreferredCurrency(java.lang.String aPreferredCurrency)

This method provides access to the USERS.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Preferred currency in 3-character alphabetic code as per ISO 4217. This is a currency code as per ISO 4217 standards. Compare with the SHPREFERREDCURR column in the SHOPPER table.

Specified by:
setPreferredCurrency in interface UserAccessBeanData
Parameters:
aPreferredCurrency - java.lang.String
Returns:
void

setPreferredLanguageId

public void setPreferredLanguageId(java.lang.Integer aPreferredLanguageId)

This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Preferred language. For a list of language components, see the LANGUAGE table. Foreign key relationship to LANGUAGE table.

Parameters:
aPreferredLanguageId - java.lang.Integer
Returns:
void

setPreferredLanguageId

public void setPreferredLanguageId(java.lang.String aPreferredLanguageId)

This method provides access to the USERS.LANGUAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

Preferred language. For a list of language components, see the LANGUAGE table. Foreign key relationship to LANGUAGE table.

Specified by:
setPreferredLanguageId in interface UserAccessBeanData
Parameters:
aPreferredLanguageId - java.lang.String
Returns:
void

setPreviousLastSession

public void setPreviousLastSession(java.lang.String aPreviousLastSession)

This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setPreviousLastSession in interface UserAccessBeanData
Parameters:
aPreviousLastSession - java.lang.String
Returns:
void

setPreviousLastSession

public void setPreviousLastSession(java.sql.Timestamp aPreviousLastSession)

This method provides access to the USERS.PREVLASTSESSION column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aPreviousLastSession - java.sql.Timestamp
Returns:
void

setProfileType

public void setProfileType(java.lang.String aProfileType)

This method provides access to the USERS.PROFILETYPE column of DB2 type CHAR(2) NULL.

The following is a description of this column:

Identifies whether there is a profile and what type of profile this user has. Valid values are Null (no profile data), C (base profile data), or B (business profile data).

Specified by:
setProfileType in interface UserAccessBeanData
Parameters:
aProfileType - java.lang.String
Returns:
void

setRegisterType

public void setRegisterType(java.lang.String aRegisterType)

This method provides access to the USERS.REGISTERTYPE column of DB2 type CHAR(4) NOT NULL.

The following is a description of this column:

The user registration type. Refer to USERS table: details for more information.

Specified by:
setRegisterType in interface UserAccessBeanData
Parameters:
aRegisterType - java.lang.String
Returns:
void

setRegistration

public void setRegistration(java.lang.String aRegistration)

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setRegistration in interface UserAccessBeanData
Parameters:
aRegistration - java.lang.String
Returns:
void

setRegistration

public void setRegistration(java.sql.Timestamp aRegistration)

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aRegistration - java.sql.Timestamp
Returns:
void

setRegistrationCancel

public void setRegistrationCancel(java.lang.String aRegistrationCancel)

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setRegistrationCancel in interface UserAccessBeanData
Parameters:
aRegistrationCancel - java.lang.String
Returns:
void

setRegistrationCancel

public void setRegistrationCancel(java.sql.Timestamp aRegistrationCancel)

This method provides access to the USERS.REGISTRATIONCANCEL column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aRegistrationCancel - java.sql.Timestamp
Returns:
void

setRegistrationUpdate

public void setRegistrationUpdate(java.lang.String aRegistrationUpdate)

This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date or time the user last changed registration information. This value is set during UserRegistrationAdd and UserRegistrationUpdate ResetPassword synchronization with LDAP during logon.

Specified by:
setRegistrationUpdate in interface UserAccessBeanData
Parameters:
aRegistrationUpdate - java.lang.String
Returns:
void

setRegistrationUpdate

public void setRegistrationUpdate(java.sql.Timestamp aRegistrationUpdate)

This method provides access to the USERS.REGISTRATIONUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date or time the user last changed registration information. This value is set during UserRegistrationAdd and UserRegistrationUpdate ResetPassword synchronization with LDAP during logon.

Parameters:
aRegistrationUpdate - java.sql.Timestamp
Returns:
void

setState

public void setState(java.lang.Integer aState)

The state of User.

Parameters:
aState - java.lang.Integer
Returns:
void

setState

public void setState(java.lang.String aState)

Set the state of user.

Specified by:
setState in interface UserAccessBeanData
Parameters:
aState - java.lang.String
Returns:
void

setUserField1

public void setUserField1(java.lang.String aUserField1)

Set user field 1 for customization.

Specified by:
setUserField1 in interface UserAccessBeanData
Parameters:
aUserField1 - java.lang.String
Returns:
void

setUserField2

public void setUserField2(java.lang.String aUserField2)

Set user field 2 for customization.

Specified by:
setUserField2 in interface UserAccessBeanData
Parameters:
aUserField2 - java.lang.String
Returns:
void

setUserField3

public void setUserField3(java.lang.String aUserField3)

Set user field 3 for customization.

Specified by:
setUserField3 in interface UserAccessBeanData
Parameters:
aUserField3 - java.lang.String
Returns:
void