java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.InterestItemListAccessBean
Each row in this table represents an InterestItemList.
Constructor Summary | |
---|---|
InterestItemListAccessBean() constructor | |
InterestItemListAccessBean(javax.ejb.EJBObject o) constructor | |
InterestItemListAccessBean(java.lang.Long arg0,
java.lang.String arg1) constructor | |
InterestItemListAccessBean(java.lang.Long arg0, java.lang.String arg1,
java.lang.Double arg2) constructor |
Method Summary | |
---|---|
InterestItemAccessBean |
addInterestItem(java.lang.Long arg0,
java.lang.Integer arg1) This method adds an Interest Item to the Interest Item List for the specified store. |
void |
addToCurrentUserList(java.lang.Long arg0) 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 arg0) 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 arg0) This finder method return an enumeration of InterestItemList Access Bean with the specified User reference number. |
java.util.Enumeration |
findListsForUser(java.lang.Long arg0) This finder method return an enumeration of InterestItemList Access Bean for the specified user. |
InterestItemListAccessBean |
findNewestListForUser(java.lang.Long arg0) This finder method return the latest InterestItemList Access Bean that was last updated by the specified user. |
java.util.Enumeration |
findWithPushDownQuery(java.lang.String arg0) 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 arg0) Removes the list from the user's current interest item list. |
void |
removeInterestItem(java.lang.Long arg0) Removes the interest item for the given catalog entry from this list |
void |
setDescription(java.lang.String newValue) This method provides access to the IITEMLIST.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL DEFAULT ''. |
void |
setDisplaySequenceNumber(java.lang.Double newValue) This method provides access to the IITEMLIST.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
void |
setDisplaySequenceNumber(java.lang.String newValue) This method provides access to the IITEMLIST.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
void |
setInitKey_interestListNumber(java.lang.String newValue) Set the primary key for this object |
void |
setInterestListNumber(java.lang.Long newValue) This method provides access to the IITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL. |
void |
setInterestListNumber(java.lang.String newValue) This method provides access to the IITEMLIST.IITEMLIST_ID column of DB2 type BIGINT NOT NULL. |
void |
setLastChangeTime(java.lang.String newValue) This method provides access to the IITEMLIST.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setLastChangeTime(java.sql.Timestamp newValue) This method provides access to the IITEMLIST.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setUserReferenceNumber(java.lang.Long newValue) This method provides access to the IITEMLIST.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setUserReferenceNumber(java.lang.String newValue) This method provides access to the IITEMLIST.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 |
---|
public InterestItemListAccessBean()
public InterestItemListAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public InterestItemListAccessBean(java.lang.Long arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
public InterestItemListAccessBean(java.lang.Long arg0, java.lang.String arg1, java.lang.Double arg2) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.lang.Stringarg2
- java.lang.Doublejavax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail |
---|
public InterestItemListAccessBean findByMaximumDisplaySequenceNumber(java.lang.Long arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic InterestItemListAccessBean findNewestListForUser(java.lang.Long arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic java.util.Enumeration findCurrentListsForUser(java.lang.Long arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic java.util.Enumeration findListsForUser(java.lang.Long arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic java.util.Enumeration findWithPushDownQuery(java.lang.String arg0) 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"java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_interestListNumber(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getDisplaySequenceNumber
in interface
InterestItemListAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDisplaySequenceNumber(java.lang.String newValue)
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.
setDisplaySequenceNumber
in interface
InterestItemListAccessBeanData
newValue
- Stringpublic void setDisplaySequenceNumber(java.lang.Double newValue)
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.
newValue
- java.lang.Doublepublic 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.
getDescription
in interface
InterestItemListAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDescription(java.lang.String newValue)
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.
setDescription
in interface
InterestItemListAccessBeanData
newValue
- java.lang.Stringpublic 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.
getLastChangeTime
in interface
InterestItemListAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLastChangeTime(java.lang.String newValue)
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.
setLastChangeTime
in interface
InterestItemListAccessBeanData
newValue
- Stringpublic void setLastChangeTime(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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.
getUserReferenceNumber
in interface
InterestItemListAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setUserReferenceNumber(java.lang.String newValue)
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.
setUserReferenceNumber
in interface
InterestItemListAccessBeanData
newValue
- Stringpublic void setUserReferenceNumber(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getInterestListNumber
in interface
InterestItemListAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setInterestListNumber(java.lang.String newValue)
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.
setInterestListNumber
in interface
InterestItemListAccessBeanData
newValue
- Stringpublic void setInterestListNumber(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Stringjava.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException
public InterestItemAccessBean addInterestItem(java.lang.Long arg0, java.lang.Integer arg1) 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.
arg1
- The Catalog Entry ID adding into the Interest Item List
java.lang.Longjavax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic 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.
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public void addToCurrentUserList(java.lang.Long arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Makes this list current for the given user.
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic void removeFromCurrentUserList(java.lang.Long arg0) 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.
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.ejb.RemoveException
- The javax.ejb.RemoveException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic void removeInterestItem(java.lang.Long arg0) 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
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.ejb.RemoveException
- The javax.ejb.RemoveException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exception