com.ibm.commerce.user.objects
Class PolicyAccountAccessBean

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

public class PolicyAccountAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PolicyAccountAccessBeanData

This bean provides access to the PLCYACCT table.

The following is a description of this table:

This table stores the account policies.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
PolicyAccountAccessBean()
          Default constructor.
PolicyAccountAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
PolicyAccountAccessBean(java.lang.Long aPolicyAccountLockoutId, java.lang.Long aPolicyPasswordId)
          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 findAll()
          The SQL is "SELECT * FROM PLCYACCT T1 WHERE 1 = 1".
 PolicyAccountDescriptionAccessBean getDescription(java.lang.Integer aDescription, java.lang.Integer aDescription)
          Description of policy account.
 java.lang.String getPolicyAccountId()
          This method provides access to the PLCYACCT.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getPolicyAccountIdInEJBType()
          This method provides access to the PLCYACCT.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getPolicyAccountLockoutId()
          This method provides access to the PLCYACCT.PLCYACCLCK_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getPolicyAccountLockoutIdInEJBType()
          This method provides access to the PLCYACCT.PLCYACCLCK_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPolicyPasswordId()
          This method provides access to the PLCYACCT.PLCYPASSWD_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getPolicyPasswordIdInEJBType()
          This method provides access to the PLCYACCT.PLCYPASSWD_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_iPolicyAccountId(java.lang.String aInitKey_iPolicyAccountId)
          Set the primary key for this object
 void setPolicyAccountLockoutId(java.lang.Long aPolicyAccountLockoutId)
          This method provides access to the PLCYACCT.PLCYACCLCK_ID column of DB2 type BIGINT NOT NULL.
 void setPolicyAccountLockoutId(java.lang.String aPolicyAccountLockoutId)
          This method provides access to the PLCYACCT.PLCYACCLCK_ID column of DB2 type BIGINT NOT NULL.
 void setPolicyPasswordId(java.lang.Long aPolicyPasswordId)
          This method provides access to the PLCYACCT.PLCYPASSWD_ID column of DB2 type BIGINT NOT NULL.
 void setPolicyPasswordId(java.lang.String aPolicyPasswordId)
          This method provides access to the PLCYACCT.PLCYPASSWD_ID column of DB2 type BIGINT NOT NULL.
 
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

PolicyAccountAccessBean

public PolicyAccountAccessBean()

Default constructor. Maps to findByPrimaryKey.


PolicyAccountAccessBean

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

PolicyAccountAccessBean

public PolicyAccountAccessBean(java.lang.Long aPolicyAccountLockoutId,
                               java.lang.Long aPolicyPasswordId)
                        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:
aPolicyAccountLockoutId - java.lang.Long
aPolicyPasswordId - 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
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

findAll

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

The SQL is "SELECT * FROM PLCYACCT T1 WHERE 1 = 1".

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

getDescription

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

Description of policy account.

Parameters:
aDescription - java.lang.Integer
aDescription - java.lang.Integer
Returns:
com.ibm.commerce.user.objects.PolicyAccountDescriptionAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException 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 PLCYACCT.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

ID for the Account Policy table.

Specified by:
getPolicyAccountId in interface PolicyAccountAccessBeanData
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 PLCYACCT.PLCYACCT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

ID for the Account Policy 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

getPolicyAccountLockoutId

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

This method provides access to the PLCYACCT.PLCYACCLCK_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the account lockout policy, foreign key to the PLCYACCLCK table.

Specified by:
getPolicyAccountLockoutId in interface PolicyAccountAccessBeanData
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

getPolicyAccountLockoutIdInEJBType

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

This method provides access to the PLCYACCT.PLCYACCLCK_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the account lockout policy, foreign key to the PLCYACCLCK 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

getPolicyPasswordId

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

This method provides access to the PLCYACCT.PLCYPASSWD_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the password policy, foreign key to the PLCYPASSWD table.

Specified by:
getPolicyPasswordId in interface PolicyAccountAccessBeanData
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

getPolicyPasswordIdInEJBType

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

This method provides access to the PLCYACCT.PLCYPASSWD_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the password policy, foreign key to the PLCYPASSWD 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

setInitKey_iPolicyAccountId

public void setInitKey_iPolicyAccountId(java.lang.String aInitKey_iPolicyAccountId)

Set the primary key for this object

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

setPolicyAccountLockoutId

public void setPolicyAccountLockoutId(java.lang.Long aPolicyAccountLockoutId)

This method provides access to the PLCYACCT.PLCYACCLCK_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the account lockout policy, foreign key to the PLCYACCLCK table.

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

setPolicyAccountLockoutId

public void setPolicyAccountLockoutId(java.lang.String aPolicyAccountLockoutId)

This method provides access to the PLCYACCT.PLCYACCLCK_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the account lockout policy, foreign key to the PLCYACCLCK table.

Specified by:
setPolicyAccountLockoutId in interface PolicyAccountAccessBeanData
Parameters:
aPolicyAccountLockoutId - java.lang.String
Returns:
void

setPolicyPasswordId

public void setPolicyPasswordId(java.lang.Long aPolicyPasswordId)

This method provides access to the PLCYACCT.PLCYPASSWD_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the password policy, foreign key to the PLCYPASSWD table.

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

setPolicyPasswordId

public void setPolicyPasswordId(java.lang.String aPolicyPasswordId)

This method provides access to the PLCYACCT.PLCYPASSWD_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID for the password policy, foreign key to the PLCYPASSWD table.

Specified by:
setPolicyPasswordId in interface PolicyAccountAccessBeanData
Parameters:
aPolicyPasswordId - java.lang.String
Returns:
void