|
||||||||
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.OrderPaymentInfoAccessBean
This bean provides access to the ORDPAYINFO table.
The following is a description of this table:
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 "Instance/PDIEncrypt" configuration flag is "on".
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrderPaymentInfoAccessBean()
Default constructor. |
|
OrderPaymentInfoAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
OrderPaymentInfoAccessBean(java.lang.Long anOrderId,
java.lang.String astrPayPairName,
java.lang.String astrPayPairValue,
boolean bEncrypt)
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 |
findByOrder(java.lang.Long anOrderId)
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_orderPaymentInfoId(java.lang.String aInitKey_orderPaymentInfoId)
Set the primary key for this object |
void |
setOrderId(java.lang.Long aOrderId)
This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String aOrderId)
This method provides access to the ORDPAYINFO.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setPaymentPairName(java.lang.String aPaymentPairName)
This method provides access to the ORDPAYINFO.NAME column of DB2 type CHAR(64) NOT NULL. |
void |
setPaymentPairValue(java.lang.String aPaymentPairValue,
boolean aPaymentPairValue)
This method provides access to the ORDPAYINFO.VALUE column of DB2 type VARCHAR(254) 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 OrderPaymentInfoAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderPaymentInfoAccessBean(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 OrderPaymentInfoAccessBean(java.lang.Long anOrderId, java.lang.String astrPayPairName, java.lang.String astrPayPairValue, boolean bEncrypt) 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
anOrderId
- java.lang.Long Order identifierastrPayPairName
- java.lang.String The name-value pair nameastrPayPairValue
- java.lang.String The name-value pair valuebEncrypt
- boolean Boolean flag used to specify whether to store the string in the astrPayPairValue parameter encrypted or in clear textjavax.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 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 findByOrder(java.lang.Long anOrderId) 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 = ?)
anOrderId
- java.lang.Long Order 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 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.
getOrderId
in interface OrderPaymentInfoAccessBeanData
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 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.
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 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.
getOrderPaymentInfoId
in interface OrderPaymentInfoAccessBeanData
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 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.
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 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.
getPaymentPairName
in interface OrderPaymentInfoAccessBeanData
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 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.
getPaymentPairValue
in interface OrderPaymentInfoAccessBeanData
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_orderPaymentInfoId(java.lang.String aInitKey_orderPaymentInfoId)
Set the primary key for this object
aInitKey_orderPaymentInfoId
- java.lang.Stringpublic void setOrderId(java.lang.Long aOrderId)
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.
aOrderId
- java.lang.Longpublic void setOrderId(java.lang.String aOrderId)
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.
setOrderId
in interface OrderPaymentInfoAccessBeanData
aOrderId
- java.lang.Stringpublic void setPaymentPairName(java.lang.String aPaymentPairName)
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.
setPaymentPairName
in interface OrderPaymentInfoAccessBeanData
aPaymentPairName
- java.lang.Stringpublic void setPaymentPairValue(java.lang.String aPaymentPairValue, boolean aPaymentPairValue) 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.
aPaymentPairValue
- java.lang.StringaPaymentPairValue
- booleanjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |