public class OrderStatusDataBean extends OrderFulfillmentStatusAccessBean implements com.ibm.commerce.messaging.beans.OrderStatusInputDataBean, com.ibm.commerce.messaging.beans.OrderStatusSmartDataBean
OrderStatusDataBean provides access to ORDSTAT table. It extends OrderFulfillmentStatusAccessBean and
implements OrderStatusInputDataBean and OrderStatusSmartDataBean interfaces.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
emptyString| Constructor and Description |
|---|
OrderStatusDataBean()
OrderStatusDataBean constructor comment.
|
OrderStatusDataBean(com.ibm.commerce.orderstatus.objects.OrderFulfillmentStatus o)
OrderStatusDataBean constructor.
|
OrderStatusDataBean(OrderFulfillmentStatusAccessBean aabOrderStatus)
Constructs an OrderStatusDataBean from an OrderFulfillmentStatusAccessBean.
|
OrderStatusDataBean(TypedProperty arg0)
OrderStatusDataBean constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
getCommandContext()
Returns the current command context.
|
java.lang.Long |
getDataBeanKeyOrderStatusId()
Returns the order status ID used to initialize this data bean.
|
java.lang.Long |
getDataBeanOrderId()
Returns the order ID used to initialize the data bean.
|
java.lang.Long |
getOrderStatusID()
Deprecated.
This method is replaced by
getDataBeanKeyOrderStatusId(). |
TypedProperty |
getRequestProperties()
Returns request properties in a
com.ibm.commerce.datatype.TypedProperty object. |
void |
populate()
Loads the data from database, looking up the data by order status ID.
|
void |
setCommandContext(CommandContext newCommandContext)
Sets command context for the databean.
|
void |
setDataBeanKeyOrderStatusId(java.lang.Long anOrderStatusID)
Sets the order status ID used to initialize the data bean.
|
void |
setDataBeanOrderId(java.lang.Long anOrderID)
Sets the order ID to lookup the current order status in ORDSTAT table.
|
void |
setOrderStatusID(java.lang.Long anOrderStatusID)
Deprecated.
This method is replaced by
setDataBeanKeyOrderStatusId(Long). |
void |
setRequestProperties(TypedProperty aRequestProperty)
Sets request properties for the databean.
|
findByMaxVersion, findByMerchantOrderNumber, findByMerchantOrderNumberForUpdate, findByOrderId, findByOrderIdForUpdate, getActualShipDateTime, getComment, getCurrency, getEntity, getField1, getField2, getField3, getInvoiceDateTime, getInvoiceValue, getLastUpdateTime, getMerchantOrderNumber, getOrderId, getOrderStatus, getOrderStatusId, getOsCode, getPlaceDateTime, getPriceTotal, getRequestShipDateTime, getScheduleShipDateTime, getSequenceNumber, getShipCondition, getShippingModeFlag, getShippingTaxTotal, getShippingTotal, getTaxTotal, getVersioning, instantiateEntity, propertySet, setActualShipDateTime, setComment, setCurrency, setField1, setField2, setField3, setInitKey_orderStatusId, setInvoiceDateTime, setInvoiceValue, setLastUpdateTime, setMerchantOrderNumber, setOrderId, setOrderStatus, setOrderStatusId, setOsCode, setPlaceDateTime, setPriceTotal, setRequestShipDateTime, setScheduleShipDateTime, setSequenceNumber, setShipCondition, setShippingModeFlag, setShippingTaxTotal, setShippingTotal, setTaxTotal, setVersioningpublic static final java.lang.String COPYRIGHT
public OrderStatusDataBean()
public OrderStatusDataBean(TypedProperty arg0)
arg0 - the com.ibm.commerce.datatype.TypedProperty objectOrderFulfillmentStatusAccessBeanpublic OrderStatusDataBean(com.ibm.commerce.orderstatus.objects.OrderFulfillmentStatus o)
o - the javax.ejb.EJBObject object
used to call the constructorpublic OrderStatusDataBean(OrderFulfillmentStatusAccessBean aabOrderStatus)
aabOrderStatus - the OrderFulfillmentStatusAccessBean objectjava.lang.Exceptionpublic CommandContext getCommandContext()
getCommandContext in interface SmartDataBeanpublic java.lang.Long getDataBeanOrderId()
public java.lang.Long getDataBeanKeyOrderStatusId()
public java.lang.Long getOrderStatusID()
getDataBeanKeyOrderStatusId().getOrderStatusID in interface com.ibm.commerce.messaging.beans.OrderStatusSmartDataBeanpublic TypedProperty getRequestProperties()
com.ibm.commerce.datatype.TypedProperty object.getRequestProperties in interface InputDataBeanpublic void populate()
setOrderStatusID. If this
ID is null and order ID is not null, it will attempt to load the data
by using the order ID.populate in interface SmartDataBeanjava.lang.Exceptionpublic void setCommandContext(CommandContext newCommandContext)
setCommandContext in interface SmartDataBeannewCommandContext - the com.ibm.commerce.command.CommandContext object used
in the databeanpublic void setDataBeanOrderId(java.lang.Long anOrderID)
anOrderID - the order IDpublic void setDataBeanKeyOrderStatusId(java.lang.Long anOrderStatusID)
anOrderStatusID - the order status IDpublic void setOrderStatusID(java.lang.Long anOrderStatusID)
setDataBeanKeyOrderStatusId(Long).setOrderStatusID in interface com.ibm.commerce.messaging.beans.OrderStatusInputDataBeananOrderStatusID - the order status IDpublic void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties in interface InputDataBeanaRequestProperty - the com.ibm.commerce.datatype.TypedProperty object used