com.ibm.commerce.user.objects
Class PolicyAccountAccessBean

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

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

This table stores the account policies. This access bean corresponds to the database table 'PLCYACCT'.

See Also:
Serialized Form

Constructor Summary
PolicyAccountAccessBean()
Zero argument constructor used to initialize the access bean.
PolicyAccountAccessBean(javax.ejb.EJBObject o)
constructor
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).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findAll()
The SQL is "SELECT * FROM PLCYACCT T1 WHERE 1 = 1".
PolicyAccountDescriptionAccessBean getDescription(java.lang.Integer languageId, java.lang.Integer storeId)
Description of policy account.
java.lang.String getPolicyAccountId()
This method accesses a non-CMP field
java.lang.Integer getPolicyAccountIdInEJBType()
This method accesses a non-CMP field
java.lang.String getPolicyAccountLockoutId()
This method accesses a non-CMP field
java.lang.Long getPolicyAccountLockoutIdInEJBType()
This method accesses a non-CMP field
java.lang.String getPolicyPasswordId()
This method accesses a non-CMP field
java.lang.Long getPolicyPasswordIdInEJBType()
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_iPolicyAccountId(java.lang.String newValue)
Set the primary key for this object
void setPolicyAccountLockoutId(java.lang.Long newValue)
This method accesses a non-CMP field
void setPolicyAccountLockoutId(java.lang.String newValue)
This method accesses a non-CMP field
void setPolicyPasswordId(java.lang.Long newValue)
This method accesses a non-CMP field
void setPolicyPasswordId(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

PolicyAccountAccessBean

public PolicyAccountAccessBean()
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.PolicyAccount com.ibm.commerce.user.objimpl.PolicyAccountHomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.PolicyAccountKey) 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_iPolicyAccountId( java.lang.Integer )

PolicyAccountAccessBean

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

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

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

setInitKey_iPolicyAccountId

public void setInitKey_iPolicyAccountId(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

getPolicyAccountLockoutId

public java.lang.String getPolicyAccountLockoutId()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getPolicyAccountLockoutId in interface PolicyAccountAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPolicyAccountLockoutIdInEJBType

public java.lang.Long getPolicyAccountLockoutIdInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPolicyAccountLockoutId

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

setPolicyAccountLockoutId

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

getPolicyAccountId

public java.lang.String getPolicyAccountId()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getPolicyAccountId in interface PolicyAccountAccessBeanData
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 accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPolicyPasswordId

public java.lang.String getPolicyPasswordId()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getPolicyPasswordId in interface PolicyAccountAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPolicyPasswordIdInEJBType

public java.lang.Long getPolicyPasswordIdInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPolicyPasswordId

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

setPolicyPasswordId

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

getDescription

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

Description of policy account.

Parameters:
languageId - java.lang.Integer
storeId - 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

Feedback