public class OrderStatusItemDataBean extends OrderFulfillmentItemStatusAccessBean implements com.ibm.commerce.messaging.beans.OrderStatusItemInputDataBean, com.ibm.commerce.messaging.beans.OrderStatusItemSmartDataBean
OrderStatusItemDataBean
provides access to ORDISTAT table. It extends OrderFulfillmentItemStatusAccessBean
and
implements OrderStatusItemInputDataBean
and OrderStatusItemSmartDataBean
interfaces.emptyString
Constructor and Description |
---|
OrderStatusItemDataBean()
OrderStatusItemDataBean constructor
|
OrderStatusItemDataBean(com.ibm.commerce.orderstatus.objects.OrderFulfillmentItemStatus o)
OrderStatusItemDataBean constructor.
|
OrderStatusItemDataBean(OrderFulfillmentItemStatusAccessBean aabOrderItemStatus)
Constructs an OrderStatusItemDataBean from an
OrderFulfillmentItemStatusAccessBean . |
OrderStatusItemDataBean(TypedProperty arg0)
OrderStatusDataBean constructor comment.
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Returns command context used in the databean.
|
java.lang.Long |
getDataBeanKeyOrderItemStatusId()
Returns order item status ID used to initialize the data bean.
|
java.lang.Long |
getDataBeanOrderId()
Returns order ID used to initialize this data bean.
|
java.lang.Long |
getDataBeanOrderItemId()
Returns order item ID used to initialize this data bean.
|
java.lang.Long |
getOrderItemStatusID()
Deprecated.
This method is replaced by
getDataBeanKeyOrderItemStatusId() . |
TypedProperty |
getRequestProperties()
Returns request properties.
|
void |
populate()
Loads the data from database, looking up the data by order item status ID.
|
void |
setCommandContext(CommandContext newCommandContext)
Sets command context used in the databean
|
void |
setDataBeanKeyOrderItemStatusId(java.lang.Long anOrderItemStatusID)
Sets order item status ID located in the ORDISTAT table.
|
void |
setDataBeanOrderId(java.lang.Long anOrderID)
Sets the order ID to lookup the order item status in ORDISTAT table.
|
void |
setDataBeanOrderItemId(java.lang.Long anOrderItemID)
Sets the order item ID to lookup the order item status in ORDISTAT table.
|
void |
setOrderItemStatusID(java.lang.Long anOrderItemStatusID)
Deprecated.
This method is replaced by
setDataBeanKeyOrderItemStatusId(Long) . |
void |
setRequestProperties(TypedProperty aRequestProperty)
Sets RequestProperties for the databean.
|
findByMaxVersion, findByMerchantOrderAndItemNumber, findByMerchantOrderAndItemNumberForUpdate, findByOrderId, findByOrderIdAndItemId, findByOrderIdAndItemIdForUpdate, findByOrderIdForUpdate, getActualShipDateTime, getCurrency, getEntity, getField1, getField2, getField3, getInvoiceDateTime, getInvoiceValue, getItemComment, getMerchantItemNumber, getMerchantOrderNumber, getOrderId, getOrderItemId, getOrderItemStatus, getOrderItemStatusId, getOrdstatId, getPartNumber, getPlaceDateTime, getPriceTotal, getQuantityConfirmed, getQuantityRequested, getQuantityShipped, getRequestShipDateTime, getScheduleShipDateTime, getShipCondition, getShippingTaxTotal, getShippingTotal, getSupplierData, getTaxTotal, getUnitOfMeasure, getUnitPrice, getVersioning, instantiateEntity, setActualShipDateTime, setCurrency, setField1, setField2, setField3, setInitKey_orderItemStatusId, setInvoiceDateTime, setInvoiceValue, setItemComment, setMerchantItemNumber, setMerchantOrderNumber, setOrderId, setOrderItemId, setOrderItemStatus, setOrderItemStatusId, setOrdstatId, setPartNumber, setPlaceDateTime, setPriceTotal, setQuantityConfirmed, setQuantityRequested, setQuantityShipped, setRequestShipDateTime, setScheduleShipDateTime, setShipCondition, setShippingTaxTotal, setShippingTotal, setSupplierData, setTaxTotal, setUnitOfMeasure, setUnitPrice, setVersioning
public OrderStatusItemDataBean()
public OrderStatusItemDataBean(TypedProperty arg0)
arg0
- the com.ibm.commerce.datatype.TypedProperty
objectOrderFulfillmentItemStatusAccessBean
public OrderStatusItemDataBean(com.ibm.commerce.orderstatus.objects.OrderFulfillmentItemStatus o)
o
- the javax.ejb.EJBObject
object
used to call the constructor.public OrderStatusItemDataBean(OrderFulfillmentItemStatusAccessBean aabOrderItemStatus)
OrderFulfillmentItemStatusAccessBean
.aabOrderItemStatus
- the OrderFulfillmentItemStatusAccessBean
objectjava.lang.Exception
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
com.ibm.commerce.command.CommandContext
objectpublic java.lang.Long getDataBeanOrderId()
public java.lang.Long getDataBeanOrderItemId()
public java.lang.Long getDataBeanKeyOrderItemStatusId()
public java.lang.Long getOrderItemStatusID()
getDataBeanKeyOrderItemStatusId()
.getOrderItemStatusID
in interface com.ibm.commerce.messaging.beans.OrderStatusItemSmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void populate()
setOrderStatusItemID
. It will attempt to load the data using
the order ID and the order item ID in the following condition: the order item status ID is null and the order
ID as well as the order item ID are not null.populate
in interface SmartDataBean
java.lang.Exception
public void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface SmartDataBean
newCommandContext
- the com.ibm.commerce.command.CommandContext
objectpublic void setDataBeanOrderId(java.lang.Long anOrderID)
anOrderID
- the order IDsetDataBeanOrderItemId(Long)
public void setDataBeanOrderItemId(java.lang.Long anOrderItemID)
anOrderItemID
- the order item IDsetDataBeanOrderId(Long)
public void setDataBeanKeyOrderItemStatusId(java.lang.Long anOrderItemStatusID)
anOrderItemStatusID
- the order item status IDpublic void setOrderItemStatusID(java.lang.Long anOrderItemStatusID)
setDataBeanKeyOrderItemStatusId(Long)
.setOrderItemStatusID
in interface com.ibm.commerce.messaging.beans.OrderStatusItemInputDataBean
anOrderItemStatusID
- the order item status IDpublic void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties
in interface InputDataBean
aRequestProperty
- the com.ibm.commerce.datatype.TypedProperty
object