com.ibm.commerce.messaging.beans
Class OrderStatusItemDataBean

java.lang.Object
  |
  +--AbstractEntityAccessBean
        |
        +--com.ibm.commerce.orderstatus.objects.OrderFulfillmentItemStatusAccessBean
              |
              +--com.ibm.commerce.messaging.beans.OrderStatusItemDataBean
All Implemented Interfaces:
OrderFulfillmentItemStatusAccessBeanData

public class OrderStatusItemDataBean
extends OrderFulfillmentItemStatusAccessBean

OrderStatusItemDataBean provides access to ORDISTAT table.It extends OrderFulfillmentItemStatusAccessBean and implements OrderStatusItemInputDataBean and OrderStatusItemSmartDataBean interfaces.

See Also:
Serialized Form

Field Summary
protected  CommandContext commandContext
          The command context used in the databean.
 
Constructor Summary
OrderStatusItemDataBean()
          OrderStatusItemDataBean constructor
OrderStatusItemDataBean( TypedProperty arg0)
          OrderStatusDataBean constructor comment.
 
Method Summary
  CommandContext getCommandContext()
          Returns command context used in the databean.
 java.lang.Long getOrderItemStatusID()
          Returns order item status ID found in ORDISTAT table.
  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 setOrderItemStatusID(java.lang.Long newOrderItemStatusID)
          Sets order item status id located in the ORDISTAT table.
 void setRequestProperties( TypedProperty param)
          Sets RequestProperties for the databean.
 
Methods inherited from class com.ibm.commerce.orderstatus.objects. OrderFulfillmentItemStatusAccessBean
commitCopyHelper, defaultJNDIName, findByMaxVersion, findByMerchantOrderAndItemNumber, findByMerchantOrderAndItemNumberForUpdate, findByOrderIdAndItemId, findByOrderIdAndItemIdForUpdate, findByOrderIdForUpdate, getActualShipDateTime, getCurrency, 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, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commandContext

protected CommandContext commandContext
The command context used in the databean. It was initialized to null at the beginning.
Constructor Detail

OrderStatusItemDataBean

public OrderStatusItemDataBean()
OrderStatusItemDataBean constructor

OrderStatusItemDataBean

public OrderStatusItemDataBean(TypedProperty arg0)
                        throws javax.naming.NamingException,
                               javax.ejb.CreateException,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException
OrderStatusDataBean constructor comment. The argument is the TypedProperty object holding data of the new entry
Parameters:
arg0 - the com.ibm.commerce.datatype.TypedProperty object
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
See Also:
OrderFulfillmentItemStatusAccessBean
Method Detail

getCommandContext

public CommandContext getCommandContext()
Returns command context used in the databean.
Returns:
the com.ibm.commerce.command.CommandContext object

getOrderItemStatusID

public java.lang.Long getOrderItemStatusID()
Returns order item status ID found in ORDISTAT table.
Returns:
the order item status id

getRequestProperties

public TypedProperty getRequestProperties()
Returns request properties. Under the current implementation, it always returns null.
Returns:
null under the current implementation

populate

public void populate()
              throws java.lang.Exception
Loads the data from database, looking up the data by order item status ID. ID can be specified by method setOrderStatusItemID.
Throws:
java.lang.Exception

setCommandContext

public void setCommandContext(CommandContext newCommandContext)
Sets command context used in the databean
Parameters:
newCommandContext - the com.ibm.commerce.command.CommandContext object

setOrderItemStatusID

public void setOrderItemStatusID(java.lang.Long newOrderItemStatusID)
Sets order item status id located in the ORDISTAT table.

setRequestProperties

public void setRequestProperties(TypedProperty param)
                          throws java.lang.Exception
Sets RequestProperties for the databean. Under current implemenation, the method does nothing.
Parameters:
param - the com.ibm.commerce.datatype.TypedProperty object
Throws:
java.lang.Exception