com.ibm.commerce.inventory.objects
Class AvailableReceiptAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.inventory.objects.AvailableReceiptAccessBean
All Implemented Interfaces:
AvailableReceiptAccessBeanData, java.io.Serializable

public class AvailableReceiptAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AvailableReceiptAccessBeanData

This bean provides access to the RCPTAVAIL table.

The following is a description of this table:

Defines which DistributionArrangements have access to received inventory.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
AvailableReceiptAccessBean()
          Default constructor.
AvailableReceiptAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
AvailableReceiptAccessBean(java.lang.Long ReceiptId, java.lang.Long DistArrangId)
          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).
 java.util.Enumeration findByReceiptId(java.lang.Long ReceiptId)
          Retrieves the AvailableReceiptAccessBean representing the receipts available with the specified receipt ID
The SQL query used to fetch the requested row from the RCPTAVAIL table is:
SELECT * FROM RCPTAVAIL T1 WHERE T1.RECEIPT_ID = ?
 java.lang.String getDistArrangId()
          This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getDistArrangIdInEJBType()
          This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getPrecedence()
          This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER NULL.
 java.lang.Integer getPrecedenceInEJBType()
          This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER NULL.
 java.lang.String getRcptAvailId()
          This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRcptAvailIdInEJBType()
          This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getReceiptId()
          This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getReceiptIdInEJBType()
          This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDistArrangId(java.lang.Long aDistArrangId)
          This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 void setDistArrangId(java.lang.String aDistArrangId)
          This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_rcptAvailId(java.lang.String aInitKey_rcptAvailId)
          Set the primary key for this object
 void setLastUpdate(java.lang.String aLastUpdate)
          This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the RCPTAVAIL.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setPrecedence(java.lang.Integer aPrecedence)
          This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER NULL.
 void setPrecedence(java.lang.String aPrecedence)
          This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER NULL.
 void setRcptAvailId(java.lang.Long aRcptAvailId)
          This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.
 void setRcptAvailId(java.lang.String aRcptAvailId)
          This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.
 void setReceiptId(java.lang.Long aReceiptId)
          This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 void setReceiptId(java.lang.String aReceiptId)
          This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailableReceiptAccessBean

public AvailableReceiptAccessBean()

Default constructor. Maps to findByPrimaryKey.


AvailableReceiptAccessBean

public AvailableReceiptAccessBean(javax.ejb.EJBObject object)
                           throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

AvailableReceiptAccessBean

public AvailableReceiptAccessBean(java.lang.Long ReceiptId,
                                  java.lang.Long DistArrangId)
                           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:
ReceiptId - - java.lang.Long
DistArrangId - - java.lang.Long
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

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByReceiptId

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

Retrieves the AvailableReceiptAccessBean representing the receipts available with the specified receipt ID
The SQL query used to fetch the requested row from the RCPTAVAIL table is:
SELECT * FROM RCPTAVAIL T1 WHERE T1.RECEIPT_ID = ?

Parameters:
ReceiptId - - 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

getDistArrangId

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

This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the DistributionArrangement under which this receipt is available.

Specified by:
getDistArrangId in interface AvailableReceiptAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDistArrangIdInEJBType

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

This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the DistributionArrangement under which this receipt is available.

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

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

The following is a description of this column:

Timestamp of last update.

Specified by:
getLastUpdate in interface AvailableReceiptAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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

The following is a description of this column:

Timestamp of last update.

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

getPrecedence

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

This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER NULL.

The following is a description of this column:

Represents the order in which inventory should be picked. Picking starts with the lowest number first.

Specified by:
getPrecedence in interface AvailableReceiptAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPrecedenceInEJBType

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

This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER NULL.

The following is a description of this column:

Represents the order in which inventory should be picked. Picking starts with the lowest number first.

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

getRcptAvailId

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

This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

Specified by:
getRcptAvailId in interface AvailableReceiptAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRcptAvailIdInEJBType

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

This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

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

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 RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which receipt is available under the DistributionArrangement.

Specified by:
getReceiptId in interface AvailableReceiptAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which receipt is available under the DistributionArrangement.

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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setDistArrangId

public void setDistArrangId(java.lang.Long aDistArrangId)

This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the DistributionArrangement under which this receipt is available.

Parameters:
aDistArrangId - java.lang.Long
Returns:
void

setDistArrangId

public void setDistArrangId(java.lang.String aDistArrangId)

This method provides access to the RCPTAVAIL.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates the DistributionArrangement under which this receipt is available.

Specified by:
setDistArrangId in interface AvailableReceiptAccessBeanData
Parameters:
aDistArrangId - java.lang.String
Returns:
void

setInitKey_rcptAvailId

public void setInitKey_rcptAvailId(java.lang.String aInitKey_rcptAvailId)

Set the primary key for this object

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

setLastUpdate

public void setLastUpdate(java.lang.String aLastUpdate)

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

The following is a description of this column:

Timestamp of last update.

Specified by:
setLastUpdate in interface AvailableReceiptAccessBeanData
Parameters:
aLastUpdate - java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

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

The following is a description of this column:

Timestamp of last update.

Parameters:
aLastUpdate - java.sql.Timestamp
Returns:
void

setPrecedence

public void setPrecedence(java.lang.Integer aPrecedence)

This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER NULL.

The following is a description of this column:

Represents the order in which inventory should be picked. Picking starts with the lowest number first.

Parameters:
aPrecedence - java.lang.Integer
Returns:
void

setPrecedence

public void setPrecedence(java.lang.String aPrecedence)

This method provides access to the RCPTAVAIL.PRECEDENCE column of DB2 type INTEGER NULL.

The following is a description of this column:

Represents the order in which inventory should be picked. Picking starts with the lowest number first.

Specified by:
setPrecedence in interface AvailableReceiptAccessBeanData
Parameters:
aPrecedence - java.lang.String
Returns:
void

setRcptAvailId

public void setRcptAvailId(java.lang.Long aRcptAvailId)

This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

Parameters:
aRcptAvailId - java.lang.Long
Returns:
void

setRcptAvailId

public void setRcptAvailId(java.lang.String aRcptAvailId)

This method provides access to the RCPTAVAIL.RCPTAVAIL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier.

Specified by:
setRcptAvailId in interface AvailableReceiptAccessBeanData
Parameters:
aRcptAvailId - java.lang.String
Returns:
void

setReceiptId

public void setReceiptId(java.lang.Long aReceiptId)

This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which receipt is available under the DistributionArrangement.

Parameters:
aReceiptId - java.lang.Long
Returns:
void

setReceiptId

public void setReceiptId(java.lang.String aReceiptId)

This method provides access to the RCPTAVAIL.RECEIPT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which receipt is available under the DistributionArrangement.

Specified by:
setReceiptId in interface AvailableReceiptAccessBeanData
Parameters:
aReceiptId - java.lang.String
Returns:
void