java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.InterestItemListAccessBean
Each row in this table represents an InterestItemList. This access bean corresponds to the database table 'IITEMLIST'.
Constructor Summary | |
InterestItemListAccessBean() Zero argument constructor used to initialize the access bean. |
|
InterestItemListAccessBean(javax.ejb.EJBObject o) constructor |
|
InterestItemListAccessBean(java.lang.Long userReferenceNumber, java.lang.String description) Maps to a corresponding ejbCreate method in the home interface of the EJB This method creates an InterestItemList Access Bean with the specified User reference number, and the Interest Item List Description. |
|
InterestItemListAccessBean(java.lang.Long userReferenceNumber, java.lang.String description, java.lang.Double displaySequenceNumber) Maps to a corresponding ejbCreate method in the home interface of the EJB This method creates an InterestItemList Access Bean with the specified User reference number, the Interest Item List Description, and the Display Sequence. |
Method Summary | |
InterestItemAccessBean | addInterestItem(java.lang.Long arg1, java.lang.Integer arg2) This method adds an Interest Item to the Interest Item List for the specified store. |
void | addToCurrentUserList(java.lang.Long arg1) Makes this list current for the given user. |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
InterestItemListAccessBean | findByMaximumDisplaySequenceNumber(java.lang.Long user_id) This finder method return an InterestItemList Access Bean with highest display sequence number and the specified owner ID. |
java.util.Enumeration | findCurrentListsForUser(java.lang.Long currentUser) This finder method return an enumeration of InterestItemList Access Bean with the specified User reference number. |
java.util.Enumeration | findListsForUser(java.lang.Long ser) This finder method return an enumeration of InterestItemList Access Bean for the specified user. |
InterestItemListAccessBean | findNewestListForUser(java.lang.Long currentUser) This finder method return the latest InterestItemList Access Bean that was last updated by the specified user. |
java.util.Enumeration | findWithPushDownQuery(java.lang.String query) This finder method returns an enumeration of InterestItemList Access Bean with specified query. |
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getDescription() This method provides access to the IITEMLIST.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL DEFAULT ''. |
java.lang.String | getDisplaySequenceNumber() This method provides access to the IITEMLIST.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.Double | getDisplaySequenceNumberInEJBType() This method provides access to the IITEMLIST.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
InterestItemAccessBean[] | getInterestItems() The method returns the list of InterestItem Access Bean in the Interest Item List. |
java.lang.String | getInterestListNumber() This method provides access to the IITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getInterestListNumberInEJBType() This method provides access to the IITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getLastChangeTime() This method provides access to the IITEMLIST.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastChangeTimeInEJBType() This method provides access to the IITEMLIST.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getUserReferenceNumber() This method provides access to the IITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getUserReferenceNumberInEJBType() This method provides access to the IITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | removeFromCurrentUserList(java.lang.Long arg1) Removes the list from the user's current interest item list. |
void | removeInterestItem(java.lang.Long arg1) Removes the interest item for the given catalog entry from this list |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setDisplaySequenceNumber(java.lang.Double newValue) This method accesses a non-CMP field |
void | setDisplaySequenceNumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_interestListNumber(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 | setLastChangeTime(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastChangeTime(java.sql.Timestamp 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 |
public InterestItemListAccessBean()
public InterestItemListAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public InterestItemListAccessBean(java.lang.Long userReferenceNumber, java.lang.String description) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB This method creates an InterestItemList Access Bean with the specified User reference number, and the Interest Item List Description.
public InterestItemListAccessBean(java.lang.Long userReferenceNumber, java.lang.String description, java.lang.Double displaySequenceNumber) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB This method creates an InterestItemList Access Bean with the specified User reference number, the Interest Item List Description, and the Display Sequence.
Method Detail |
public InterestItemListAccessBean findByMaximumDisplaySequenceNumber(java.lang.Long user_id) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This finder method return an InterestItemList Access Bean with highest display sequence number and the specified owner ID.
SQL:
SELECT * FROM IITEMLIST WHERE IITEM.MEMBER_ID = user_id ORDER BY T1.SEQUENCE DESC
public InterestItemListAccessBean findNewestListForUser(java.lang.Long currentUser) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This finder method return the latest InterestItemList Access Bean that was last updated by the specified user.
SQL:
SELECT * FROM IITEMLIST WHERE IITEMLIST.MEMBER_ID = anMemberId ORDER BY IITEMLIST.LASTUPDATE DESC
public java.util.Enumeration findCurrentListsForUser(java.lang.Long currentUser) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This finder method return an enumeration of InterestItemList Access Bean with the specified User reference number.
SQL:
SELECT * FROM IITEMLIST WHERE IITEMLIST.MEMBER_ID = currentUser
public java.util.Enumeration findListsForUser(java.lang.Long ser) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This finder method return an enumeration of InterestItemList Access Bean for the specified user.
SQL:
SELECT * FROM IITEMLIST WHERE IITEMLIST.MEMBER_ID =ser
public java.util.Enumeration findWithPushDownQuery(java.lang.String query) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This finder method returns an enumeration of InterestItemList Access Bean with specified query. The push down query act as the where clause to search in the IITEMLIST table.
An example of the pus down query: "MEMBER_ID=1234 AND IITEMLIST_ID =5678"public void setInitKey_interestListNumber(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getDisplaySequenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
The following is a description of this column:
May be used by a user interface to control the sequence of IItemLists in a list.
public java.lang.Double getDisplaySequenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
The following is a description of this column:
May be used by a user interface to control the sequence of IItemLists in a list.
public void setDisplaySequenceNumber(java.lang.String newValue)
public void setDisplaySequenceNumber(java.lang.Double newValue)
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL DEFAULT ''.
The following is a description of this column:
A mnemonic description of the IItemList, entered by the customer and suitable for display to the customer.
public void setDescription(java.lang.String newValue)
public java.lang.String getLastChangeTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The last time this IItemList was updated.
public java.sql.Timestamp getLastChangeTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The last time this IItemList was updated.
public void setLastChangeTime(java.lang.String newValue)
public void setLastChangeTime(java.sql.Timestamp newValue)
public java.lang.String getUserReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of the IItemList.
public java.lang.Long getUserReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of the IItemList.
public void setUserReferenceNumber(java.lang.String newValue)
public void setUserReferenceNumber(java.lang.Long newValue)
public java.lang.String getInterestListNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this interest item list.
public java.lang.Long getInterestListNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the IITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this interest item list.
public void setInterestListNumber(java.lang.String newValue)
public void setInterestListNumber(java.lang.Long newValue)
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public InterestItemAccessBean addInterestItem(java.lang.Long arg1, java.lang.Integer arg2) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method adds an Interest Item to the Interest Item List for the specified store.
public InterestItemAccessBean[] getInterestItems() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns the list of InterestItem Access Bean in the Interest Item List.
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public void addToCurrentUserList(java.lang.Long arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Makes this list current for the given user.
public void removeFromCurrentUserList(java.lang.Long arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, javax.ejb.RemoveException, java.rmi.RemoteException
Removes the list from the user's current interest item list.
public void removeInterestItem(java.lang.Long arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, javax.ejb.RemoveException, java.rmi.RemoteException
Removes the interest item for the given catalog entry from this list
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.