|
||||||||
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.payment.objects.InvoiceAccessBean
This bean provides access to the INVOICE table.
The following is a description of this table:
This table stores the invoice XML generated for the order release. An order release is represented by a row in the ORDRELEASE table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
InvoiceAccessBean()
Default constructor. |
|
InvoiceAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
InvoiceAccessBean(java.lang.Long orderId,
java.lang.Integer orderReleaseNumber)
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 |
findByOrdersId(java.lang.Long orderId)
Retrieves all the InvoiceAccessBeans for the specified Order. |
java.lang.String |
getInvoiceId()
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getInvoiceIdInEJBType()
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getInvoiceXML()
This method provides access to the INVOICE.INVOICEXML column of DB2 type LONG NULL. |
java.lang.String |
getOrderId()
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderIdInEJBType()
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getOrderReleaseNumber()
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getOrderReleaseNumberInEJBType()
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getStatus()
This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4) NULL. |
java.lang.String |
getTimeCreated()
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeCreatedInEJBType()
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_invoiceId(java.lang.String aInitKey_invoiceId)
Set the primary key for this object |
void |
setInvoiceId(java.lang.Long aInvoiceId)
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL. |
void |
setInvoiceId(java.lang.String aInvoiceId)
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL. |
void |
setInvoiceXML(java.lang.String aInvoiceXML)
This method provides access to the INVOICE.INVOICEXML column of DB2 type LONG NULL. |
void |
setOrderId(java.lang.Long aOrderId)
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String aOrderId)
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderReleaseNumber(java.lang.Integer aOrderReleaseNumber)
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL. |
void |
setOrderReleaseNumber(java.lang.String aOrderReleaseNumber)
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL. |
void |
setStatus(java.lang.String aStatus)
This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4) NULL. |
void |
setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP 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 InvoiceAccessBean()
Default constructor. Maps to findByPrimaryKey.
public InvoiceAccessBean(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 InvoiceAccessBean(java.lang.Long orderId, java.lang.Integer orderReleaseNumber) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
orderId
- The ID of the order.orderReleaseNumber
- The order release number.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 findByOrdersId(java.lang.Long orderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the InvoiceAccessBeans for the specified Order.
The SQL query used to fetch all the required rows from the INVOICE table is:
SELECT * FROM INVOICE T1 WHERE (T1.ORDERS_ID = ?) ORDER BY T1.INVOICE_ID
orderId
- The ID of the order.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getInvoiceId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this row. Also used as the invoice number.
getInvoiceId
in interface InvoiceAccessBeanData
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 getInvoiceIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this row. Also used as the invoice number.
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 getInvoiceXML() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.INVOICEXML column of DB2 type LONG NULL.
The following is a description of this column:
The invoice XML for this order release.
getInvoiceXML
in interface InvoiceAccessBeanData
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 getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the order. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
getOrderId
in interface InvoiceAccessBeanData
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 INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the order. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
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 getOrderReleaseNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Order release number. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
getOrderReleaseNumber
in interface InvoiceAccessBeanData
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.Integer getOrderReleaseNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Order release number. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
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 getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Reserved for IBM internal use.
getStatus
in interface InvoiceAccessBeanData
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 getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time the invoice XML is generated.
getTimeCreated
in interface InvoiceAccessBeanData
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.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time the invoice XML is generated.
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_invoiceId(java.lang.String aInitKey_invoiceId)
Set the primary key for this object
aInitKey_invoiceId
- java.lang.Stringpublic void setInvoiceId(java.lang.Long aInvoiceId)
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this row. Also used as the invoice number.
aInvoiceId
- java.lang.Longpublic void setInvoiceId(java.lang.String aInvoiceId)
This method provides access to the INVOICE.INVOICE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key for this row. Also used as the invoice number.
setInvoiceId
in interface InvoiceAccessBeanData
aInvoiceId
- java.lang.Stringpublic void setInvoiceXML(java.lang.String aInvoiceXML)
This method provides access to the INVOICE.INVOICEXML column of DB2 type LONG NULL.
The following is a description of this column:
The invoice XML for this order release.
setInvoiceXML
in interface InvoiceAccessBeanData
aInvoiceXML
- java.lang.Stringpublic void setOrderId(java.lang.Long aOrderId)
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the order. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
aOrderId
- java.lang.Longpublic void setOrderId(java.lang.String aOrderId)
This method provides access to the INVOICE.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the order. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
setOrderId
in interface InvoiceAccessBeanData
aOrderId
- java.lang.Stringpublic void setOrderReleaseNumber(java.lang.Integer aOrderReleaseNumber)
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Order release number. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
aOrderReleaseNumber
- java.lang.Integerpublic void setOrderReleaseNumber(java.lang.String aOrderReleaseNumber)
This method provides access to the INVOICE.ORDRELEASENUM column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Order release number. The ORDERS_ID and the order release number together is the primary key to the row in the ORDRELEASE table.
setOrderReleaseNumber
in interface InvoiceAccessBeanData
aOrderReleaseNumber
- java.lang.Stringpublic void setStatus(java.lang.String aStatus)
This method provides access to the INVOICE.STATUS column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Reserved for IBM internal use.
setStatus
in interface InvoiceAccessBeanData
aStatus
- java.lang.Stringpublic void setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time the invoice XML is generated.
setTimeCreated
in interface InvoiceAccessBeanData
aTimeCreated
- java.lang.Stringpublic void setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the INVOICE.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time the invoice XML is generated.
aTimeCreated
- java.sql.Timestamp
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |