|
||||||||
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.order.objects.OrderTemplateAccessBean
This bean provides access to the ORDERTMPL table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrderTemplateAccessBean()
Default constructor. |
|
OrderTemplateAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
OrderTemplateAccessBean(java.lang.Long anOrderId,
java.lang.Long anMemberId)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
OrderTemplateAccessBean(java.lang.Long anOrderId,
java.lang.Long anMemberId,
java.lang.Integer anUsage)
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 |
findByMemberForUpdate(java.lang.Long anMemberId)
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. |
java.lang.Integer |
getUsageInEJBType()
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_memberId(java.lang.String aInitKey_memberId)
Set the primary key for this object |
void |
setInitKey_orderId(java.lang.String aInitKey_orderId)
Set the primary key for this object |
void |
setMemberId(java.lang.Long aMemberId)
This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String aMemberId)
This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setUsage(java.lang.Integer aUsage)
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL. |
void |
setUsage(java.lang.String aUsage)
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT 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 OrderTemplateAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderTemplateAccessBean(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 OrderTemplateAccessBean(java.lang.Long anOrderId, java.lang.Long anMemberId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
anOrderId
- java.lang.Long Template order idanMemberId
- java.lang.Long Template order ownerjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic OrderTemplateAccessBean(java.lang.Long anOrderId, java.lang.Long anMemberId, java.lang.Integer anUsage) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
anOrderId
- java.lang.Long Template order idanMemberId
- java.lang.Long Template order owneranUsage
- java.lang.Integer Intended template usagejavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 findByMemberForUpdate(java.lang.Long anMemberId) 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
anMemberId
- java.lang.Long Member identifierjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- 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 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
- 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 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
- 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 ORDERTMPL.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
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.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.
The following is a description of this column:
The intended usage for this template.
0 = no usage information.
1 = template is a current template.
Values less than 1000 are reserved for IBM internal use.
getUsage
in interface OrderTemplateAccessBeanData
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 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.
The following is a description of this column:
The intended usage for this template.
0 = no usage information.
1 = template is a current template.
Values less than 1000 are reserved for IBM internal use.
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_memberId(java.lang.String aInitKey_memberId)
Set the primary key for this object
aInitKey_memberId
- java.lang.Stringpublic void setInitKey_orderId(java.lang.String aInitKey_orderId)
Set the primary key for this object
aInitKey_orderId
- java.lang.Stringpublic void setMemberId(java.lang.Long aMemberId)
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.
aMemberId
- java.lang.Longpublic void setMemberId(java.lang.String aMemberId)
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
aMemberId
- java.lang.Stringpublic void setUsage(java.lang.Integer aUsage)
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The intended usage for this template.
0 = no usage information.
1 = template is a current template.
Values less than 1000 are reserved for IBM internal use.
aUsage
- java.lang.Integerpublic void setUsage(java.lang.String aUsage)
This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The intended usage for this template.
0 = no usage information.
1 = template is a current template.
Values less than 1000 are reserved for IBM internal use.
setUsage
in interface OrderTemplateAccessBeanData
aUsage
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |