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.

See Also:
Serialized Form

Constructor Summary
CurrentInterestItemListAccessBean()
          constructor
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 arg0)
          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 provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.
 void setInterestListNumber(java.lang.String newValue)
          This method provides access to the CIITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.
 void setUserReferenceNumber(java.lang.Long newValue)
          This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setUserReferenceNumber(java.lang.String newValue)
          This method provides access to the CIITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentInterestItemListAccessBean

public CurrentInterestItemListAccessBean()
constructor

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

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 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:
setUserReferenceNumber in interface CurrentInterestItemListAccessBeanData
Parameters:
newValue - String
Returns:
void

setUserReferenceNumber

public void setUserReferenceNumber(java.lang.Long newValue)

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.

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

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 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:
newValue - String
Returns:
void

setInterestListNumber

public void setInterestListNumber(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void