com.ibm.commerce.inventory.objects
Class OrderItemPickingHistoryAccessBean

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

public class OrderItemPickingHistoryAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderItemPickingHistoryAccessBeanData

Details of the how inventory was picked from the receipt level when available inventory is allocated to an OrderItem. This access bean corresponds to the database table 'ORDPICKHST'.

See Also:
Serialized Form

Constructor Summary
OrderItemPickingHistoryAccessBean()
Zero argument constructor used to initialize the access bean.
OrderItemPickingHistoryAccessBean(javax.ejb.EJBObject o)
constructor
OrderItemPickingHistoryAccessBean(java.lang.Long newOrderItemsId, java.lang.Long newVersionSpcId, java.lang.Integer newOrdPickHstNum)
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 order picking history with the specified ORDERITEMS_ID The SQL query used to fetch the requested row from the ORDPICKHST table is:
SELECT * FROM ORDPICKHST T1 WHERE T1.ORDERITEMS_ID = ?
java.lang.String getDatePicked()
This method provides access to the ORDPICKHST.DATEPICKED column of DB2 type TIMESTAMP.
java.sql.Timestamp getDatePickedInEJBType()
This method provides access to the ORDPICKHST.DATEPICKED column of DB2 type TIMESTAMP.
java.lang.String getLastupdate()
This method provides access to the ORDPICKHST.LASTUPDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getLastupdateInEJBType()
This method provides access to the ORDPICKHST.LASTUPDATE column of DB2 type TIMESTAMP.
java.lang.String getOrderItemsId()
This method provides access to the ORDPICKHST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getOrderItemsIdInEJBType()
This method provides access to the ORDPICKHST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getOrderPickingType()
This method provides access to the ORDPICKHST.ORDERPICKINGTYPE column of DB2 type INTEGER.
java.lang.Integer getOrderPickingTypeInEJBType()
This method provides access to the ORDPICKHST.ORDERPICKINGTYPE column of DB2 type INTEGER.
java.lang.String getOrdPickHstNum()
This method provides access to the ORDPICKHST.ORDPICKHSTNUM column of DB2 type INTEGER NOT NULL.
java.lang.Integer getOrdPickHstNumInEJBType()
This method provides access to the ORDPICKHST.ORDPICKHSTNUM column of DB2 type INTEGER NOT NULL.
java.lang.String getQtyPicked()
This method provides access to the ORDPICKHST.QTYPICKED column of DB2 type INTEGER.
java.lang.Integer getQtyPickedInEJBType()
This method provides access to the ORDPICKHST.QTYPICKED column of DB2 type INTEGER.
java.lang.String getReceiptId()
This method provides access to the ORDPICKHST.RECEIPT_ID column of DB2 type BIGINT.
java.lang.Long getReceiptIdInEJBType()
This method provides access to the ORDPICKHST.RECEIPT_ID column of DB2 type BIGINT.
java.lang.String getVersionspcId()
This method provides access to the ORDPICKHST.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getVersionspcIdInEJBType()
This method provides access to the ORDPICKHST.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDatePicked(java.lang.String newValue)
This method accesses a non-CMP field
void setDatePicked(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_ordPickHstNum(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 setOrderPickingType(java.lang.Integer newValue)
This method accesses a non-CMP field
void setOrderPickingType(java.lang.String newValue)
This method accesses a non-CMP field
void setOrdPickHstNum(java.lang.Integer newValue)
This method accesses a non-CMP field
void setOrdPickHstNum(java.lang.String newValue)
This method accesses a non-CMP field
void setQtyPicked(java.lang.Integer newValue)
This method accesses a non-CMP field
void setQtyPicked(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

OrderItemPickingHistoryAccessBean

public OrderItemPickingHistoryAccessBean()
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.OrderItemPickingHistory com.ibm.commerce.inventory.objimpl.OrderItemPickingHistoryHomeBase.findByPrimaryKey(com.ibm.commerce.inventory.objects.OrderItemPickingHistoryKey) 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_ordPickHstNum( java.lang.Integer )

OrderItemPickingHistoryAccessBean

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

OrderItemPickingHistoryAccessBean

public OrderItemPickingHistoryAccessBean(java.lang.Long newOrderItemsId,
                                         java.lang.Long newVersionSpcId,
                                         java.lang.Integer newOrdPickHstNum)
                                  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
newOrdPickHstNum - - 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 order picking history with the specified ORDERITEMS_ID
The SQL query used to fetch the requested row from the
ORDPICKHST table is:
SELECT * FROM ORDPICKHST 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 - The javax.naming.NamingException exception

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_ordPickHstNum

public void setInitKey_ordPickHstNum(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

getQtyPicked

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

This method provides access to the ORDPICKHST.QTYPICKED column of DB2 type INTEGER.

The following is a description of this column:

Quantity allocated from this receipt.

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

getQtyPickedInEJBType

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

This method provides access to the ORDPICKHST.QTYPICKED column of DB2 type INTEGER.

The following is a description of this column:

Quantity allocated from this receipt.

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

setQtyPicked

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

setQtyPicked

public void setQtyPicked(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 ORDPICKHST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the ORDERITEMS table.

Specified by:
getOrderItemsId in interface OrderItemPickingHistoryAccessBeanData
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 ORDPICKHST.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the ORDERITEMS table.

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 OrderItemPickingHistoryAccessBeanData

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 ORDPICKHST.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Time of last update.

Specified by:
getLastupdate in interface OrderItemPickingHistoryAccessBeanData
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 ORDPICKHST.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

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 OrderItemPickingHistoryAccessBeanData

setLastupdate

public void setLastupdate(java.sql.Timestamp 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 ORDPICKHST.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Item identifier.

Specified by:
getVersionspcId in interface OrderItemPickingHistoryAccessBeanData
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 ORDPICKHST.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Item identifier.

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 OrderItemPickingHistoryAccessBeanData

setVersionspcId

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

getOrdPickHstNum

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

This method provides access to the ORDPICKHST.ORDPICKHSTNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Uniquely identifies a row for this OrderItem.

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

getOrdPickHstNumInEJBType

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

This method provides access to the ORDPICKHST.ORDPICKHSTNUM column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Uniquely identifies a row for this OrderItem.

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

setOrdPickHstNum

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

setOrdPickHstNum

public void setOrdPickHstNum(java.lang.Integer 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 ORDPICKHST.RECEIPT_ID column of DB2 type BIGINT.

The following is a description of this column:

Receipt that was used for this allocation. This value will be NULL if the item is not tracked.

Specified by:
getReceiptId in interface OrderItemPickingHistoryAccessBeanData
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 ORDPICKHST.RECEIPT_ID column of DB2 type BIGINT.

The following is a description of this column:

Receipt that was used for this allocation. This value will be NULL if the item is not tracked.

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 OrderItemPickingHistoryAccessBeanData

setReceiptId

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

getDatePicked

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

This method provides access to the ORDPICKHST.DATEPICKED column of DB2 type TIMESTAMP.

The following is a description of this column:

The time when inventory was allocated to the Order.

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

getDatePickedInEJBType

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

This method provides access to the ORDPICKHST.DATEPICKED column of DB2 type TIMESTAMP.

The following is a description of this column:

The time when inventory was allocated to the Order.

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

setDatePicked

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

setDatePicked

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

getOrderPickingType

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

This method provides access to the ORDPICKHST.ORDERPICKINGTYPE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

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

getOrderPickingTypeInEJBType

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

This method provides access to the ORDPICKHST.ORDERPICKINGTYPE column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

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

setOrderPickingType

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

setOrderPickingType

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

Feedback