java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.order.objects.OrderItemTradingRelationshipAccessBean
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.
Constructor Summary | |
---|---|
OrderItemTradingRelationshipAccessBean() constructor | |
OrderItemTradingRelationshipAccessBean(javax.ejb.EJBObject o) constructor | |
OrderItemTradingRelationshipAccessBean(java.lang.Long arg0,
java.lang.Long arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByOrderItemId(java.lang.Long arg0)
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 arg0)
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 accesses a non-CMP field |
java.lang.Long |
getOrderItemIdInEJBType() This method accesses a non-CMP field |
java.lang.String |
getTradingId() This method accesses a non-CMP field |
java.lang.Long |
getTradingIdInEJBType() This method accesses a non-CMP field |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setInitKey_iOrderItemId(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_iTradingId(java.lang.String newValue) Set the primary key for this object |
void |
setOrderItemId(java.lang.Long newValue) This method accesses a non-CMP field |
void |
setOrderItemId(java.lang.String newValue) This method accesses a non-CMP field |
void |
setTradingId(java.lang.Long newValue) This method accesses a non-CMP field |
void |
setTradingId(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 OrderItemTradingRelationshipAccessBean()
public OrderItemTradingRelationshipAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public OrderItemTradingRelationshipAccessBean(java.lang.Long arg0, java.lang.Long arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.lang.Longjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByOrderItemId(java.lang.Long arg0) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTradingId(java.lang.Long arg0) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_iOrderItemId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_iTradingId(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 getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getTradingId
in interface
OrderItemTradingRelationshipAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTradingId(java.lang.String newValue)
setTradingId
in interface
OrderItemTradingRelationshipAccessBeanData
public void setTradingId(java.lang.Long newValue)
public java.lang.String getOrderItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getOrderItemId
in interface
OrderItemTradingRelationshipAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getOrderItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setOrderItemId(java.lang.String newValue)
setOrderItemId
in interface
OrderItemTradingRelationshipAccessBeanData
public void setOrderItemId(java.lang.Long newValue)