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, setVersioning
public static final java.lang.String COPYRIGHT
public OrderStatusDataBean()
public OrderStatusDataBean(TypedProperty arg0)
arg0
- the com.ibm.commerce.datatype.TypedProperty
objectOrderFulfillmentStatusAccessBean
public 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.Exception
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public java.lang.Long getDataBeanOrderId()
public java.lang.Long getDataBeanKeyOrderStatusId()
public java.lang.Long getOrderStatusID()
getDataBeanKeyOrderStatusId()
.getOrderStatusID
in interface com.ibm.commerce.messaging.beans.OrderStatusSmartDataBean
public TypedProperty getRequestProperties()
com.ibm.commerce.datatype.TypedProperty
object.getRequestProperties
in interface InputDataBean
public 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 SmartDataBean
java.lang.Exception
public void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface SmartDataBean
newCommandContext
- 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.OrderStatusInputDataBean
anOrderStatusID
- the order status IDpublic void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties
in interface InputDataBean
aRequestProperty
- the com.ibm.commerce.datatype.TypedProperty
object used