com.ibm.commerce.catalog.objects
Class CurrentInterestItemListAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.catalog.objects.CurrentInterestItemListAccessBean
All Implemented Interfaces:
CurrentInterestItemListAccessBeanData, java.io.Serializable

public class CurrentInterestItemListAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CurrentInterestItemListAccessBeanData

This bean provides access to the CIITEMLIST table.

The following is a description of this table:

Each row in this table represents the relationship between an IItemlist and a Member to which it is the current list.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CurrentInterestItemListAccessBean()
          Default constructor.
CurrentInterestItemListAccessBean(com.ibm.commerce.catalog.objects.CurrentInterestItemListKey aCurrentInterestItemListKey)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
CurrentInterestItemListAccessBean(javax.ejb.EJBObject currentIntItemListEJBObject)
          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 findByUser(java.lang.Long anMemberId)
          This finder method returns the list of CurrentInterestItemList Access Bean with Member ID.
 java.lang.String getInterestListNumber()
          This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getInterestListNumberInEJBType()
          This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getUserReferenceNumber()
          This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getUserReferenceNumberInEJBType()
          This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_interestListNumber(java.lang.String aInitKey_interestListNumber)
          Set the primary key for this object
 void setInitKey_userReferenceNumber(java.lang.String aInitKey_userReferenceNumber)
          Set the primary key for this object
 void setInterestListNumber(java.lang.Long anInterestListNumber)
          This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.
 void setInterestListNumber(java.lang.String astrInterestListNumber)
          This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.
 void setUserReferenceNumber(java.lang.Long anMemberId)
          This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setUserReferenceNumber(java.lang.String anMemberId)
          This method provides access to the CIITEMLIST.MEMBER_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

CurrentInterestItemListAccessBean

public CurrentInterestItemListAccessBean()

Default constructor. Maps to findByPrimaryKey.


CurrentInterestItemListAccessBean

public CurrentInterestItemListAccessBean(com.ibm.commerce.catalog.objects.CurrentInterestItemListKey aCurrentInterestItemListKey)
                                  throws javax.ejb.CreateException,
                                         java.rmi.RemoteException,
                                         javax.naming.NamingException

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

Parameters:
aCurrentInterestItemListKey - The Current Interest Item List Key which can be created by calling its constructor, the parameters included the InterestItemList reference number and the User reference number com.ibm.commerce.catalog.objects.CurrentInterestItemListKey
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception

CurrentInterestItemListAccessBean

public CurrentInterestItemListAccessBean(javax.ejb.EJBObject currentIntItemListEJBObject)
                                  throws java.rmi.RemoteException

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

Parameters:
currentIntItemListEJBObject - The CurrentInterestItemList Access Bean javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException 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

findByUser

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

This finder method returns the list of CurrentInterestItemList Access Bean with Member ID.

SQL:
SELECT * FROM CIITEMLIST WHERE CIITEMLIST.MEMBER_ID = anMemberId

Parameters:
anMemberId - The member ID for the Current Interest Item List java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getInterestListNumber

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

This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The interest item list which is a current list for one or more members.

Specified by:
getInterestListNumber in interface CurrentInterestItemListAccessBeanData
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

getInterestListNumberInEJBType

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

This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The interest item list which is a current list for one or more members.

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

getUserReferenceNumber

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

This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Member ID to which the Interest Item List is the current.

Specified by:
getUserReferenceNumber in interface CurrentInterestItemListAccessBeanData
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

getUserReferenceNumberInEJBType

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

This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Member ID to which the Interest Item List is the current.

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_interestListNumber

public void setInitKey_interestListNumber(java.lang.String aInitKey_interestListNumber)

Set the primary key for this object

Parameters:
aInitKey_interestListNumber - The Interest Item List reference number java.lang.String
Returns:
void

setInitKey_userReferenceNumber

public void setInitKey_userReferenceNumber(java.lang.String aInitKey_userReferenceNumber)

Set the primary key for this object

Parameters:
aInitKey_userReferenceNumber - The Member ID to which the Interest Item List is the current java.lang.String
Returns:
void

setInterestListNumber

public void setInterestListNumber(java.lang.Long anInterestListNumber)

This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The interest item list which is a current list for one or more members.

Parameters:
anInterestListNumber - The Interest Item List ID java.lang.Long
Returns:
void

setInterestListNumber

public void setInterestListNumber(java.lang.String astrInterestListNumber)

This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The interest item list which is a current list for one or more members.

Specified by:
setInterestListNumber in interface CurrentInterestItemListAccessBeanData
Parameters:
astrInterestListNumber - The Interest Item List ID java.lang.String
Returns:
void

setUserReferenceNumber

public void setUserReferenceNumber(java.lang.Long anMemberId)

This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Member ID to which the Interest Item List is the current.

Parameters:
anMemberId - The owner of the Interest Item List java.lang.Long
Returns:
void

setUserReferenceNumber

public void setUserReferenceNumber(java.lang.String anMemberId)

This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Member to which the Interest Item List is the current.

Specified by:
setUserReferenceNumber in interface CurrentInterestItemListAccessBeanData
Parameters:
anMemberId - The owner of the Interest Item List java.lang.String
Returns:
void