java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.inventory.objects.DistributionArrangementAccessBean
Each row of this table represents a DistributionArrangement, enabling a Store to sell its own inventory. This access bean corresponds to the database table 'DISTARRANG'.
Constructor Summary | |
DistributionArrangementAccessBean() Zero argument constructor used to initialize the access bean. |
|
DistributionArrangementAccessBean(javax.ejb.EJBObject o) constructor |
|
DistributionArrangementAccessBean(java.lang.Long newBaseItemId, java.lang.Integer newMerchantStoreId, java.lang.Integer newWholeSaleStoreId, java.sql.Timestamp newStartDate, java.sql.Timestamp newEndDate) 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 | findByWholeSaleStoreIdAndBaseItemId(java.lang.Integer wholeSaleStoreId, java.lang.Long baseItemId)
Retrieves all the DistributionArrangements with the specified WHOLESALESTORE_ID and BASEITEM_ID
The SQL query used to fetch the requested row from the DISTARRANG table is: SELECT * FROM DISTARRANG T1 WHERE T1.WHOLESALESTORE_ID = ? AND BASEITEM_ID = ? |
java.lang.String | getBaseItemId() This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getBaseItemIdInEJBType() This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getDistArrangId() This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getDistArrangIdInEJBType() This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getEndDate() This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL. |
java.sql.Timestamp | getEndDateInEJBType() This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String | getField1() This method provides access to the DISTARRANG.FIELD1 column of DB2 type VARCHAR(254). |
java.lang.String | getField2() This method provides access to the DISTARRANG.FIELD2 column of DB2 type VARCHAR(254). |
java.lang.String | getField3() This method provides access to the DISTARRANG.FIELD3 column of DB2 type VARCHAR(254). |
java.lang.String | getLastupdate() This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastupdateInEJBType() This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String | getMerchantStoreId() This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getMerchantStoreIdInEJBType() This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getPickingMethod() This method provides access to the DISTARRANG.PICKINGMETHOD column of DB2 type CHAR(1). |
java.lang.String | getStartDate() This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL. |
java.sql.Timestamp | getStartDateInEJBType() This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String | getWholeSaleStoreId() This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getWholeSaleStoreIdInEJBType() This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setBaseItemId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setBaseItemId(java.lang.String newValue) This method accesses a non-CMP field |
void | setDistArrangId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setDistArrangId(java.lang.String newValue) This method accesses a non-CMP field |
void | setEndDate(java.lang.String newValue) This method accesses a non-CMP field |
void | setEndDate(java.sql.Timestamp 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 | setInitKey_distArrangId(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 | setMerchantStoreId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMerchantStoreId(java.lang.String newValue) This method accesses a non-CMP field |
void | setPickingMethod(java.lang.String newValue) This method accesses a non-CMP field |
void | setStartDate(java.lang.String newValue) This method accesses a non-CMP field |
void | setStartDate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setWholeSaleStoreId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setWholeSaleStoreId(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 |
public DistributionArrangementAccessBean()
public DistributionArrangementAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public DistributionArrangementAccessBean(java.lang.Long newBaseItemId, java.lang.Integer newMerchantStoreId, java.lang.Integer newWholeSaleStoreId, java.sql.Timestamp newStartDate, java.sql.Timestamp newEndDate) 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
Method Detail |
public java.util.Enumeration findByWholeSaleStoreIdAndBaseItemId(java.lang.Integer wholeSaleStoreId, java.lang.Long baseItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the DistributionArrangements with the specified WHOLESALESTORE_ID and BASEITEM_ID
The SQL query used to fetch the requested row from the DISTARRANG table is:
SELECT * FROM DISTARRANG T1 WHERE T1.WHOLESALESTORE_ID = ? AND BASEITEM_ID = ?
public void setInitKey_distArrangId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getDistArrangId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
public java.lang.Long getDistArrangIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.DISTARRANG_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
public void setDistArrangId(java.lang.String newValue)
public void setDistArrangId(java.lang.Long newValue)
public java.lang.String getPickingMethod() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.PICKINGMETHOD column of DB2 type CHAR(1).
The following is a description of this column:
Determines the sequence in which inventory is picked from the RECEIPT table under this arrangement:&l
public void setPickingMethod(java.lang.String newValue)
public java.lang.String getLastupdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this DistributionArrangement was most recently updated.
public java.sql.Timestamp getLastupdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this DistributionArrangement was most recently updated.
public void setLastupdate(java.lang.String newValue)
public void setLastupdate(java.sql.Timestamp newValue)
public java.lang.String getBaseItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The product covered by this distribution arrangement.
public java.lang.Long getBaseItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The product covered by this distribution arrangement.
public void setBaseItemId(java.lang.String newValue)
public void setBaseItemId(java.lang.Long newValue)
public java.lang.String getStartDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this DistributionArrangement begins being effective.
public java.sql.Timestamp getStartDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.STARTDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this DistributionArrangement begins being effective.
public void setStartDate(java.lang.String newValue)
public void setStartDate(java.sql.Timestamp newValue)
public java.lang.String getField3() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.FIELD3 column of DB2 type VARCHAR(254).
The following is a description of this column:
Customizable.
public void setField3(java.lang.String newValue)
public java.lang.String getField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.FIELD2 column of DB2 type VARCHAR(254).
The following is a description of this column:
Customizable.
public void setField2(java.lang.String newValue)
public java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.FIELD1 column of DB2 type VARCHAR(254).
The following is a description of this column:
Customizable.
public void setField1(java.lang.String newValue)
public java.lang.String getWholeSaleStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The wholesale Store that owns the inventory that can be sold by the merchant Store.
public java.lang.Integer getWholeSaleStoreIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.WHOLESALESTORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The wholesale Store that owns the inventory that can be sold by the merchant Store.
public void setWholeSaleStoreId(java.lang.String newValue)
public void setWholeSaleStoreId(java.lang.Integer newValue)
public java.lang.String getMerchantStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The merchant Store that can sell from the inventory of the wholesale Store. The value of this column must be the same as the value of the WHOLESALESTORE_ID column.
public java.lang.Integer getMerchantStoreIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.MERCHANTSTORE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The merchant Store that can sell from the inventory of the wholesale Store. The value of this column must be the same as the value of the WHOLESALESTORE_ID column.
public void setMerchantStoreId(java.lang.String newValue)
public void setMerchantStoreId(java.lang.Integer newValue)
public java.lang.String getEndDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this DistributionArrangement stops being effective.
public java.sql.Timestamp getEndDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISTARRANG.ENDDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this DistributionArrangement stops being effective.
public void setEndDate(java.lang.String newValue)
public void setEndDate(java.sql.Timestamp newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.