|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.inventory.objects.InventoryAdjustmentCodeAccessBean
This bean provides access to the INVADJCODE table.
The following is a description of this table:
Each row of this table defines an InventoryAdjustmentCode for a Store, or the Stores in a StoreGroup. Each code represents a reason for an InventoryAdjustment, such as broken, lost, or found.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
InventoryAdjustmentCodeAccessBean()
Default constructor. |
|
InventoryAdjustmentCodeAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
InventoryAdjustmentCodeAccessBean(java.lang.Integer StoreentId,
java.lang.String AdjustCode)
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 |
findByCodeAndStoreentId(java.lang.String Code,
java.lang.Long StoreentId)
Retrieves the Inventory Adjusment Code with the specified ADJUSTCODE and STOREENT_ID The SQL query used to fetch the requested row from the INVADJCODE table is: SELECT * FROM INVADJCODE T1 WHERE T1.ADJUSTCODE = ? AND T1.STOREENT_ID = ? |
java.util.Enumeration |
findByStoreentId(java.lang.Long StoreentId)
Retrieves all the Inventory Adjusment Codes that the Store represents The SQL query used to fetch the requested row from the INVADJCODE table is: SELECT * FROM INVADJCODE T1 WHERE T1.STOREENT_ID = ? |
java.lang.String |
getAdjustCode()
This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL. |
java.lang.String |
getInvAdjCodeId()
This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getInvAdjCodeIdInEJBType()
This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getLastupdate()
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getLastupdateInEJBType()
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getMarkForDelete()
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL. |
java.lang.Integer |
getMarkForDeleteInEJBType()
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL. |
java.lang.String |
getStoreentId()
This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreentIdInEJBType()
This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAdjustCode(java.lang.String aAdjustCode)
This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL. |
void |
setInitKey_invAdjCodeId(java.lang.String aInitKey_invAdjCodeId)
Set the primary key for this object |
void |
setInvAdjCodeId(java.lang.Long aInvAdjCodeId)
This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setInvAdjCodeId(java.lang.String aInvAdjCodeId)
This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setLastupdate(java.lang.String aLastupdate)
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setLastupdate(java.sql.Timestamp aLastupdate)
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL. |
void |
setMarkForDelete(java.lang.String aMarkForDelete)
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL. |
void |
setStoreentId(java.lang.Integer aStoreentId)
This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreentId(java.lang.String aStoreentId)
This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER 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 |
public InventoryAdjustmentCodeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public InventoryAdjustmentCodeAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- - javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic InventoryAdjustmentCodeAccessBean(java.lang.Integer StoreentId, java.lang.String AdjustCode) 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
StoreentId
- - java.lang.IntegerAdjustCode
- - java.lang.Stringjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCodeAndStoreentId(java.lang.String Code, java.lang.Long StoreentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the Inventory Adjusment Code with the specified ADJUSTCODE and STOREENT_ID
The SQL query used to fetch the requested row from the
INVADJCODE table is:
SELECT * FROM INVADJCODE T1 WHERE T1.ADJUSTCODE = ? AND T1.STOREENT_ID = ?
Code
- - java.lang.StringStoreentId
- - java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByStoreentId(java.lang.Long StoreentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the Inventory Adjusment Codes that the Store represents
The SQL query used to fetch the requested row from the
INVADJCODE table is:
SELECT * FROM INVADJCODE T1 WHERE T1.STOREENT_ID = ?
StoreentId
- - java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getAdjustCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
A code that uniquely identifies this InventoryAdjustmentCode for a particular StoreEntity, suitable for display in a user interface that manages InventoryAdjustments and InventoryAdjustmentCodes.
getAdjustCode
in interface InventoryAdjustmentCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getInvAdjCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
getInvAdjCodeId
in interface InventoryAdjustmentCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getInvAdjCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getLastupdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this InventoryAdjustmentCode was most recently updated.
getLastupdate
in interface InventoryAdjustmentCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.sql.Timestamp getLastupdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this InventoryAdjustmentCode was most recently updated.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL.
The following is a description of this column:
Indicates whether the InventoryAdjustmentCode should be deleted:
0 = Do not delete. It can be used to adjust inventory.
1 = Marked for delete. It may not be used to adjust inventory.
Refer to the Database Cleanup utility.
getMarkForDelete
in interface InventoryAdjustmentCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL.
The following is a description of this column:
Indicates whether the InventoryAdjustmentCode should be deleted:
0 = Do not delete. It can be used to adjust inventory.
1 = Marked for delete. It may not be used to adjust inventory.
Refer to the Database Cleanup utility.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getStoreentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or StoreGroup for the InventoryAdjustmentCode. The InventoryAdjustmentCode can be used by the specified Store, or all the Stores in the specified StoreGroup.
getStoreentId
in interface InventoryAdjustmentCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getStoreentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or StoreGroup for the InventoryAdjustmentCode. The InventoryAdjustmentCode can be used by the specified Store, or all the Stores in the specified StoreGroup.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setAdjustCode(java.lang.String aAdjustCode)
This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
A code that uniquely identifies this InventoryAdjustmentCode for a particular StoreEntity, suitable for display in a user interface that manages InventoryAdjustments and InventoryAdjustmentCodes.
setAdjustCode
in interface InventoryAdjustmentCodeAccessBeanData
aAdjustCode
- java.lang.Stringpublic void setInitKey_invAdjCodeId(java.lang.String aInitKey_invAdjCodeId)
Set the primary key for this object
aInitKey_invAdjCodeId
- java.lang.Stringpublic void setInvAdjCodeId(java.lang.Long aInvAdjCodeId)
This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
aInvAdjCodeId
- java.lang.Longpublic void setInvAdjCodeId(java.lang.String aInvAdjCodeId)
This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
setInvAdjCodeId
in interface InventoryAdjustmentCodeAccessBeanData
aInvAdjCodeId
- java.lang.Stringpublic void setLastupdate(java.lang.String aLastupdate)
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this InventoryAdjustmentCode was most recently updated.
setLastupdate
in interface InventoryAdjustmentCodeAccessBeanData
aLastupdate
- java.lang.Stringpublic void setLastupdate(java.sql.Timestamp aLastupdate)
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this InventoryAdjustmentCode was most recently updated.
aLastupdate
- java.sql.Timestamppublic void setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL.
The following is a description of this column:
Indicates whether the InventoryAdjustmentCode should be deleted:
0 = Do not delete. It can be used to adjust inventory.
1 = Marked for delete. It may not be used to adjust inventory.
Refer to the Database Cleanup utility.
aMarkForDelete
- java.lang.Integerpublic void setMarkForDelete(java.lang.String aMarkForDelete)
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER NULL.
The following is a description of this column:
Indicates whether the InventoryAdjustmentCode should be deleted:
0 = Do not delete. It can be used to adjust inventory.
1 = Marked for delete. It may not be used to adjust inventory.
Refer to the Database Cleanup utility.
setMarkForDelete
in interface InventoryAdjustmentCodeAccessBeanData
aMarkForDelete
- java.lang.Stringpublic void setStoreentId(java.lang.Integer aStoreentId)
This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or StoreGroup for the InventoryAdjustmentCode. The InventoryAdjustmentCode can be used by the specified Store, or all the Stores in the specified StoreGroup.
aStoreentId
- java.lang.Integerpublic void setStoreentId(java.lang.String aStoreentId)
This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Store or StoreGroup for the InventoryAdjustmentCode. The InventoryAdjustmentCode can be used by the specified Store, or all the Stores in the specified StoreGroup.
setStoreentId
in interface InventoryAdjustmentCodeAccessBeanData
aStoreentId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |