com.ibm.commerce.catalog.objects
Class CurrentInterestItemListAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.CurrentInterestItemListAccessBean
All Implemented Interfaces:
CurrentInterestItemListAccessBeanData

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

Each row in this table represents the relationship between an IItemlist and a member to which it is the current list. This access bean corresponds to the database table 'CIITEMLIST'.

See Also:
Serialized Form

Constructor Summary
CurrentInterestItemListAccessBean()
Zero argument constructor used to initialize the access bean.
CurrentInterestItemListAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByUser(java.lang.Long user_id)
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_interestListNumber(java.lang.String newValue)
Set the primary key for this object
void setInitKey_userReferenceNumber(java.lang.String newValue)
Set the primary key for this object
void setInterestListNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setInterestListNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setUserReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setUserReferenceNumber(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

CurrentInterestItemListAccessBean

public CurrentInterestItemListAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.catalog.objects.CurrentInterestItemList com.ibm.commerce.catalog.objimpl.CurrentInterestItemListHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.CurrentInterestItemListKey) 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_interestListNumber( java.lang.Long ) setInitKey_userReferenceNumber( java.lang.Long )

CurrentInterestItemListAccessBean

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

findByUser

public java.util.Enumeration findByUser(java.lang.Long user_id)
                                 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 = user_id

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

setInitKey_interestListNumber

public void setInitKey_interestListNumber(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_userReferenceNumber

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

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 to which the IItemlist is the current.

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

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 to which the IItemlist is the current.

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

setUserReferenceNumber

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

setUserReferenceNumber

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setInterestListNumber

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

setInterestListNumber

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

Feedback