java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.inventory.objects.StoreItemAccessBean
Each row of this table contains attributes that affect how a particular Store allocates inventory for the specified items of a particular Base Item. If there is no row for the Store, then the row for its Store Group is used. This access bean corresponds to the database table 'STOREITEM'.
Constructor Summary | |
StoreItemAccessBean() Zero argument constructor used to initialize the access bean. |
|
StoreItemAccessBean(javax.ejb.EJBObject o) constructor |
|
StoreItemAccessBean(java.lang.Long arg0, java.lang.Integer arg1) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByForeignSystem(java.lang.Long arg0) |
java.util.Enumeration | findByStoreId(java.lang.Long aStoreId)
Retrieves the attributes that affect how a particular Store allocates inventory for the specified STOREENT_ID
The SQL query used to fetch the requested row from the STOREITEM table is: SELECT * FROM STOREITEM T1 WHERE T1.STOREENT_ID = ? |
java.lang.String | getBackOrderable() This method provides access to the STOREITEM.BACKORDERABLE column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'. |
java.lang.String | getBaseItemId() This method provides access to the STOREITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getBaseItemIdInEJBType() This method provides access to the STOREITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getCreditable() This method provides access to the STOREITEM.CREDITABLE column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'. |
java.lang.String | getForceBackOrder() This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'. |
java.lang.String | getForeignSKU() This method provides access to the STOREITEM.FOREIGNSKU column of DB2 type CHAR(20). |
java.lang.String | getForeignSystem() This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT. |
java.lang.Long | getForeignSystemInEJBType() This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT. |
java.lang.String | getLastupdate() This method provides access to the STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastupdateInEJBType() This method provides access to the STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String | getMinimumQtyForSplit() This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMinimumQtyForSplitInEJBType() This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getReleaseSeparately() This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'. |
java.lang.String | getReturnNotDesired() This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'. |
java.lang.String | getStoreentId() This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreentIdInEJBType() This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getTrackInventory() This method provides access to the STOREITEM.TRACKINVENTORY column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setBackOrderable(java.lang.String newValue) This method accesses a non-CMP field |
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 | setCreditable(java.lang.String newValue) This method accesses a non-CMP field |
void | setForceBackOrder(java.lang.String newValue) This method accesses a non-CMP field |
void | setforeignSKU(java.lang.String newValue) This method accesses a non-CMP field |
void | setForeignSystem(java.lang.Long newValue) This method accesses a non-CMP field |
void | setForeignSystem(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_baseItemId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_storeentId(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 | setMinimumQtyForSplit(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMinimumQtyForSplit(java.lang.String newValue) This method accesses a non-CMP field |
void | setReleaseSeparately(java.lang.String newValue) This method accesses a non-CMP field |
void | setReturnNotDesired(java.lang.String newValue) This method accesses a non-CMP field |
void | setStoreentId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreentId(java.lang.String newValue) This method accesses a non-CMP field |
void | setTrackInventory(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 StoreItemAccessBean()
public StoreItemAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public StoreItemAccessBean(java.lang.Long arg0, java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Method Detail |
public java.util.Enumeration findByForeignSystem(java.lang.Long arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByStoreId(java.lang.Long aStoreId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the attributes that affect how a particular Store allocates inventory for the specified STOREENT_ID
The SQL query used to fetch the requested row from the STOREITEM table is:
SELECT * FROM STOREITEM T1 WHERE T1.STOREENT_ID = ?
public void setInitKey_baseItemId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_storeentId(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 getForeignSystem() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT.
The following is a description of this column:
Customizable.
public java.lang.Long getForeignSystemInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT.
The following is a description of this column:
Customizable.
public void setForeignSystem(java.lang.String newValue)
public void setForeignSystem(java.lang.Long newValue)
public java.lang.String getForceBackOrder() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
The following is a description of this column:
Can be used to temporarily suspend allocation of specified items for this Base Item.&l
public void setForceBackOrder(java.lang.String newValue)
public java.lang.String getTrackInventory() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.TRACKINVENTORY column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'.
The following is a description of this column:
Controls whether or not inventory is tracked in the RECEIPT table.&l
public void setTrackInventory(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 STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The most recent time this row was 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 STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The most recent time this row was updated.
public void setLastupdate(java.lang.String newValue)
public void setLastupdate(java.sql.Timestamp newValue)
public java.lang.String getBackOrderable() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.BACKORDERABLE column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'.
The following is a description of this column:
Can be used to indicate that specified items for this Base Item cannot be backordered.&l
public void setBackOrderable(java.lang.String 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 STOREITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Base Item.
public java.lang.Long getBaseItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Base Item.
public void setBaseItemId(java.lang.String newValue)
public void setBaseItemId(java.lang.Long newValue)
public java.lang.String getStoreentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or Store Group for this row. Attributes in this row apply to the specified Store, or to Stores in the specified Store Group that do not have their own row.
public java.lang.Integer getStoreentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or Store Group for this row. Attributes in this row apply to the specified Store, or to Stores in the specified Store Group that do not have their own row.
public void setStoreentId(java.lang.String newValue)
public void setStoreentId(java.lang.Integer newValue)
public java.lang.String getReturnNotDesired() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
The following is a description of this column:
Item return not wanted, even if customer is willing or able to return it. For example, perishable food items. &l
public void setReturnNotDesired(java.lang.String newValue)
public java.lang.String getCreditable() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.CREDITABLE column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'.
The following is a description of this column:
Whether the merchant will, without an override, issue a credit for this item.&l
public void setCreditable(java.lang.String newValue)
public java.lang.String getForeignSKU() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.FOREIGNSKU column of DB2 type CHAR(20).
The following is a description of this column:
Customizable.
public void setforeignSKU(java.lang.String newValue)
public java.lang.String getMinimumQtyForSplit() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Used by the default AllocateInventory task command implementation. Order Items will not be automatically split during inventory allocation if the remaining unallocated quantity in the new Order Item would be less than the specified minimum quantity.
public java.lang.Integer getMinimumQtyForSplitInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Used by the default AllocateInventory task command implementation. Order Items will not be automatically split during inventory allocation if the remaining unallocated quantity in the new Order Item would be less than the specified minimum quantity.
public void setMinimumQtyForSplit(java.lang.String newValue)
public void setMinimumQtyForSplit(java.lang.Integer newValue)
public java.lang.String getReleaseSeparately() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
The following is a description of this column:
Controls how Order Items for specified items for this Base Item are released.&l
public void setReleaseSeparately(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.