com.ibm.commerce.messaging.beans
Class OrderStatusDataBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.orderstatus.objects.OrderFulfillmentStatusAccessBean
              |
              +--com.ibm.commerce.messaging.beans.OrderStatusDataBean
All Implemented Interfaces:
OrderFulfillmentStatusAccessBeanData

public class OrderStatusDataBean
extends OrderFulfillmentStatusAccessBean

OrderStatusDataBean provides access to ORDSTAT table. It extends OrderFulfillmentStatusAccessBean and implements OrderStatusInputDataBean and OrderStatusSmartDataBean interfaces.

See Also:
Serialized Form

Field Summary
protected  CommandContext commandContext
          The command context used in the databean.
 
Constructor Summary
OrderStatusDataBean()
          OrderStatusDataBean constructor comment.
OrderStatusDataBean( TypedProperty arg0)
          OrderStatusDataBean constructor.
 
Method Summary
  CommandContext getCommandContext()
          Returns the current command context.
 java.lang.Long getOrderStatusID()
          Returns the order status ID found in ORDSTAT.
  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 setOrderStatusID(java.lang.Long newOrderStatusID)
          Sets the order status id located in the ORDSTAT table.
 void setRequestProperties( TypedProperty param)
          Sets request properties for the databean.
 
Methods inherited from class com.ibm.commerce.orderstatus.objects. OrderFulfillmentStatusAccessBean
commitCopyHelper, defaultJNDIName, findByMaxVersion, findByMerchantOrderNumber, findByMerchantOrderNumberForUpdate, findByOrderId, findByOrderIdForUpdate, getActualShipDateTime, getComment, getCurrency, getField1, getField2, getField3, getInvoiceDateTime, getInvoiceValue, getLastUpdateTime, getMerchantOrderNumber, getOrderId, getOrderStatus, getOrderStatusId, getOsCode, getPlaceDateTime, getPriceTotal, getRequestShipDateTime, getScheduleShipDateTime, getSequenceNumber, getShipCondition, getShippingModeFlag, getShippingTaxTotal, getShippingTotal, getTaxTotal, getVersioning, instantiateEJB, instantiateEJBByPrimaryKey, propertySet, refreshCopyHelper, 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
 
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

OrderStatusDataBean

public OrderStatusDataBean()
OrderStatusDataBean constructor comment.

OrderStatusDataBean

public OrderStatusDataBean(TypedProperty arg0)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.ejb.FinderException
OrderStatusDataBean constructor. 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:
OrderFulfillmentStatusAccessBean
Method Detail

getCommandContext

public CommandContext getCommandContext()
Returns the current command context. Under the current implementation, it always returns null.
Returns:
null under the current implementation

getOrderStatusID

public java.lang.Long getOrderStatusID()
Returns the order status ID found in ORDSTAT.
Returns:
the order status id

getRequestProperties

public TypedProperty getRequestProperties()
Returns request properties in a com.ibm.commerce.datatype.TypedProperty object. Under 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 status ID. ID can be specified by method setOrderStatusID.
Throws:
java.lang.Exception

setCommandContext

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

setOrderStatusID

public void setOrderStatusID(java.lang.Long newOrderStatusID)
Sets the order status id located in the ORDSTAT table.
Parameters:
newOrderStatusID - the order status id

setRequestProperties

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