com.ibm.commerce.order.objects
Class OrderOptionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.order.objects.OrderOptionAccessBean
All Implemented Interfaces:
OrderOptionAccessBeanData
Direct Known Subclasses:
OrderOptionDataBeanBase

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

This table is used for Order notification. This access bean corresponds to the database table 'ORDOPTIONS'.

See Also:
Serialized Form

Constructor Summary
OrderOptionAccessBean()
Zero argument constructor used to initialize the access bean.
OrderOptionAccessBean(javax.ejb.EJBObject o)
constructor
OrderOptionAccessBean(java.lang.Long aOrderId, java.lang.Integer notifyMerchant, java.lang.Integer notifyShopper)
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).
protected java.lang.String defaultJNDIName()
java.lang.String getNotifyMerchant()
This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER.
java.lang.Integer getNotifyMerchantInEJBType()
This method provides access to the ORDOPTIONS.NOTIFYMERCHANT column of DB2 type INTEGER.
java.lang.String getNotifyShopper()
This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER.
java.lang.Integer getNotifyShopperInEJBType()
This method provides access to the ORDOPTIONS.NOTIFYSHOPPER column of DB2 type INTEGER.
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_orderId(java.lang.String newValue)
Set the primary key for this object
void setNotifyMerchant(java.lang.Integer newValue)
This method accesses a non-CMP field
void setNotifyMerchant(java.lang.String newValue)
This method accesses a non-CMP field
void setNotifyShopper(java.lang.Integer newValue)
This method accesses a non-CMP field
void setNotifyShopper(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

OrderOptionAccessBean

public OrderOptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.order.objects.OrderOption com.ibm.commerce.order.objimpl.OrderOptionHomeBase.findByPrimaryKey(com.ibm.commerce.order.objects.OrderOptionKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_orderId( java.lang.Long )

OrderOptionAccessBean

public OrderOptionAccessBean(javax.ejb.EJBObject o)
                      throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

OrderOptionAccessBean

public OrderOptionAccessBean(java.lang.Long aOrderId,
                             java.lang.Integer notifyMerchant,
                             java.lang.Integer notifyShopper)
                      throws javax.ejb.CreateException,
                             java.rmi.RemoteException,
                             javax.naming.NamingException

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

Parameters:
aOrderId - java.lang.Long Order identifier
notifyMerchant - 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).
notifyShopper - 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
Method Detail

setInitKey_orderId

public void setInitKey_orderId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

The following is a description of this column:

Flag to indicate whether the customer will be notified when the Order is processed as follows:&l

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

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.

The following is a description of this column:

Flag to indicate whether the customer will be notified when the Order is processed as follows:&l

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

setNotifyShopper

public void setNotifyShopper(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setNotifyShopper in interface OrderOptionAccessBeanData

setNotifyShopper

public void setNotifyShopper(java.lang.Integer newValue)
This method accesses a non-CMP field

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.

The following is a description of this column:

Flag to indicate whether the merchant will be notified when the Order is processed as follows:&l

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

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.

The following is a description of this column:

Flag to indicate whether the merchant will be notified when the Order is processed as follows:&l

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

setNotifyMerchant

public void setNotifyMerchant(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setNotifyMerchant in interface OrderOptionAccessBeanData

setNotifyMerchant

public void setNotifyMerchant(java.lang.Integer newValue)
This method accesses a non-CMP field

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

Feedback