java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.order.objects.OrderTemplateAccessBean
Each row of this table indicates that an Order is used as a template by a customer, and also indicates whether the template is current for that customer.
Constructor Summary | |
---|---|
OrderTemplateAccessBean() constructor | |
OrderTemplateAccessBean(javax.ejb.EJBObject o) constructor | |
OrderTemplateAccessBean(java.lang.Long arg0,
java.lang.Long arg1) constructor | |
OrderTemplateAccessBean(java.lang.Long arg0, java.lang.Long arg1,
java.lang.Integer arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByMemberForUpdate(java.lang.Long arg0)
Retrieves order templates for the specified member.
The SQL query used to fetch all the required rows from the
ORDERTMPL table
is:SELECT * FROM ORDERTMPL T1 WHERE T1.MEMBER_ID = ? for update |
java.lang.String |
getMemberId() This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getMemberIdInEJBType() This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getOrderId() This method provides access to the ORDERTMPL.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderIdInEJBType() This method provides access to the ORDERTMPL.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getUsage() This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer |
getUsageInEJBType() This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
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 provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String newValue) This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setUsage(java.lang.Integer newValue) This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setUsage(java.lang.String newValue) This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public OrderTemplateAccessBean()
public OrderTemplateAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public OrderTemplateAccessBean(java.lang.Long arg0, java.lang.Long arg1) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Longjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
public OrderTemplateAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.Integer arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Longarg2
- java.lang.Integerjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail |
---|
public java.util.Enumeration findByMemberForUpdate(java.lang.Long arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves order templates for the specified member.
The SQL query used to fetch all the required rows from the
ORDERTMPL table
is:
SELECT * FROM ORDERTMPL T1 WHERE T1.MEMBER_ID = ? for update
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_orderId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_memberId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getUsage() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The intended usage for this template.&l
getUsage
in interface
OrderTemplateAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getUsageInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The intended usage for this template.&l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setUsage(java.lang.String newValue)
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The intended usage for this template.&l
setUsage
in interface
OrderTemplateAccessBeanData
newValue
- Stringpublic void setUsage(java.lang.Integer newValue)
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The intended usage for this template.&l
newValue
- java.lang.Integerpublic java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDERTMPL.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
getOrderId
in interface
OrderTemplateAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDERTMPL.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The customer.
getMemberId
in interface
OrderTemplateAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The customer.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The customer.
setMemberId
in interface
OrderTemplateAccessBeanData
newValue
- Stringpublic void setMemberId(java.lang.Long newValue)
This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The customer.
newValue
- java.lang.Long