java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.CurrentPendingOrderAccessBean
Each row of this table indicates that an order is marked as current for a customer in a store, if its status is &quo This access bean corresponds to the database table 'CPENDORDER'.
Constructor Summary | |
CurrentPendingOrderAccessBean() Zero argument constructor used to initialize the access bean. |
|
CurrentPendingOrderAccessBean(java.lang.Integer storeEntityId, java.lang.Long orderId, java.lang.Long memberId) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
CurrentPendingOrderAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByMember(java.lang.Long argMemberId)
Retrieves all the current pending order records for specified customer.
The SQL query used to fetch all the required rows from the CPENDORDER table is: SELECT * FROM CPENDORDER T1 WHERE T1.MEMBER_ID = ? |
java.util.Enumeration | findByMemberAndStore(java.lang.Long argMemberId, java.lang.Integer storeEntityId)
Retrieves all the current pending order records for specified customer and store.
The SQL query used to fetch all the required rows from the CPENDORDER table is: SELECT * FROM CPENDORDER T1 WHERE T1.MEMBER_ID = ? AND T1.STOREENT_ID = ? |
java.util.Enumeration | findByMemberForUpdate(java.lang.Long memberId)
Retrieves all the current pending order records for specified customer.
The SQL query used to fetch all the required rows from the CPENDORDER table is: SELECT * FROM CPENDORDER T1 WHERE T1.MEMBER_ID = ? for update |
java.lang.String | getField1() This method provides access to the CPENDORDER.FIELD1 column of DB2 type INTEGER. |
java.lang.Integer | getField1InEJBType() This method provides access to the CPENDORDER.FIELD1 column of DB2 type INTEGER. |
java.lang.String | getField2() This method provides access to the CPENDORDER.FIELD2 column of DB2 type VARCHAR(254). |
java.lang.String | getMemberId() This method provides access to the CPENDORDER.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the CPENDORDER.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrderId() This method provides access to the CPENDORDER.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderIdInEJBType() This method provides access to the CPENDORDER.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getStoreEntityId() This method provides access to the CPENDORDER.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntityIdInEJBType() This method provides access to the CPENDORDER.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setField1(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setField1(java.lang.String newValue) This method accesses a non-CMP field |
void | setField2(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_memberId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_orderId(java.lang.String newValue) Set the primary key for this object |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setStoreEntityId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreEntityId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CurrentPendingOrderAccessBean()
public CurrentPendingOrderAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CurrentPendingOrderAccessBean(java.lang.Integer storeEntityId, java.lang.Long orderId, java.lang.Long memberId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public java.util.Enumeration findByMember(java.lang.Long argMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the current pending order records for specified customer.
The SQL query used to fetch all the required rows from the CPENDORDER table is:
SELECT * FROM CPENDORDER T1 WHERE T1.MEMBER_ID = ?
public java.util.Enumeration findByMemberAndStore(java.lang.Long argMemberId, java.lang.Integer storeEntityId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the current pending order records for specified customer and store.
The SQL query used to fetch all the required rows from the CPENDORDER table is:
SELECT * FROM CPENDORDER T1 WHERE T1.MEMBER_ID = ? AND T1.STOREENT_ID = ?
public java.util.Enumeration findByMemberForUpdate(java.lang.Long memberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the current pending order records for specified customer.
The SQL query used to fetch all the required rows from the CPENDORDER table is:
SELECT * FROM CPENDORDER T1 WHERE T1.MEMBER_ID = ? for update
public void setInitKey_orderId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_memberId(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 getField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPENDORDER.FIELD2 column of DB2 type VARCHAR(254).
The following is a description of this column:
Customizable.
public void setField2(java.lang.String newValue)
public java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPENDORDER.FIELD1 column of DB2 type INTEGER.
The following is a description of this column:
Customizable.
public java.lang.Integer getField1InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPENDORDER.FIELD1 column of DB2 type INTEGER.
The following is a description of this column:
Customizable.
public void setField1(java.lang.String newValue)
public void setField1(java.lang.Integer newValue)
public java.lang.String getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPENDORDER.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The ID that uniquely identifies the store from which the customer placed the order.
public java.lang.Integer getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPENDORDER.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The ID that uniquely identifies the store from which the customer placed the order.
public void setStoreEntityId(java.lang.String newValue)
public void setStoreEntityId(java.lang.Integer newValue)
public java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPENDORDER.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID that uniquely identifies 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 CPENDORDER.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID that uniquely identifies the order.
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPENDORDER.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID that uniquely identifies the customer of the order.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CPENDORDER.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID that uniquely identifies the customer of the order.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.