com.ibm.commerce.inventory.objects
Class StoreItemAccessBean

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

public class StoreItemAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements StoreItemAccessBeanData

This bean provides access to the STOREITEM table.

The following is a description of this table:

Each row of this table contains attributes that affect how a particular Store allocates inventory for the specified items of a particular BaseItem. If there is no row for the Store, then the row for its StoreGroup is used.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
StoreItemAccessBean()
          Default constructor.
StoreItemAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
StoreItemAccessBean(java.lang.Long BaseItemId, java.lang.Integer StoreentId)
          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 findByForeignSystem(java.lang.Long ForeignSystem)
          Retrieves the attributes that affect how a particular Store allocates inventory for the specified FOREIGNSYSTEM
The SQL query used to fetch the requested row from the STOREITEM table is:
SELECT * FROM STOREITEM T1 WHERE T1.FOREIGNSYSTEM = ?
 java.util.Enumeration findByStoreId(java.lang.Long StoreId)
          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.
 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.
 java.lang.String getForceBackOrder()
          This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getForeignSKU()
          This method provides access to the STOREITEM.FOREIGNSKU column of DB2 type CHAR(20) NULL.
 java.lang.String getForeignSystem()
          This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.
 java.lang.Long getForeignSystemInEJBType()
          This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.
 java.lang.String getLastupdate()
          This method provides access to the STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getMinimumQtyForSplit()
          This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMinimumQtyForSplitInEJBType()
          This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.
 java.lang.String getReleaseSeparately()
          This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getReturnNotDesired()
          This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL.
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setBackOrderable(java.lang.String aBackOrderable)
          This method provides access to the STOREITEM.BACKORDERABLE column of DB2 type CHAR(1) NOT NULL.
 void setBaseItemId(java.lang.Long aBaseItemId)
          This method provides access to the STOREITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setBaseItemId(java.lang.String aBaseItemId)
          This method provides access to the STOREITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
 void setCreditable(java.lang.String aCreditable)
          This method provides access to the STOREITEM.CREDITABLE column of DB2 type CHAR(1) NOT NULL.
 void setForceBackOrder(java.lang.String aForceBackOrder)
          This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL.
 void setforeignSKU(java.lang.String aForeignSKU)
          This method provides access to the STOREITEM.FOREIGNSKU column of DB2 type CHAR(20) NULL.
 void setForeignSystem(java.lang.Long aForeignSystem)
          This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.
 void setForeignSystem(java.lang.String aForeignSystem)
          This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.
 void setInitKey_baseItemId(java.lang.String aInitKey_baseItemId)
          Set the primary key for this object
 void setInitKey_storeentId(java.lang.String aInitKey_storeentId)
          Set the primary key for this object
 void setLastupdate(java.lang.String aLastupdate)
          This method provides access to the STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the STOREITEM.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMinimumQtyForSplit(java.lang.Integer aMinimumQtyForSplit)
          This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.
 void setMinimumQtyForSplit(java.lang.String aMinimumQtyForSplit)
          This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.
 void setReleaseSeparately(java.lang.String aReleaseSeparately)
          This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL.
 void setReturnNotDesired(java.lang.String aReturnNotDesired)
          This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL.
 void setStoreentId(java.lang.Integer aStoreentId)
          This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.String aStoreentId)
          This method provides access to the STOREITEM.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setTrackInventory(java.lang.String aTrackInventory)
          This method provides access to the STOREITEM.TRACKINVENTORY column of DB2 type CHAR(1) 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

StoreItemAccessBean

public StoreItemAccessBean()

Default constructor. Maps to findByPrimaryKey.


StoreItemAccessBean

public StoreItemAccessBean(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

StoreItemAccessBean

public StoreItemAccessBean(java.lang.Long BaseItemId,
                           java.lang.Integer StoreentId)
                    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:
BaseItemId - - java.lang.Long
StoreentId - - 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

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

findByForeignSystem

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

Retrieves the attributes that affect how a particular Store allocates inventory for the specified FOREIGNSYSTEM
The SQL query used to fetch the requested row from the STOREITEM table is:
SELECT * FROM STOREITEM T1 WHERE T1.FOREIGNSYSTEM = ?

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

findByStoreId

public java.util.Enumeration findByStoreId(java.lang.Long StoreId)
                                    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 = ?

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

getBackOrderable

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.

The following is a description of this column:

Can be used to indicate that specified items for this BaseItem cannot be backordered.
N = Items may not be backordered.
Y = Items may be backordered.

Specified by:
getBackOrderable in interface StoreItemAccessBeanData
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

getBaseItemId

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

Specified by:
getBaseItemId in interface StoreItemAccessBeanData
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

getBaseItemIdInEJBType

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

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

getCreditable

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.

The following is a description of this column:

Whether the merchant will, without an override, issue a credit for this item.
N = Sold as-is.
Y = Creditable.
The requirement for the return of merchandise is evaluated separately.

Specified by:
getCreditable in interface StoreItemAccessBeanData
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

getForceBackOrder

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.

The following is a description of this column:

Can be used to temporarily suspend allocation of specified items for this BaseItem.
N = Inventory can be allocated (normal behavior).
Y = Inventory cannot be allocated, even if there is enough inventory.

Specified by:
getForceBackOrder in interface StoreItemAccessBeanData
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

getForeignSKU

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

The following is a description of this column:

Customizable.

Specified by:
getForeignSKU in interface StoreItemAccessBeanData
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

getForeignSystem

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

The following is a description of this column:

Customizable.

Specified by:
getForeignSystem in interface StoreItemAccessBeanData
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

getForeignSystemInEJBType

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

The following is a description of this column:

Customizable.

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

The following is a description of this column:

The most recent time this row was updated.

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

The following is a description of this column:

The most recent time this row was updated.

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

getMinimumQtyForSplit

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.

The following is a description of this column:

Used by the default AllocateInventory task command implementation. OrderItems will not be automatically split during inventory allocation if the remaining unallocated quantity in the new OrderItem would be less than the specified minimum quantity.

Specified by:
getMinimumQtyForSplit in interface StoreItemAccessBeanData
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

getMinimumQtyForSplitInEJBType

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.

The following is a description of this column:

Used by the default AllocateInventory task command implementation. OrderItems will not be automatically split during inventory allocation if the remaining unallocated quantity in the new OrderItem would be less than the specified minimum quantity.

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

getReleaseSeparately

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.

The following is a description of this column:

Controls how OrderItems for specified items for this BaseItem are released.
N = OrderItems may be released along with other OrderItems.
Y = OrderItems must be released separately (in their own boxes).

Specified by:
getReleaseSeparately in interface StoreItemAccessBeanData
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

getReturnNotDesired

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.

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. N = Request for credit evaluated based on the customers intention to return the item Y = Request for credit evaluated as if return is expected.

Specified by:
getReturnNotDesired in interface StoreItemAccessBeanData
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

getStoreentId

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 StoreGroup for this row. Attributes in this row apply to the specified Store, or to Stores in the specified StoreGroup that do not have their own row.

Specified by:
getStoreentId in interface StoreItemAccessBeanData
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

getStoreentIdInEJBType

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 StoreGroup for this row. Attributes in this row apply to the specified Store, or to Stores in the specified StoreGroup that do not have their own row.

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

getTrackInventory

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.

The following is a description of this column:

Controls whether or not inventory is tracked in the RECEIPT table.
N = Inventory is not tracked (there are no entries in the RECEIPT table).
Y = Inventory is tracked in the RECEIPT table.

Specified by:
getTrackInventory in interface StoreItemAccessBeanData
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

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

setBackOrderable

public void setBackOrderable(java.lang.String aBackOrderable)

This method provides access to the STOREITEM.BACKORDERABLE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Can be used to indicate that specified items for this BaseItem cannot be backordered.
N = Items may not be backordered.
Y = Items may be backordered.

Specified by:
setBackOrderable in interface StoreItemAccessBeanData
Parameters:
aBackOrderable - java.lang.String
Returns:
void

setBaseItemId

public void setBaseItemId(java.lang.Long aBaseItemId)

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

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

setBaseItemId

public void setBaseItemId(java.lang.String aBaseItemId)

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

Specified by:
setBaseItemId in interface StoreItemAccessBeanData
Parameters:
aBaseItemId - java.lang.String
Returns:
void

setCreditable

public void setCreditable(java.lang.String aCreditable)

This method provides access to the STOREITEM.CREDITABLE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Whether the merchant will, without an override, issue a credit for this item.
N = Sold as-is.
Y = Creditable.
The requirement for the return of merchandise is evaluated separately.

Specified by:
setCreditable in interface StoreItemAccessBeanData
Parameters:
aCreditable - java.lang.String
Returns:
void

setForceBackOrder

public void setForceBackOrder(java.lang.String aForceBackOrder)

This method provides access to the STOREITEM.FORCEBACKORDER column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Can be used to temporarily suspend allocation of specified items for this BaseItem.
N = Inventory can be allocated (normal behavior).
Y = Inventory cannot be allocated, even if there is enough inventory.

Specified by:
setForceBackOrder in interface StoreItemAccessBeanData
Parameters:
aForceBackOrder - java.lang.String
Returns:
void

setforeignSKU

public void setforeignSKU(java.lang.String aForeignSKU)

This method provides access to the STOREITEM.FOREIGNSKU column of DB2 type CHAR(20) NULL.

The following is a description of this column:

Customizable.

Specified by:
setforeignSKU in interface StoreItemAccessBeanData
Parameters:
aForeignSKU - java.lang.String
Returns:
void

setForeignSystem

public void setForeignSystem(java.lang.Long aForeignSystem)

This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

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

setForeignSystem

public void setForeignSystem(java.lang.String aForeignSystem)

This method provides access to the STOREITEM.FOREIGNSYSTEM column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
setForeignSystem in interface StoreItemAccessBeanData
Parameters:
aForeignSystem - java.lang.String
Returns:
void

setInitKey_baseItemId

public void setInitKey_baseItemId(java.lang.String aInitKey_baseItemId)

Set the primary key for this object

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

setInitKey_storeentId

public void setInitKey_storeentId(java.lang.String aInitKey_storeentId)

Set the primary key for this object

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

setLastupdate

public void setLastupdate(java.lang.String aLastupdate)

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

The following is a description of this column:

The most recent time this row was updated.

Specified by:
setLastupdate in interface StoreItemAccessBeanData
Parameters:
aLastupdate - java.lang.String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

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

The following is a description of this column:

The most recent time this row was updated.

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

setMinimumQtyForSplit

public void setMinimumQtyForSplit(java.lang.Integer aMinimumQtyForSplit)

This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Used by the default AllocateInventory task command implementation. OrderItems will not be automatically split during inventory allocation if the remaining unallocated quantity in the new OrderItem would be less than the specified minimum quantity.

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

setMinimumQtyForSplit

public void setMinimumQtyForSplit(java.lang.String aMinimumQtyForSplit)

This method provides access to the STOREITEM.MINQTYFORSPLIT column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Used by the default AllocateInventory task command implementation. OrderItems will not be automatically split during inventory allocation if the remaining unallocated quantity in the new OrderItem would be less than the specified minimum quantity.

Specified by:
setMinimumQtyForSplit in interface StoreItemAccessBeanData
Parameters:
aMinimumQtyForSplit - java.lang.String
Returns:
void

setReleaseSeparately

public void setReleaseSeparately(java.lang.String aReleaseSeparately)

This method provides access to the STOREITEM.RELEASESEPARATELY column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Controls how OrderItems for specified items for this BaseItem are released.
N = OrderItems may be released along with other OrderItems.
Y = OrderItems must be released separately (in their own boxes).

Specified by:
setReleaseSeparately in interface StoreItemAccessBeanData
Parameters:
aReleaseSeparately - java.lang.String
Returns:
void

setReturnNotDesired

public void setReturnNotDesired(java.lang.String aReturnNotDesired)

This method provides access to the STOREITEM.RETURNNOTDESIRED column of DB2 type CHAR(1) NOT NULL.

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. N = Request for credit evaluated based on the customers intention to return the item Y = Request for credit evaluated as if return is expected.

Specified by:
setReturnNotDesired in interface StoreItemAccessBeanData
Parameters:
aReturnNotDesired - java.lang.String
Returns:
void

setStoreentId

public void setStoreentId(java.lang.Integer aStoreentId)

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 StoreGroup for this row. Attributes in this row apply to the specified Store, or to Stores in the specified StoreGroup that do not have their own row.

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

setStoreentId

public void setStoreentId(java.lang.String aStoreentId)

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 StoreGroup for this row. Attributes in this row apply to the specified Store, or to Stores in the specified StoreGroup that do not have their own row.

Specified by:
setStoreentId in interface StoreItemAccessBeanData
Parameters:
aStoreentId - java.lang.String
Returns:
void

setTrackInventory

public void setTrackInventory(java.lang.String aTrackInventory)

This method provides access to the STOREITEM.TRACKINVENTORY column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Controls whether or not inventory is tracked in the RECEIPT table.
N = Inventory is not tracked (there are no entries in the RECEIPT table).
Y = Inventory is tracked in the RECEIPT table.

Specified by:
setTrackInventory in interface StoreItemAccessBeanData
Parameters:
aTrackInventory - java.lang.String
Returns:
void