com.ibm.commerce.inventory.objects
Class OrderItemShippingHistoryAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.inventory.objects.OrderItemShippingHistoryAccessBean
All Implemented Interfaces:
OrderItemShippingHistoryAccessBeanData

public class OrderItemShippingHistoryAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderItemShippingHistoryAccessBeanData

Each row contains information about inventory that has been released for fulfillment of an OrderItem. This access bean corresponds to the database table 'ORDSHIPHST'.

See Also:
Serialized Form

Constructor Summary
OrderItemShippingHistoryAccessBean()
Zero argument constructor used to initialize the access bean.
OrderItemShippingHistoryAccessBean(javax.ejb.EJBObject o)
constructor
OrderItemShippingHistoryAccessBean(java.lang.Long newOrderItemsId, java.lang.Long newVersionSpcId, java.lang.Integer newOrdShipHstNum, java.lang.Integer newQtyReturned)
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByOrderItemsId(java.lang.Long aOrderItemsId) Retrieves the information about inventory that has been released for fulfillment with the specified ORDERITEMS_ID The SQL query used to fetch the requested row from the ORDSHIPHST table is:
SELECT * FROM ORDSHIPHST T1 WHERE T1.ORDERITEMS_ID = ?
java.util.Enumeration findNonTrackedInventoryByOrderItemsId(java.lang.Long argOrderItemId) Retrieves the information about inventory that has been released for fulfillment with the specified Receipt_Id and OrderItems_id The SQL query used to fetch the requested row from the ORDSHIPHST table is:
SELECT * FROM ORDSHIPHST T1 WHERE T1.Receipt_Id is null and T1.OrderItems_id =?
java.lang.String getDateShipped()
This method provides access to the ORDSHIPHST.DATESHIPPED column of DB2 type TIMESTAMP.
java.sql.Timestamp getDateShippedInEJBType()
This method provides access to the ORDSHIPHST.DATESHIPPED column of DB2 type TIMESTAMP.
java.lang.String getLastupdate()
This method provides access to the ORDSHIPHST.LASTUPDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getLastupdateInEJBType()
This method provides access to the ORDSHIPHST.LASTUPDATE column of DB2 type TIMESTAMP.
java.lang.String getOrderItemsId()
This method provides access to the ORDSHIPHST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getOrderItemsIdInEJBType()
This method provides access to the ORDSHIPHST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getOrdShipHstNum()
This method provides access to the ORDSHIPHST.ORDSHIPHSTNUM column of DB2 type INTEGER NOT NULL.
java.lang.Integer getOrdShipHstNumInEJBType()
This method provides access to the ORDSHIPHST.ORDSHIPHSTNUM column of DB2 type INTEGER NOT NULL.
java.lang.String getQtyReturned()
This method provides access to the ORDSHIPHST.QTYRETURNED column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.Integer getQtyReturnedInEJBType()
This method provides access to the ORDSHIPHST.QTYRETURNED column of DB2 type INTEGER NOT NULL DEFAULT 0.
java.lang.String getQtyShipped()
This method provides access to the ORDSHIPHST.QTYSHIPPED column of DB2 type INTEGER.
java.lang.Integer getQtyShippedInEJBType()
This method provides access to the ORDSHIPHST.QTYSHIPPED column of DB2 type INTEGER.
java.lang.String getReceiptId()
This method provides access to the ORDSHIPHST.RECEIPT_ID column of DB2 type BIGINT.
java.lang.Long getReceiptIdInEJBType()
This method provides access to the ORDSHIPHST.RECEIPT_ID column of DB2 type BIGINT.
java.lang.String getVersionSpcId()
This method provides access to the ORDSHIPHST.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getVersionSpcIdInEJBType()
This method provides access to the ORDSHIPHST.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDateShipped(java.lang.String newValue)
This method accesses a non-CMP field
void setDateShipped(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setInitKey_orderItemsId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_ordShipHstNum(java.lang.String newValue)
Set the primary key for this object
void setLastupdate(java.lang.String newValue)
This method accesses a non-CMP field
void setLastupdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setOrderItemsId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOrderItemsId(java.lang.String newValue)
This method accesses a non-CMP field
void setOrdShipHstNum(java.lang.Integer newValue)
This method accesses a non-CMP field
void setOrdShipHstNum(java.lang.String newValue)
This method accesses a non-CMP field
void setQtyReturned(java.lang.Integer newValue)
This method accesses a non-CMP field
void setQtyReturned(java.lang.String newValue)
This method accesses a non-CMP field
void setQtyShipped(java.lang.Integer newValue)
This method accesses a non-CMP field
void setQtyShipped(java.lang.String newValue)
This method accesses a non-CMP field
void setReceiptId(java.lang.Long newValue)
This method accesses a non-CMP field
void setReceiptId(java.lang.String newValue)
This method accesses a non-CMP field
void setVersionSpcId(java.lang.Long newValue)
This method accesses a non-CMP field
void setVersionSpcId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

OrderItemShippingHistoryAccessBean

public OrderItemShippingHistoryAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.inventory.objects.OrderItemShippingHistory com.ibm.commerce.inventory.objimpl.OrderItemShippingHistoryHomeBase.findByPrimaryKey(com.ibm.commerce.inventory.objects.OrderItemShippingHistoryKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_orderItemsId( java.lang.Long ) setInitKey_ordShipHstNum( java.lang.Integer )

OrderItemShippingHistoryAccessBean

public OrderItemShippingHistoryAccessBean(javax.ejb.EJBObject o)
                                   throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

OrderItemShippingHistoryAccessBean

public OrderItemShippingHistoryAccessBean(java.lang.Long newOrderItemsId,
                                          java.lang.Long newVersionSpcId,
                                          java.lang.Integer newOrdShipHstNum,
                                          java.lang.Integer newQtyReturned)
                                   throws javax.naming.NamingException,
                                          javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
newOrderItemsId - - java.lang.Long
newVersionSpcId - - java.lang.Long
newOrdShipHstNum - - java.lang.Integer
newQtyReturned - - java.lang.Integer
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

findByOrderItemsId

public java.util.Enumeration findByOrderItemsId(java.lang.Long aOrderItemsId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Retrieves the information about inventory that has been released for fulfillment with the specified ORDERITEMS_ID
The SQL query used to fetch the requested row from the
ORDSHIPHST table is:
SELECT * FROM ORDSHIPHST T1 WHERE T1.ORDERITEMS_ID = ?

Parameters:
aOrderItemsId - - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findNonTrackedInventoryByOrderItemsId

public java.util.Enumeration findNonTrackedInventoryByOrderItemsId(java.lang.Long argOrderItemId)
                                                            throws java.rmi.RemoteException,
                                                                   javax.ejb.FinderException,
                                                                   javax.naming.NamingException

Retrieves the information about inventory that has been released for fulfillment with the specified Receipt_Id and OrderItems_id
The SQL query used to fetch the requested row from the
ORDSHIPHST table is:
SELECT * FROM ORDSHIPHST T1 WHERE T1.Receipt_Id is null and T1.OrderItems_id =?

Parameters:
argOrderItemId - - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_orderItemsId

public void setInitKey_orderItemsId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_ordShipHstNum

public void setInitKey_ordShipHstNum(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getQtyShipped

public java.lang.String getQtyShipped()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the ORDSHIPHST.QTYSHIPPED column of DB2 type INTEGER.

The following is a description of this column:

Quantity shipped from this receipt.

Specified by:
getQtyShipped in interface OrderItemShippingHistoryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getQtyShippedInEJBType

public java.lang.Integer getQtyShippedInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the ORDSHIPHST.QTYSHIPPED column of DB2 type INTEGER.

The following is a description of this column:

Quantity shipped from this receipt.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQtyShipped

public void setQtyShipped(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setQtyShipped in interface OrderItemShippingHistoryAccessBeanData

setQtyShipped

public void setQtyShipped(java.lang.Integer newValue)
This method accesses a non-CMP field

getVersionSpcId

public java.lang.String getVersionSpcId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the ORDSHIPHST.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The item that describes the shipped inventory.

Specified by:
getVersionSpcId in interface OrderItemShippingHistoryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getVersionSpcIdInEJBType

public java.lang.Long getVersionSpcIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the ORDSHIPHST.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The item that describes the shipped inventory.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setVersionSpcId

public void setVersionSpcId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setVersionSpcId in interface OrderItemShippingHistoryAccessBeanData

setVersionSpcId

public void setVersionSpcId(java.lang.Long newValue)
This method accesses a non-CMP field

getQtyReturned

public java.lang.String getQtyReturned()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the ORDSHIPHST.QTYRETURNED column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

The amount returned by the customer.

Specified by:
getQtyReturned in interface OrderItemShippingHistoryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getQtyReturnedInEJBType

public java.lang.Integer getQtyReturnedInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the ORDSHIPHST.QTYRETURNED column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

The amount returned by the customer.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQtyReturned

public void setQtyReturned(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setQtyReturned in interface OrderItemShippingHistoryAccessBeanData

setQtyReturned

public void setQtyReturned(java.lang.Integer newValue)
This method accesses a non-CMP field

getOrdShipHstNum

public java.lang.String getOrdShipHstNum()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the ORDSHIPHST.ORDSHIPHSTNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Uniquely identifies this row for an OrderItem.

Specified by:
getOrdShipHstNum in interface OrderItemShippingHistoryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOrdShipHstNumInEJBType

public java.lang.Integer getOrdShipHstNumInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the ORDSHIPHST.ORDSHIPHSTNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Uniquely identifies this row for an OrderItem.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOrdShipHstNum

public void setOrdShipHstNum(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOrdShipHstNum in interface OrderItemShippingHistoryAccessBeanData

setOrdShipHstNum

public void setOrdShipHstNum(java.lang.Integer newValue)
This method accesses a non-CMP field

getOrderItemsId

public java.lang.String getOrderItemsId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the ORDSHIPHST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderItem.

Specified by:
getOrderItemsId in interface OrderItemShippingHistoryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOrderItemsIdInEJBType

public java.lang.Long getOrderItemsIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the ORDSHIPHST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderItem.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOrderItemsId

public void setOrderItemsId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOrderItemsId in interface OrderItemShippingHistoryAccessBeanData

setOrderItemsId

public void setOrderItemsId(java.lang.Long newValue)
This method accesses a non-CMP field

getLastupdate

public java.lang.String getLastupdate()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the ORDSHIPHST.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The time of last update.

Specified by:
getLastupdate in interface OrderItemShippingHistoryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastupdateInEJBType

public java.sql.Timestamp getLastupdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the ORDSHIPHST.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The time of last update.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastupdate

public void setLastupdate(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLastupdate in interface OrderItemShippingHistoryAccessBeanData

setLastupdate

public void setLastupdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getDateShipped

public java.lang.String getDateShipped()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the ORDSHIPHST.DATESHIPPED column of DB2 type TIMESTAMP.

The following is a description of this column:

The time the OrderItem was released for fulfillment.

Specified by:
getDateShipped in interface OrderItemShippingHistoryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDateShippedInEJBType

public java.sql.Timestamp getDateShippedInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the ORDSHIPHST.DATESHIPPED column of DB2 type TIMESTAMP.

The following is a description of this column:

The time the OrderItem was released for fulfillment.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDateShipped

public void setDateShipped(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDateShipped in interface OrderItemShippingHistoryAccessBeanData

setDateShipped

public void setDateShipped(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getReceiptId

public java.lang.String getReceiptId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the ORDSHIPHST.RECEIPT_ID column of DB2 type BIGINT.

The following is a description of this column:

The receipt for the shipped inventory.

Specified by:
getReceiptId in interface OrderItemShippingHistoryAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getReceiptIdInEJBType

public java.lang.Long getReceiptIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the ORDSHIPHST.RECEIPT_ID column of DB2 type BIGINT.

The following is a description of this column:

The receipt for the shipped inventory.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setReceiptId

public void setReceiptId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setReceiptId in interface OrderItemShippingHistoryAccessBeanData

setReceiptId

public void setReceiptId(java.lang.Long newValue)
This method accesses a non-CMP field

Feedback