|
||||||||
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.negotiation.objects.BidOrderRelationAccessBean
This bean provides access to the BIDORDRREL table.
The following is a description of this table:
This table describes the relationship between bids and orders.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
BidOrderRelationAccessBean()
Zero argument constructor used to initialize the access bean. |
|
BidOrderRelationAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
BidOrderRelationAccessBean(java.lang.Long bidId,
java.lang.Long orderId)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findAll(com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all bid/order relation records. |
java.util.Enumeration |
findByBid(java.lang.Long bidId,
com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all bid/order relation records with the specified bid id. |
java.lang.String |
getBidId()
This method provides access to the BIDORDRREL.BID_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getBidIdInEJBType()
This method provides access to the BIDORDRREL.BID_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getComment()
This method provides access to the BIDORDRREL.COMMENTS column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getCreationTime()
This method provides access to the BIDORDRREL.CREATETIME column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getCreationTimeInEJBType()
This method provides access to the BIDORDRREL.CREATETIME column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getOrderId()
This method provides access to the BIDORDRREL.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderIdInEJBType()
This method provides access to the BIDORDRREL.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getStatus()
This method provides access to the BIDORDRREL.STATUS column of DB2 type CHAR(4) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setBidId(java.lang.Long aBidId1)
This method provides access to the BIDORDRREL.BID_ID column of DB2 type BIGINT NOT NULL. |
void |
setBidId(java.lang.String aBidId1)
This method provides access to the BIDORDRREL.BID_ID column of DB2 type BIGINT NOT NULL. |
void |
setComment(java.lang.String aComment1)
This method provides access to the BIDORDRREL.COMMENTS column of DB2 type VARCHAR(254) NULL. |
void |
setCreationTime(java.lang.String aCreationTime1)
This method provides access to the BIDORDRREL.CREATETIME column of DB2 type TIMESTAMP NULL. |
void |
setCreationTime(java.sql.Timestamp aCreationTime1)
This method provides access to the BIDORDRREL.CREATETIME column of DB2 type TIMESTAMP NULL. |
void |
setInitKey_bidId(java.lang.Long aInitKey_bidId1)
Set the primary key for this object |
void |
setInitKey_orderId(java.lang.Long aInitKey_orderId1)
Set the primary key for this object |
void |
setOrderId(java.lang.Long aOrderId1)
This method provides access to the BIDORDRREL.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String aOrderId1)
This method provides access to the BIDORDRREL.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setStatus(java.lang.String aStatus1)
This method provides access to the BIDORDRREL.STATUS column of DB2 type CHAR(4) 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 BidOrderRelationAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method:
public abstract com.ibm.commerce.negotiation.objects.BidOrderRelation com.ibm.commerce.negotiation.objimpl.BidOrderRelationHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.BidOrderRelationKey) throws java.rmi.RemoteException,javax.ejb.FinderException
The home interface method properties need to be set by calling the following setter methods before calling any business methods:
public BidOrderRelationAccessBean(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 exception.public BidOrderRelationAccessBean(java.lang.Long bidId, java.lang.Long orderId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
bidId
- The bid id.orderId
- The order id.Method 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 findAll(com.ibm.commerce.negotiation.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all bid/order relation records.
The SQL query used to fetch all the required rows from the BIDORDRREL table is:
SELECT * FROM BIDORDRREL T1 WHERE 1=1
sort
- The sorting attribute. This is a set of column names and the order in which they are each to be
sorted (ascending, descending). This is used to build an ORDER BY clause.public java.util.Enumeration findByBid(java.lang.Long bidId, com.ibm.commerce.negotiation.util.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all bid/order relation records with the specified bid id.
The SQL query used to fetch all the required rows from the BIDORDRREL table is:
SELECT * FROM BIDORDRREL T1 WHERE T1.BID_ID=?
bidId
- The bid id.sort
- The sorting attribute. This is a set of column names and the order in which they are each to be
sorted (ascending, descending). This is used to build an ORDER BY clause.public java.lang.String getBidId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BIDORDRREL.BID_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Bid ID.
getBidId
in interface BidOrderRelationAccessBeanData
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 getBidIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BIDORDRREL.BID_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Bid ID.
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 getComment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BIDORDRREL.COMMENTS column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Comments about the order.
getComment
in interface BidOrderRelationAccessBeanData
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 getCreationTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BIDORDRREL.CREATETIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Date and time this entry is created.
getCreationTime
in interface BidOrderRelationAccessBeanData
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 getCreationTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BIDORDRREL.CREATETIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Date and time this entry is created.
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 BIDORDRREL.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The order ID that corresponds to the bid.
getOrderId
in interface BidOrderRelationAccessBeanData
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 BIDORDRREL.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The order ID that corresponds to the bid.
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 BIDORDRREL.STATUS column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Order status. Valid values: C=complete, P=pending.
getStatus
in interface BidOrderRelationAccessBeanData
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 setBidId(java.lang.Long aBidId1)
This method provides access to the BIDORDRREL.BID_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Bid ID.
aBidId1
- java.lang.Longpublic void setBidId(java.lang.String aBidId1)
This method provides access to the BIDORDRREL.BID_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Bid ID.
setBidId
in interface BidOrderRelationAccessBeanData
aBidId1
- java.lang.Stringpublic void setComment(java.lang.String aComment1)
This method provides access to the BIDORDRREL.COMMENTS column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Comments about the order.
setComment
in interface BidOrderRelationAccessBeanData
aComment1
- java.lang.Stringpublic void setCreationTime(java.lang.String aCreationTime1)
This method provides access to the BIDORDRREL.CREATETIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Date and time this entry is created.
setCreationTime
in interface BidOrderRelationAccessBeanData
aCreationTime1
- java.lang.Stringpublic void setCreationTime(java.sql.Timestamp aCreationTime1)
This method provides access to the BIDORDRREL.CREATETIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Date and time this entry is created.
aCreationTime1
- java.sql.Timestamppublic void setInitKey_bidId(java.lang.Long aInitKey_bidId1)
Set the primary key for this object
aInitKey_bidId1
- java.lang.Longpublic void setInitKey_orderId(java.lang.Long aInitKey_orderId1)
Set the primary key for this object
aInitKey_orderId1
- java.lang.Longpublic void setOrderId(java.lang.Long aOrderId1)
This method provides access to the BIDORDRREL.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The order ID that corresponds to the bid.
aOrderId1
- java.lang.Longpublic void setOrderId(java.lang.String aOrderId1)
This method provides access to the BIDORDRREL.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The order ID that corresponds to the bid.
setOrderId
in interface BidOrderRelationAccessBeanData
aOrderId1
- java.lang.Stringpublic void setStatus(java.lang.String aStatus1)
This method provides access to the BIDORDRREL.STATUS column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Order status. Valid values: C=complete, P=pending.
setStatus
in interface BidOrderRelationAccessBeanData
aStatus1
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |