|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.tools.optools.order.objects.OrderCommentAccessBean
This bean provides access to the ORCOMMENT table.
The following is a description of this table:
Each row in this table represents a comment associated to an Order in a Store.
Constructor Summary | |
OrderCommentAccessBean()
Default constructor. |
|
OrderCommentAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
OrderCommentAccessBean(java.lang.Long orderId,
java.lang.String comment)
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 orderId)
Retrieves all the OrderCommentAccessBeans for the specified Order. |
java.lang.String |
getComment()
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL. |
java.lang.String |
getLastupdate()
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL. |
java.sql.Timestamp |
getLastupdateInEJBType()
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL. |
java.lang.String |
getOrcommentId()
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL. |
java.lang.Long |
getOrcommentIdInEJBType()
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL. |
java.lang.String |
getOrderId()
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL. |
java.lang.Long |
getOrderIdInEJBType()
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setComment(java.lang.String comment)
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL. |
void |
setInitKey_orcommentId(java.lang.String aInitKey_orcommentId1)
Set the primary key for this object |
void |
setLastupdate(java.lang.String aLastupdate1)
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL. |
void |
setLastupdate(java.sql.Timestamp lastupdate)
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL. |
void |
setOrcommentId(java.lang.Long orcommentId)
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL. |
void |
setOrcommentId(java.lang.String orcommentId)
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL. |
void |
setOrderId(java.lang.Long orderId)
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL. |
void |
setOrderId(java.lang.String orderId)
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL. |
Constructor Detail |
public OrderCommentAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderCommentAccessBean(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 OrderCommentAccessBean(java.lang.Long orderId, java.lang.String comment) 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
orderId
- The ID of the order.comment
- The content of the comment.javax.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).
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 orderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the OrderCommentAccessBeans for the specified Order.
The SQL query used to fetch all the required rows from the ORCOMMENT table is:
SELECT * FROM ORCOMMENT T1 WHERE (T1.ORDERS_ID = ?) ORDER BY T1.LASTUPDATE
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 getComment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL.
The following is a description of this column:
The content of the comment.
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 getLastupdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL.
The following is a description of this column:
The time this comment 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.sql.Timestamp getLastupdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL.
The following is a description of this column:
The time this comment 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 getOrcommentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER 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.Long getOrcommentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER 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 getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
The following is a description of this column:
The ID of 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.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
The following is a description of this column:
The ID of 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 void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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 setComment(java.lang.String comment)
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL.
The following is a description of this column:
The content of the comment.
comment
- java.lang.Stringpublic void setInitKey_orcommentId(java.lang.String aInitKey_orcommentId1)
Set the primary key for this object
aInitKey_orcommentId1
- java.lang.Stringpublic void setLastupdate(java.lang.String aLastupdate1)
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL.
The following is a description of this column:
The time this comment is created.
aLastupdate1
- java.lang.Stringpublic void setLastupdate(java.sql.Timestamp lastupdate)
This method provides access to the ORCOMMENT.LASTUPDATE column of DB2 type TIMESTAMP NULL and Oracle type DATE NULL.
The following is a description of this column:
The time this comment is created.
lastupdate
- java.sql.Timestamppublic void setOrcommentId(java.lang.Long orcommentId)
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
The following is a description of this column:
Generated unique key.
orcommentId
- java.lang.Longpublic void setOrcommentId(java.lang.String orcommentId)
This method provides access to the ORCOMMENT.ORCOMMENT_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
The following is a description of this column:
Generated unique key.
orcommentId
- java.lang.Stringpublic void setOrderId(java.lang.Long orderId)
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
The following is a description of this column:
The ID of the order.
orderId
- java.lang.Longpublic void setOrderId(java.lang.String orderId)
This method provides access to the ORCOMMENT.ORDERS_ID column of DB2 type BIGINT NOT NULL and Oracle type NUMBER NOT NULL.
The following is a description of this column:
The ID of an Order.
orderId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |