com.ibm.commerce.user.objects
Class UserRegistryAccessBean

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

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

This bean provides access to the USERREG table.

The following is a description of this table:

This table stores user authentication information.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
UserRegistryAccessBean()
          Default constructor.
UserRegistryAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
UserRegistryAccessBean(java.util.Hashtable aProperties)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
UserRegistryAccessBean(java.lang.Long aUserId, java.lang.String aLogonName)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
UserRegistryAccessBean(com.ibm.commerce.user.objimpl.UserRegistryInputData aUserRegistryInputData)
          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).
 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 aAdministratorLogonId)
          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 aPolicyAccountId)
          The SQL is "SELECT * FROM USERREG T1 WHERE (T1.PLCYACCT_ID = ?)"
 UserRegistryAccessBean findByUserLogonId(java.lang.String aUserLogonId)
          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) NULL.
 java.lang.String getChallengeQuestion()
          This method provides access to the USERREG.CHALLENGEQUESTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLogonId()
          This method provides access to the USERREG.LOGONID column of DB2 type VARCHAR(254) NOT NULL.
 byte[] getLogonPassword()
          Logon password.
 java.lang.String getPasswordCreation()
          This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getPasswordCreationInEJBType()
          This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP NULL.
 java.lang.String getPasswordExpired()
          This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER NULL.
 java.lang.Integer getPasswordExpiredInEJBType()
          This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER NULL.
 java.lang.String getPasswordInvalid()
          This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getPasswordInvalidInEJBType()
          This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP NULL.
 java.lang.String getPasswordRetries()
          This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER NULL.
 java.lang.Integer getPasswordRetriesInEJBType()
          This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER NULL.
 java.lang.String getPolicyAccountId()
          This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getPolicyAccountIdInEJBType()
          This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER NULL.
 java.lang.String getSalt()
          This method provides access to the USERREG.SALT column of DB2 type VARCHAR(254) NULL.
 java.lang.String getStatus()
          Status: 1-enabled 0-disabled This allows a user to have the logon id disabled without removing from the system.
 java.lang.Integer getStatusInEJBType()
          Status: 1-enabled 0-disabled This allows a user to have the logon id disabled without removing from the system.
 java.lang.String getTimeout()
          Timeout value.
 java.lang.Long getTimeoutInEJBType()
          The timeout value.
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setChallengeAnswer(java.lang.String aChallengeAnswer)
          This method provides access to the USERREG.CHALLENGEANSWER column of DB2 type VARCHAR(254) NULL.
 void setChallengeQuestion(java.lang.String aChallengeQuestion)
          This method provides access to the USERREG.CHALLENGEQUESTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_UserId(java.lang.String aInitKey_UserId)
          Set the primary key for this object
 void setLogonId(java.lang.String aLogonId)
          This method provides access to the USERREG.LOGONID column of DB2 type VARCHAR(254) NOT NULL.
 void setLogonPassword(byte[] aLogonPassword)
          Logon password.
 void setPasswordCreation(java.lang.String aPasswordCreation)
          This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP NULL.
 void setPasswordCreation(java.sql.Timestamp aPasswordCreation)
          This method provides access to the USERREG.PASSWORDCREATION column of DB2 type TIMESTAMP NULL.
 void setPasswordExpired(java.lang.Integer aPasswordExpired)
          This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER NULL.
 void setPasswordExpired(java.lang.String aPasswordExpired)
          This method provides access to the USERREG.PASSWORDEXPIRED column of DB2 type INTEGER NULL.
 void setPasswordInvalid(java.lang.String aPasswordInvalid)
          This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP NULL.
 void setPasswordInvalid(java.sql.Timestamp aPasswordInvalid)
          This method provides access to the USERREG.PASSWORDINVALID column of DB2 type TIMESTAMP NULL.
 void setPasswordRetries(java.lang.Integer aPasswordRetries)
          This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER NULL.
 void setPasswordRetries(java.lang.String aPasswordRetries)
          This method provides access to the USERREG.PASSWORDRETRIES column of DB2 type INTEGER NULL.
 void setPolicyAccountId(java.lang.Integer aPolicyAccountId)
          This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER NULL.
 void setPolicyAccountId(java.lang.String aPolicyAccountId)
          This method provides access to the USERREG.PLCYACCT_ID column of DB2 type INTEGER NULL.
 void setSalt(java.lang.String aSalt)
          This method provides access to the USERREG.SALT column of DB2 type VARCHAR(254) NULL.
 void setStatus(java.lang.Integer aStatus)
          Status: 1-enabled 0-disabled This allows a user to have the logon id disabled without removing from the system.
 void setStatus(java.lang.String aStatus)
          Status: 1-enabled 0-disabled This allows a user to have the logon id disabled without removing from the system.
 void setTimeout(java.lang.Long aTimeout)
          Set the timeout value.
 void setTimeout(java.lang.String aTimeout)
          Set the timeout value.
 
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

UserRegistryAccessBean

public UserRegistryAccessBean()

Default constructor. Maps to findByPrimaryKey.


UserRegistryAccessBean

public UserRegistryAccessBean(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

UserRegistryAccessBean

public UserRegistryAccessBean(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

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

UserRegistryAccessBean

public UserRegistryAccessBean(com.ibm.commerce.user.objimpl.UserRegistryInputData aUserRegistryInputData)
                       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:
aUserRegistryInputData - com.ibm.commerce.user.objimpl.UserRegistryInputData
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

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

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 - The javax.naming.NamingException exception

findByAdministratorLogonId

public java.util.Enumeration findByAdministratorLogonId(java.lang.String aAdministratorLogonId)
                                                 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:
aAdministratorLogonId - 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 - The javax.naming.NamingException exception

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

findByPolicyAccountId

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

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

Parameters:
aPolicyAccountId - 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 - The javax.naming.NamingException exception

findByUserLogonId

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

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

Parameters:
aUserLogonId - 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 - The javax.naming.NamingException exception

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

The following is a description of this column:

Answer to challenge question. Compare with the SHCHAANS column of the SHOPPER table.

Specified by:
getChallengeAnswer in interface UserRegistryAccessBeanData
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

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

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.

Specified by:
getChallengeQuestion in interface UserRegistryAccessBeanData
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

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

getLogonPassword

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

Logon password. ISHOPPER SHLPSWD, encrypted

Specified by:
getLogonPassword in interface UserRegistryAccessBeanData
Returns:
byte[]
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

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

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:
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

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

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

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

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:
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

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

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

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

The following is a description of this column:

Timestamp of the last failed attempt to log in.

Specified by:
getPasswordInvalid in interface UserRegistryAccessBeanData
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

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

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

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

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:
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

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

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

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

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:
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

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

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

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

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

getStatus

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

Status: 1-enabled 0-disabled This allows a user to have the logon id disabled without removing from the system.

Specified by:
getStatus in interface UserRegistryAccessBeanData
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

getStatusInEJBType

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

Status: 1-enabled 0-disabled This allows a user to have the logon id disabled without removing from the system.

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

getTimeout

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

Timeout value.

Specified by:
getTimeout in interface UserRegistryAccessBeanData
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

getTimeoutInEJBType

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

The timeout value.

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

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:
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 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 - 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

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

setChallengeAnswer

public void setChallengeAnswer(java.lang.String aChallengeAnswer)

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

The following is a description of this column:

Answer to challenge question. Compare with the SHCHAANS column of the SHOPPER table.

Specified by:
setChallengeAnswer in interface UserRegistryAccessBeanData
Parameters:
aChallengeAnswer - java.lang.String
Returns:
void

setChallengeQuestion

public void setChallengeQuestion(java.lang.String aChallengeQuestion)

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

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.

Specified by:
setChallengeQuestion in interface UserRegistryAccessBeanData
Parameters:
aChallengeQuestion - java.lang.String
Returns:
void

setInitKey_UserId

public void setInitKey_UserId(java.lang.String aInitKey_UserId)

Set the primary key for this object

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

setLogonId

public void setLogonId(java.lang.String aLogonId)

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:
setLogonId in interface UserRegistryAccessBeanData
Parameters:
aLogonId - java.lang.String
Returns:
void

setLogonPassword

public void setLogonPassword(byte[] aLogonPassword)

Logon password. SHOPPER SHLPSWD, encrypted.

Specified by:
setLogonPassword in interface UserRegistryAccessBeanData
Parameters:
aLogonPassword - byte[]
Returns:
void

setPasswordCreation

public void setPasswordCreation(java.lang.String aPasswordCreation)

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

The following is a description of this column:

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

Specified by:
setPasswordCreation in interface UserRegistryAccessBeanData
Parameters:
aPasswordCreation - java.lang.String
Returns:
void

setPasswordCreation

public void setPasswordCreation(java.sql.Timestamp aPasswordCreation)

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

The following is a description of this column:

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

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

setPasswordExpired

public void setPasswordExpired(java.lang.Integer aPasswordExpired)

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

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

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

setPasswordExpired

public void setPasswordExpired(java.lang.String aPasswordExpired)

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

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:
setPasswordExpired in interface UserRegistryAccessBeanData
Parameters:
aPasswordExpired - java.lang.String
Returns:
void

setPasswordInvalid

public void setPasswordInvalid(java.lang.String aPasswordInvalid)

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

The following is a description of this column:

Timestamp of the last failed attempt to log in.

Specified by:
setPasswordInvalid in interface UserRegistryAccessBeanData
Parameters:
aPasswordInvalid - java.lang.String
Returns:
void

setPasswordInvalid

public void setPasswordInvalid(java.sql.Timestamp aPasswordInvalid)

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

The following is a description of this column:

Timestamp of the last failed attempt to log in.

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

setPasswordRetries

public void setPasswordRetries(java.lang.Integer aPasswordRetries)

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

The following is a description of this column:

The number of times consecutively the password is entered incorrectly.

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

setPasswordRetries

public void setPasswordRetries(java.lang.String aPasswordRetries)

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

The following is a description of this column:

The number of times consecutively the password is entered incorrectly.

Specified by:
setPasswordRetries in interface UserRegistryAccessBeanData
Parameters:
aPasswordRetries - java.lang.String
Returns:
void

setPolicyAccountId

public void setPolicyAccountId(java.lang.Integer aPolicyAccountId)

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

The following is a description of this column:

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

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

setPolicyAccountId

public void setPolicyAccountId(java.lang.String aPolicyAccountId)

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

The following is a description of this column:

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

Specified by:
setPolicyAccountId in interface UserRegistryAccessBeanData
Parameters:
aPolicyAccountId - java.lang.String
Returns:
void

setSalt

public void setSalt(java.lang.String aSalt)

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

The following is a description of this column:

The value that is prepended to the password before hashing.

Specified by:
setSalt in interface UserRegistryAccessBeanData
Parameters:
aSalt - java.lang.String
Returns:
void

setStatus

public void setStatus(java.lang.Integer aStatus)

Status: 1-enabled 0-disabled This allows a user to have the logon id disabled without removing from the system.

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

setStatus

public void setStatus(java.lang.String aStatus)

Status: 1-enabled 0-disabled This allows a user to have the logon id disabled without removing from the system.

Specified by:
setStatus in interface UserRegistryAccessBeanData
Parameters:
aStatus - java.lang.String
Returns:
void

setTimeout

public void setTimeout(java.lang.Long aTimeout)

Set the timeout value.

Parameters:
aTimeout - java.lang.Long
Returns:
void

setTimeout

public void setTimeout(java.lang.String aTimeout)

Set the timeout value.

Specified by:
setTimeout in interface UserRegistryAccessBeanData
Parameters:
aTimeout - java.lang.String
Returns:
void