com.ibm.commerce.order.objects
Class OrderOptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.order.objects.OrderOptionAccessBean
All Implemented Interfaces:
OrderOptionAccessBeanData, java.io.Serializable

public class OrderOptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderOptionAccessBeanData

This bean provides access to the ORDOPTIONS table.

The following is a description of this table:

This table is used for Order notification.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
OrderOptionAccessBean()
          Default constructor.
OrderOptionAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
OrderOptionAccessBean(java.lang.Long anOrderId, java.lang.Integer anNotifyMerchant, java.lang.Integer anNotifyShopper)
          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.lang.String getNotifyMerchant()
          This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER NULL.
 java.lang.Integer getNotifyMerchantInEJBType()
          This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER NULL.
 java.lang.String getNotifyShopper()
          This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER NULL.
 java.lang.Integer getNotifyShopperInEJBType()
          This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER NULL.
 java.lang.String getOrderId()
          This method provides access to the ORDOPTIONS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderIdInEJBType()
          This method provides access to the ORDOPTIONS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_orderId(java.lang.String aInitKey_orderId)
          Set the primary key for this object
 void setNotifyMerchant(java.lang.Integer aNotifyMerchant)
          This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER NULL.
 void setNotifyMerchant(java.lang.String aNotifyMerchant)
          This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER NULL.
 void setNotifyShopper(java.lang.Integer aNotifyShopper)
          This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER NULL.
 void setNotifyShopper(java.lang.String aNotifyShopper)
          This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER 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

OrderOptionAccessBean

public OrderOptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


OrderOptionAccessBean

public OrderOptionAccessBean(javax.ejb.EJBObject object)
                      throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

OrderOptionAccessBean

public OrderOptionAccessBean(java.lang.Long anOrderId,
                             java.lang.Integer anNotifyMerchant,
                             java.lang.Integer anNotifyShopper)
                      throws javax.ejb.CreateException,
                             java.rmi.RemoteException,
                             javax.naming.NamingException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
anOrderId - java.lang.Long Order identifier
anNotifyMerchant - java.lang.Integer Flag to indicate whether the merchant will be notified when the order is processed. Valid values include 0 (do not notify) and 1 (notify).
anNotifyShopper - java.lang.Integer Flag to indicate whether the customer will be notified when the order is processed. Valid values include 0 (do not notify) and 1 (notify).
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNotifyMerchant

public java.lang.String getNotifyMerchant()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER NULL.

The following is a description of this column:

Flag to indicate whether the merchant will be notified when the Order is processed as follows:
0 - do not notify the merchant when the Order is processed
1 - notify the merchant when the Order is processed

Specified by:
getNotifyMerchant in interface OrderOptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNotifyMerchantInEJBType

public java.lang.Integer getNotifyMerchantInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER NULL.

The following is a description of this column:

Flag to indicate whether the merchant will be notified when the Order is processed as follows:
0 - do not notify the merchant when the Order is processed
1 - notify the merchant when the Order is processed

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNotifyShopper

public java.lang.String getNotifyShopper()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER NULL.

The following is a description of this column:

Flag to indicate whether the customer will be notified when the Order is processed as follows:
0 - do not notify the customer when the Order is processed
1 - notify the customer when the Order is processed

Specified by:
getNotifyShopper in interface OrderOptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNotifyShopperInEJBType

public java.lang.Integer getNotifyShopperInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER NULL.

The following is a description of this column:

Flag to indicate whether the customer will be notified when the Order is processed as follows:
0 - do not notify the customer when the Order is processed
1 - notify the customer when the Order is processed

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrderId

public java.lang.String getOrderId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the ORDOPTIONS.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Order ID.

Specified by:
getOrderId in interface OrderOptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrderIdInEJBType

public java.lang.Long getOrderIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the ORDOPTIONS.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Order ID.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setInitKey_orderId

public void setInitKey_orderId(java.lang.String aInitKey_orderId)

Set the primary key for this object

Parameters:
aInitKey_orderId - java.lang.String
Returns:
void

setNotifyMerchant

public void setNotifyMerchant(java.lang.Integer aNotifyMerchant)

This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER NULL.

The following is a description of this column:

Flag to indicate whether the merchant will be notified when the Order is processed as follows:
0 - do not notify the merchant when the Order is processed
1 - notify the merchant when the Order is processed

Parameters:
aNotifyMerchant - java.lang.Integer
Returns:
void

setNotifyMerchant

public void setNotifyMerchant(java.lang.String aNotifyMerchant)

This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER NULL.

The following is a description of this column:

Flag to indicate whether the merchant will be notified when the Order is processed as follows:
0 - do not notify the merchant when the Order is processed
1 - notify the merchant when the Order is processed

Specified by:
setNotifyMerchant in interface OrderOptionAccessBeanData
Parameters:
aNotifyMerchant - java.lang.String
Returns:
void

setNotifyShopper

public void setNotifyShopper(java.lang.Integer aNotifyShopper)

This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER NULL.

The following is a description of this column:

Flag to indicate whether the customer will be notified when the Order is processed as follows:
0 - do not notify the customer when the Order is processed
1 - notify the customer when the Order is processed

Parameters:
aNotifyShopper - java.lang.Integer
Returns:
void

setNotifyShopper

public void setNotifyShopper(java.lang.String aNotifyShopper)

This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER NULL.

The following is a description of this column:

Flag to indicate whether the customer will be notified when the Order is processed as follows:
0 - do not notify the customer when the Order is processed
1 - notify the customer when the Order is processed

Specified by:
setNotifyShopper in interface OrderOptionAccessBeanData
Parameters:
aNotifyShopper - java.lang.String
Returns:
void