java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.OrderPaymentInfoAccessBean
Each row in this table holds a name-value pair representing payment information for a particular Order. Values added to this table are encrypted when the &quo This access bean corresponds to the database table 'ORDPAYINFO'.
Constructor Summary | |
OrderPaymentInfoAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrderPaymentInfoAccessBean(javax.ejb.EJBObject o) constructor |
|
OrderPaymentInfoAccessBean(java.lang.Long orderId, java.lang.String payPairName, java.lang.String payPairValue, boolean encrypt) 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). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByOrder(java.lang.Long argOrderId)
Retrieves all the name-value pairs representing payment information for specified order.
The SQL query used to fetch all the required rows from the ORDPAYINFO table is: SELECT * FROM ORDPAYINFO T1 WHERE (T1.ORDERS_ID = ?) |
java.lang.String | getOrderId() This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderIdInEJBType() This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrderPaymentInfoId() This method provides access to the ORDPAYINFO.ORDPAYINFO_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderPaymentInfoIdInEJBType() This method provides access to the ORDPAYINFO.ORDPAYINFO_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getPaymentPairName() This method provides access to the ORDPAYINFO.NAME column of DB2 type CHAR(64) NOT NULL. |
java.lang.String | getPaymentPairValue() This method provides access to the ORDPAYINFO.VALUE column of DB2 type VARCHAR(254) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_orderPaymentInfoId(java.lang.String newValue) Set the primary key for this object |
void | setOrderId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderId(java.lang.String newValue) This method accesses a non-CMP field |
void | setPaymentPairName(java.lang.String newValue) This method accesses a non-CMP field |
void | setPaymentPairValue(java.lang.String newPaymentPairValue, boolean encrypt) This method provides access to the ORDPAYINFO.VALUE column of DB2 type VARCHAR(254) NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrderPaymentInfoAccessBean()
public OrderPaymentInfoAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrderPaymentInfoAccessBean(java.lang.Long orderId, java.lang.String payPairName, java.lang.String payPairValue, boolean encrypt) 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
Method Detail |
public java.util.Enumeration findByOrder(java.lang.Long argOrderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the name-value pairs representing payment information for specified order.
The SQL query used to fetch all the required rows from the ORDPAYINFO table is:
SELECT * FROM ORDPAYINFO T1 WHERE (T1.ORDERS_ID = ?)
public void setInitKey_orderPaymentInfoId(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 getOrderPaymentInfoId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDPAYINFO.ORDPAYINFO_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getOrderPaymentInfoIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDPAYINFO.ORDPAYINFO_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.String getPaymentPairValue() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDPAYINFO.VALUE column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The name-value pair value. If the first character of the value is a space, then the value has been encrypted.
public java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
public void setOrderId(java.lang.String newValue)
public void setOrderId(java.lang.Long newValue)
public java.lang.String getPaymentPairName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDPAYINFO.NAME column of DB2 type CHAR(64) NOT NULL.
The following is a description of this column:
The name-value pair name.
public void setPaymentPairName(java.lang.String newValue)
public void setPaymentPairValue(java.lang.String newPaymentPairValue, boolean encrypt) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDPAYINFO.VALUE column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The name-value pair value. If the first character of the value is a space, then the value has been encrypted.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.