|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.order.objects.OrderItemOfferRelationshipAccessBean
This bean provides access to the ORDIOFFER table.
The following is a description of this table:
Each row of this table indicates an Offer that was searched to obtain the price for an OrderItem. These rows are created by the OrderItemAdd and OrderItemUpdate commands.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrderItemOfferRelationshipAccessBean()
Default constructor. |
|
OrderItemOfferRelationshipAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
OrderItemOfferRelationshipAccessBean(java.lang.Long anOfferId,
java.lang.Long anOrderItemId)
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 |
findByOfferId(java.lang.Long anOfferId)
Retrieves all the order items for which the price was obtained by searching the specified offer. The SQL query used to fetch all the required rows from the ORDIOFFER table is: SELECT * FROM ORDIOFFER T1 WHERE (T1.OFFER_ID = ?) |
java.util.Enumeration |
findByOrderItemId(java.lang.Long anOrderItemId)
Retrieves all the offers searched to obtain the price for specified order item. The SQL query used to fetch all the required rows from the ORDIOFFER table is: SELECT * FROM ORDIOFFER T1 WHERE (T1.ORDERITEM_ID = ?) |
java.lang.String |
getOfferId()
This method provides access to the ORDIOFFER.OFFER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOfferIdInEJBType()
This method provides access to the ORDIOFFER.OFFER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getOrderItemId()
This method provides access to the ORDIOFFER.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderItemIdInEJBType()
This method provides access to the ORDIOFFER.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_iOfferId(java.lang.String aInitKey_iOfferId)
Set the primary key for this object |
void |
setInitKey_iOrderItemId(java.lang.String aInitKey_iOrderItemId)
Set the primary key for this object |
void |
setOfferId(java.lang.Long aOfferId)
This method provides access to the ORDIOFFER.OFFER_ID column of DB2 type BIGINT NOT NULL. |
void |
setOfferId(java.lang.String aOfferId)
This method provides access to the ORDIOFFER.OFFER_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the ORDIOFFER.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.String aOrderItemId)
This method provides access to the ORDIOFFER.ORDERITEMS_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 |
public OrderItemOfferRelationshipAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderItemOfferRelationshipAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic OrderItemOfferRelationshipAccessBean(java.lang.Long anOfferId, java.lang.Long anOrderItemId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
anOfferId
- java.lang.Long Offer identifieranOrderItemId
- java.lang.Long Order item identifierjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOfferId(java.lang.Long anOfferId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the order items for which the price was obtained by searching the specified offer.
The SQL query used to fetch all the required rows from the
ORDIOFFER table is:
SELECT * FROM ORDIOFFER T1 WHERE (T1.OFFER_ID = ?)
anOfferId
- java.lang.Long Offer identifierjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrderItemId(java.lang.Long anOrderItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the offers searched to obtain the price for specified order item.
The SQL query used to fetch all the required rows from the
ORDIOFFER table is:
SELECT * FROM ORDIOFFER T1 WHERE (T1.ORDERITEM_ID = ?)
anOrderItemId
- java.lang.Long Order item identifierjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getOfferId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIOFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Offer.
getOfferId
in interface OrderItemOfferRelationshipAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getOfferIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIOFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Offer.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getOrderItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIOFFER.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
getOrderItemId
in interface OrderItemOfferRelationshipAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getOrderItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDIOFFER.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setInitKey_iOfferId(java.lang.String aInitKey_iOfferId)
Set the primary key for this object
aInitKey_iOfferId
- java.lang.Stringpublic void setInitKey_iOrderItemId(java.lang.String aInitKey_iOrderItemId)
Set the primary key for this object
aInitKey_iOrderItemId
- java.lang.Stringpublic void setOfferId(java.lang.Long aOfferId)
This method provides access to the ORDIOFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Offer.
aOfferId
- java.lang.Longpublic void setOfferId(java.lang.String aOfferId)
This method provides access to the ORDIOFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Offer.
setOfferId
in interface OrderItemOfferRelationshipAccessBeanData
aOfferId
- java.lang.Stringpublic void setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the ORDIOFFER.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
aOrderItemId
- java.lang.Longpublic void setOrderItemId(java.lang.String aOrderItemId)
This method provides access to the ORDIOFFER.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
setOrderItemId
in interface OrderItemOfferRelationshipAccessBeanData
aOrderItemId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |