com.ibm.commerce.inventory.objects
Class PickBatchAccessBean

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

public class PickBatchAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PickBatchAccessBeanData

This table contains pick batch information. A pick batch groups together order releases for their processing as a unit at a FulfillmentCenter (picking inventory for OrderItems, packing them into boxes, and shipping to customer through selected carrier). This access bean corresponds to the database table 'PICKBATCH'.

See Also:
Serialized Form

Constructor Summary
PickBatchAccessBean()
Zero argument constructor used to initialize the access bean.
PickBatchAccessBean(javax.ejb.EJBObject o)
constructor
PickBatchAccessBean(java.lang.Long newMemberId, java.lang.Integer newFulfillmentCenterId)
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.lang.String getDate1()
This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.
java.sql.Timestamp getDate1InEJBType()
This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.
java.lang.String getDate2()
This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.
java.sql.Timestamp getDate2InEJBType()
This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.
java.lang.String getField1()
This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.
java.lang.Integer getField1InEJBType()
This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.
java.lang.String getField2()
This method provides access to the PICKBATCH.FIELD2 column of DB2 type VARCHAR(254).
java.lang.String getField3()
This method provides access to the PICKBATCH.FIELD3 column of DB2 type VARCHAR(254).
java.lang.String getFufillmentCenterId()
This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getFufillmentCenterIdInEJBType()
This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getLastUpdate()
This method provides access to the PICKBATCH.LASTUPDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getLastUpdateInEJBType()
This method provides access to the PICKBATCH.LASTUPDATE column of DB2 type TIMESTAMP.
java.lang.String getMemberId()
This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.
java.lang.Long getMemberIdInEJBType()
This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.
java.lang.String getPickBatchId()
This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getPickBatchIdInEJBType()
This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getPickSlipXml()
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDate1(java.lang.String newValue)
This method accesses a non-CMP field
void setDate1(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setDate2(java.lang.String newValue)
This method accesses a non-CMP field
void setDate2(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setField1(java.lang.Integer newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setField2(java.lang.String newValue)
This method accesses a non-CMP field
void setField3(java.lang.String newValue)
This method accesses a non-CMP field
void setFufillmentCenterId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setFufillmentCenterId(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_pickBatchId(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 setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
void setPickBatchId(java.lang.Long newValue)
This method accesses a non-CMP field
void setPickBatchId(java.lang.String newValue)
This method accesses a non-CMP field
void setPickSlipXml(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

PickBatchAccessBean

public PickBatchAccessBean()
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.PickBatch com.ibm.commerce.inventory.objimpl.PickBatchHomeBase.findByPrimaryKey(com.ibm.commerce.inventory.objects.PickBatchKey) 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_pickBatchId( java.lang.Long )

PickBatchAccessBean

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

PickBatchAccessBean

public PickBatchAccessBean(java.lang.Long newMemberId,
                           java.lang.Integer newFulfillmentCenterId)
                    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:
newMemberId - - java.lang.Long
newFulfillmentCenterId - - 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

setInitKey_pickBatchId

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

getPickSlipXml

public java.lang.String getPickSlipXml()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getPickSlipXml in interface PickBatchAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPickSlipXml

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

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

The following is a description of this column:

Timestamp when the pick batch was last updated.

Specified by:
getLastUpdate in interface PickBatchAccessBeanData
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 PICKBATCH.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Timestamp when the pick batch was last updated.

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 PickBatchAccessBeanData

setLastUpdate

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

getDate2

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

This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

getDate2InEJBType

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

This method provides access to the PICKBATCH.DATE2 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

setDate2

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

setDate2

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

getDate1

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

This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

getDate1InEJBType

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

This method provides access to the PICKBATCH.DATE1 column of DB2 type TIMESTAMP.

The following is a description of this column:

Customizable.

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

setDate1

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

setDate1

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

getFufillmentCenterId

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

This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

FulfillmentCenter for which the pick batch was generated. Foreign key to FFMCENTER.

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

getFufillmentCenterIdInEJBType

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

This method provides access to the PICKBATCH.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

FulfillmentCenter for which the pick batch was generated. Foreign key to FFMCENTER.

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

setFufillmentCenterId

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

setFufillmentCenterId

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

getField3

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

This method provides access to the PICKBATCH.FIELD3 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface PickBatchAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField3

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

getField2

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

This method provides access to the PICKBATCH.FIELD2 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface PickBatchAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

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

getField1

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

This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

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

getField1InEJBType

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

This method provides access to the PICKBATCH.FIELD1 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

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

setField1

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

setField1

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

getPickBatchId

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

This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique key.

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

getPickBatchIdInEJBType

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

This method provides access to the PICKBATCH.PICKBATCH_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique key.

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

setPickBatchId

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

setPickBatchId

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

getMemberId

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

This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the user who generated the pick batch.

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

getMemberIdInEJBType

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

This method provides access to the PICKBATCH.MEMBER_ID column of DB2 type BIGINT.

The following is a description of this column:

ID of the user who generated the pick batch.

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

setMemberId

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

setMemberId

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

Feedback