com.ibm.commerce.user.objects
Class UserRegistryAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.user.objects.UserRegistryAccessBean
All Implemented Interfaces:
UserRegistryAccessBeanData

public class UserRegistryAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements UserRegistryAccessBeanData

This table stores user authentication information. This access bean corresponds to the database table 'USERREG'.

See Also:
Serialized Form

Constructor Summary
UserRegistryAccessBean()
Zero argument constructor used to initialize the access bean.
UserRegistryAccessBean(javax.ejb.EJBObject o)
constructor
UserRegistryAccessBean(java.lang.Long aUserId, java.lang.String aLogonName)
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findAdministrators()
The SQL is "SELECT * FROM USERREG T1 WHERE (USERS_ID = ANY (SELECT users_id FROM users WHERE registertype IN ('A','S'))) ORDER BY logonId".
java.util.Enumeration findByAdministratorLogonId(java.lang.String aLogonId)
The SQL is "SELECT * FROM USERREG T1 WHERE (T1.LOGONID LIKE ?) AND (T1.USERS_ID = ANY (SELECT USERS.USERS_ID FROM USERS WHERE USERS.REGISTERTYPE = 'A' OR USERS.REGISTERTYPE = 'S'))".
UserRegistryAccessBean findByCISLogonId(java.lang.String aLogonId)
Find a use by logon id (case insensitive)
java.util.Enumeration findByPolicyAccountId(java.lang.Integer nPolicyAccountId)
The SQL is "SELECT * FROM USERREG T1 WHERE (T1.PLCYACCT_ID = ?)"
UserRegistryAccessBean findByUserLogonId(java.lang.String aLogonId)
The SQL is "SELECT * FROM USERREG T1 WHERE (T1.LOGONID = ?)".
java.lang.String getChallengeAnswer()
This method provides access to the USERREG.CHALLENGEANSWER column of DB2 type VARCHAR(254).
java.lang.String getChallengeQuestion()
This method provides access to the USERREG.CHALLENGEQUESTION column of DB2 type VARCHAR(254).
java.lang.String getLogonId()
This method provides access to the USERREG.LOGONID column of DB2 type VARCHAR(254) NOT NULL.
byte[] getLogonPassword()
This method provides access to the USERREG.LOGONPASSWORD column of DB2 type CHAR(128) FOR BIT DATA.
java.lang.String getPasswordCreation()
This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP.
java.sql.Timestamp getPasswordCreationInEJBType()
This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP.
java.lang.String getPasswordExpired()
This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER.
java.lang.Integer getPasswordExpiredInEJBType()
This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER.
java.lang.String getPasswordInvalid()
This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP.
java.sql.Timestamp getPasswordInvalidInEJBType()
This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP.
java.lang.String getPasswordRetries()
This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER DEFAULT 0.
java.lang.Integer getPasswordRetriesInEJBType()
This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER DEFAULT 0.
java.lang.String getPolicyAccountId()
This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER.
java.lang.Integer getPolicyAccountIdInEJBType()
This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER.
java.lang.String getSalt()
This method provides access to the USERREG.SALT column of DB2 type VARCHAR(254).
java.lang.String getStatus()
This method provides access to the USERREG.STATUS column of DB2 type INTEGER.
java.lang.Integer getStatusInEJBType()
This method provides access to the USERREG.STATUS column of DB2 type INTEGER.
java.lang.String getTimeout()
This method provides access to the USERREG.TIMEOUT column of DB2 type BIGINT NOT NULL DEFAULT -1.
java.lang.Long getTimeoutInEJBType()
This method provides access to the USERREG.TIMEOUT column of DB2 type BIGINT NOT NULL DEFAULT -1.
java.lang.String getUserId()
This method provides access to the USERREG.USERS_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getUserIdInEJBType()
This method provides access to the USERREG.USERS_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setChallengeAnswer(java.lang.String newValue)
This method accesses a non-CMP field
void setChallengeQuestion(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_UserId(java.lang.String newValue)
Set the primary key for this object
void setLogonId(java.lang.String newValue)
This method accesses a non-CMP field
void setLogonPassword(byte[] newValue)
This method accesses a non-CMP field
void setPasswordCreation(java.lang.String newValue)
This method accesses a non-CMP field
void setPasswordCreation(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setPasswordExpired(java.lang.Integer newValue)
This method accesses a non-CMP field
void setPasswordExpired(java.lang.String newValue)
This method accesses a non-CMP field
void setPasswordInvalid(java.lang.String newValue)
This method accesses a non-CMP field
void setPasswordInvalid(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setPasswordRetries(java.lang.Integer newValue)
This method accesses a non-CMP field
void setPasswordRetries(java.lang.String newValue)
This method accesses a non-CMP field
void setPolicyAccountId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setPolicyAccountId(java.lang.String newValue)
This method accesses a non-CMP field
void setSalt(java.lang.String newValue)
This method accesses a non-CMP field
void setStatus(java.lang.Integer newValue)
This method accesses a non-CMP field
void setStatus(java.lang.String newValue)
This method accesses a non-CMP field
void setTimeout(java.lang.Long newValue)
This method accesses a non-CMP field
void setTimeout(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

UserRegistryAccessBean

public UserRegistryAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.user.objects.UserRegistry com.ibm.commerce.user.objimpl.UserRegistryHomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.UserRegistryKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_UserId( java.lang.Long )

UserRegistryAccessBean

public UserRegistryAccessBean(javax.ejb.EJBObject o)
                       throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

UserRegistryAccessBean

public UserRegistryAccessBean(java.lang.Long aUserId,
                              java.lang.String aLogonName)
                       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:
aUserId - java.lang.Long
aLogonName - 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
Method Detail

findByCISLogonId

public UserRegistryAccessBean findByCISLogonId(java.lang.String aLogonId)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

Find a use by logon id (case insensitive)

"SELECT * FROM USERREG WHERE (UCASE("LOGONID") + " = ?)" (DB2)

"SELECT * FROM USERREG WHERE (UPPER("LOGONID") + " = ?)" (Oracle)

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

findByUserLogonId

public UserRegistryAccessBean findByUserLogonId(java.lang.String aLogonId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

The SQL is "SELECT * FROM USERREG T1 WHERE (T1.LOGONID = ?)".

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

findAdministrators

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

The SQL is "SELECT * FROM USERREG T1 WHERE (USERS_ID = ANY (SELECT users_id FROM users WHERE registertype IN ('A','S'))) ORDER BY logonId".

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

findByAdministratorLogonId

public java.util.Enumeration findByAdministratorLogonId(java.lang.String aLogonId)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

The SQL is "SELECT * FROM USERREG T1 WHERE (T1.LOGONID LIKE ?) AND (T1.USERS_ID = ANY (SELECT USERS.USERS_ID FROM USERS WHERE USERS.REGISTERTYPE = 'A' OR USERS.REGISTERTYPE = 'S'))".

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

findByPolicyAccountId

public java.util.Enumeration findByPolicyAccountId(java.lang.Integer nPolicyAccountId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

The SQL is "SELECT * FROM USERREG T1 WHERE (T1.PLCYACCT_ID = ?)"

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

setInitKey_UserId

public void setInitKey_UserId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLogonPassword

public byte[] getLogonPassword()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

This method provides access to the USERREG.LOGONPASSWORD column of DB2 type CHAR(128) FOR BIT DATA.

The following is a description of this column:

The encrypted user logon password. Compare with the SHLPSWD column of the SHOPPER table provided with previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Specified by:
getLogonPassword in interface UserRegistryAccessBeanData
Returns:
byte[]
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLogonPassword

public void setLogonPassword(byte[] newValue)
This method accesses a non-CMP field
Specified by:
setLogonPassword in interface UserRegistryAccessBeanData

getPasswordExpired

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

This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER.

The following is a description of this column:

Specifies whether or not the user password has expired. Valid values are 0 (not expired) or 1 (expired).

Specified by:
getPasswordExpired in interface UserRegistryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPasswordExpiredInEJBType

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

This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER.

The following is a description of this column:

Specifies whether or not the user password has expired. Valid values are 0 (not expired) or 1 (expired).

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

setPasswordExpired

public void setPasswordExpired(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPasswordExpired in interface UserRegistryAccessBeanData

setPasswordExpired

public void setPasswordExpired(java.lang.Integer newValue)
This method accesses a non-CMP field

getSalt

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

This method provides access to the USERREG.SALT column of DB2 type VARCHAR(254).

The following is a description of this column:

The value that is prepended to the password before hashing.

Specified by:
getSalt in interface UserRegistryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSalt

public void setSalt(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSalt in interface UserRegistryAccessBeanData

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 USERREG.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 the USERS table.

Specified by:
getUserId in interface UserRegistryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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 USERREG.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 the USERS table.

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

getChallengeQuestion

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

This method provides access to the USERREG.CHALLENGEQUESTION column of DB2 type VARCHAR(254).

The following is a description of this column:

Challenge question for confirmation of the user identity. Compare with the SCHAQUE column of the SHOPPER table provided with previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Specified by:
getChallengeQuestion in interface UserRegistryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setChallengeQuestion

public void setChallengeQuestion(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setChallengeQuestion in interface UserRegistryAccessBeanData

getPolicyAccountId

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

This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER.

The following is a description of this column:

The account policy for this user, foreign key to the PLCYACCT table.

Specified by:
getPolicyAccountId in interface UserRegistryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPolicyAccountIdInEJBType

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

This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER.

The following is a description of this column:

The account policy for this user, foreign key to the PLCYACCT table.

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

setPolicyAccountId

public void setPolicyAccountId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPolicyAccountId in interface UserRegistryAccessBeanData

setPolicyAccountId

public void setPolicyAccountId(java.lang.Integer newValue)
This method accesses a non-CMP field

getPasswordCreation

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

This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time the password for the user was created or updated.

Specified by:
getPasswordCreation in interface UserRegistryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPasswordCreationInEJBType

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

This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time the password for the user was created or updated.

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

setPasswordCreation

public void setPasswordCreation(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPasswordCreation in interface UserRegistryAccessBeanData

setPasswordCreation

public void setPasswordCreation(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getPasswordRetries

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

This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER DEFAULT 0.

The following is a description of this column:

The number of times consecutively the password is entered incorrectly.

Specified by:
getPasswordRetries in interface UserRegistryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPasswordRetriesInEJBType

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

This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER DEFAULT 0.

The following is a description of this column:

The number of times consecutively the password is entered incorrectly.

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

setPasswordRetries

public void setPasswordRetries(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPasswordRetries in interface UserRegistryAccessBeanData

setPasswordRetries

public void setPasswordRetries(java.lang.Integer newValue)
This method accesses a non-CMP field

getPasswordInvalid

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

This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of the last failed attempt to log in.

Specified by:
getPasswordInvalid in interface UserRegistryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPasswordInvalidInEJBType

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

This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp of the last failed attempt to log in.

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

setPasswordInvalid

public void setPasswordInvalid(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPasswordInvalid in interface UserRegistryAccessBeanData

setPasswordInvalid

public void setPasswordInvalid(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getChallengeAnswer

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

This method provides access to the USERREG.CHALLENGEANSWER column of DB2 type VARCHAR(254).

The following is a description of this column:

Answer to challenge question. Compare with the SHCHAANS column of the SHOPPER table provided with previous versions of WebSphere Commerce or WebSphere Commerce Suite.

Specified by:
getChallengeAnswer in interface UserRegistryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setChallengeAnswer

public void setChallengeAnswer(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setChallengeAnswer in interface UserRegistryAccessBeanData

getStatus

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

This method provides access to the USERREG.STATUS column of DB2 type INTEGER.

The following is a description of this column:

Allows the user to have the logon ID disabled without removing the user from the system. Valid values are as follows:&l

Specified by:
getStatus in interface UserRegistryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStatusInEJBType

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

This method provides access to the USERREG.STATUS column of DB2 type INTEGER.

The following is a description of this column:

Allows the user to have the logon ID disabled without removing the user from the system. Valid values are as follows:&l

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

setStatus

public void setStatus(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStatus in interface UserRegistryAccessBeanData

setStatus

public void setStatus(java.lang.Integer newValue)
This method accesses a non-CMP field

getLogonId

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

This method provides access to the USERREG.LOGONID column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The user logon ID.

Specified by:
getLogonId in interface UserRegistryAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLogonId

public void setLogonId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLogonId in interface UserRegistryAccessBeanData

getTimeout

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

This method provides access to the USERREG.TIMEOUT column of DB2 type BIGINT NOT NULL DEFAULT -1.

The following is a description of this column:

Time for which the user cannot log in after failed attempts to log in.

Specified by:
getTimeout in interface UserRegistryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTimeoutInEJBType

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

This method provides access to the USERREG.TIMEOUT column of DB2 type BIGINT NOT NULL DEFAULT -1.

The following is a description of this column:

Time for which the user cannot log in after failed attempts to log in.

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

setTimeout

public void setTimeout(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTimeout in interface UserRegistryAccessBeanData

setTimeout

public void setTimeout(java.lang.Long newValue)
This method accesses a non-CMP field

Feedback