|
||||||||
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.OrderItemTradingRelationshipAccessBean
This bean provides access to the ORDITRD table.
The following is a description of this table:
Each row of this table indicates a TradingAgreement 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 | |
OrderItemTradingRelationshipAccessBean()
Default constructor. |
|
OrderItemTradingRelationshipAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
OrderItemTradingRelationshipAccessBean(java.lang.Long anTradingId,
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 |
findByOrderItemId(java.lang.Long anOrderItemId)
Retrieves all the trading agreements searched to obtain the price for specified order item. The SQL query used to fetch all the required rows from the ORDITRD table is: SELECT * FROM ORDITRD T1 WHERE (T1.ORDERITEMS_ID = ?) |
java.util.Enumeration |
findByTradingId(java.lang.Long anTradingId)
Retrieves all the order items for which the price was obtained by searching the specified trading agreement. The SQL query used to fetch all the required rows from the ORDITRD table is: SELECT * FROM ORDITRD T1 WHERE (T1.TRADING_ID = ?) |
java.lang.String |
getOrderItemId()
This method provides access to the ORDITRD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderItemIdInEJBType()
This method provides access to the ORDITRD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getTradingId()
This method provides access to the ORDITRD.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getTradingIdInEJBType()
This method provides access to the ORDITRD.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_iOrderItemId(java.lang.String aInitKey_iOrderItemId)
Set the primary key for this object |
void |
setInitKey_iTradingId(java.lang.String aInitKey_iTradingId)
Set the primary key for this object |
void |
setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the ORDITRD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.String aOrderItemId)
This method provides access to the ORDITRD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.Long aTradingId)
This method provides access to the ORDITRD.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.String aTradingId)
This method provides access to the ORDITRD.TRADING_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 OrderItemTradingRelationshipAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderItemTradingRelationshipAccessBean(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 OrderItemTradingRelationshipAccessBean(java.lang.Long anTradingId, 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
anTradingId
- java.lang.Long Trading agreement 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 findByOrderItemId(java.lang.Long anOrderItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the trading agreements searched to obtain the price for specified order item.
The SQL query used to fetch all the required rows from the
ORDITRD table is:
SELECT * FROM ORDITRD T1 WHERE (T1.ORDERITEMS_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.util.Enumeration findByTradingId(java.lang.Long anTradingId) 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 trading agreement.
The SQL query used to fetch all the required rows from the
ORDITRD table is:
SELECT * FROM ORDITRD T1 WHERE (T1.TRADING_ID = ?)
anTradingId
- java.lang.Long Trading agreement 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 getOrderItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITRD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
getOrderItemId
in interface OrderItemTradingRelationshipAccessBeanData
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 ORDITRD.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 java.lang.String getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITRD.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingAgreement.
getTradingId
in interface OrderItemTradingRelationshipAccessBeanData
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 getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDITRD.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingAgreement.
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_iOrderItemId(java.lang.String aInitKey_iOrderItemId)
Set the primary key for this object
aInitKey_iOrderItemId
- java.lang.Stringpublic void setInitKey_iTradingId(java.lang.String aInitKey_iTradingId)
Set the primary key for this object
aInitKey_iTradingId
- java.lang.Stringpublic void setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the ORDITRD.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 ORDITRD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
setOrderItemId
in interface OrderItemTradingRelationshipAccessBeanData
aOrderItemId
- java.lang.Stringpublic void setTradingId(java.lang.Long aTradingId)
This method provides access to the ORDITRD.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingAgreement.
aTradingId
- java.lang.Longpublic void setTradingId(java.lang.String aTradingId)
This method provides access to the ORDITRD.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingAgreement.
setTradingId
in interface OrderItemTradingRelationshipAccessBeanData
aTradingId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |