java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.inventory.objects.InventoryAdjustmentCodeAccessBean
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.
Constructor Summary | |
---|---|
InventoryAdjustmentCodeAccessBean() constructor | |
InventoryAdjustmentCodeAccessBean(java.lang.Integer arg0,
java.lang.String arg1) constructor | |
InventoryAdjustmentCodeAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByCodeAndStore(java.lang.String adjustcode,
java.lang.Integer storeentId) Deprecated. use findByCodeAndStoreEntityId method with java.lang.integer |
java.util.Enumeration |
findByCodeAndStoreentId(java.lang.String arg0,
java.lang.Long arg1) Deprecated. use findByCodeAndStoreEntityId method with java.lang.integer |
java.util.Enumeration |
findByCodeAndStoreEntityId(java.lang.String adjustcode,
java.lang.Integer storeentId)
Retrieves the Inventory Adjusment adjustcode 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 arg0) Deprecated. use findByStoreEntityId method |
java.util.Enumeration |
findByStoreEntityId(java.lang.Integer storeId)
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. |
java.sql.Timestamp |
getLastupdateInEJBType() This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String |
getMarkForDelete() This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER DEFAULT 0. |
java.lang.Integer |
getMarkForDeleteInEJBType() This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER DEFAULT 0. |
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. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setAdjustCode(java.lang.String newValue) This method provides access to the INVADJCODE.ADJUSTCODE column of DB2 type CHAR(4) NOT NULL. |
void |
setInitKey_invAdjCodeId(java.lang.String newValue) Set the primary key for this object |
void |
setInvAdjCodeId(java.lang.Long newValue) This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setInvAdjCodeId(java.lang.String newValue) This method provides access to the INVADJCODE.INVADJCODE_ID column of DB2 type BIGINT NOT NULL. |
void |
setLastupdate(java.lang.String newValue) This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setLastupdate(java.sql.Timestamp newValue) This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setMarkForDelete(java.lang.Integer newValue) This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER DEFAULT 0. |
void |
setMarkForDelete(java.lang.String newValue) This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER DEFAULT 0. |
void |
setStoreentId(java.lang.Integer newValue) This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreentId(java.lang.String newValue) This method provides access to the INVADJCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public InventoryAdjustmentCodeAccessBean()
public InventoryAdjustmentCodeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public InventoryAdjustmentCodeAccessBean(java.lang.Integer arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Integerarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByCodeAndStoreentId(java.lang.String arg0, java.lang.Long arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the Inventory Adjusment adjustcode 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.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByStoreentId(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_invAdjCodeId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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.
The following is a description of this column:
The time this InventoryAdjustmentCode was most recently updated.
getLastupdate
in interface
InventoryAdjustmentCodeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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.
The following is a description of this column:
The time this InventoryAdjustmentCode was most recently updated.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLastupdate(java.lang.String newValue)
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this InventoryAdjustmentCode was most recently updated.
setLastupdate
in interface
InventoryAdjustmentCodeAccessBeanData
newValue
- Stringpublic void setLastupdate(java.sql.Timestamp newValue)
This method provides access to the INVADJCODE.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this InventoryAdjustmentCode was most recently updated.
newValue
- java.sql.Timestamppublic 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 DEFAULT 0.
The following is a description of this column:
Indicates whether the InventoryAdjustmentCode should be deleted:&l
getMarkForDelete
in interface
InventoryAdjustmentCodeAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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 DEFAULT 0.
The following is a description of this column:
Indicates whether the InventoryAdjustmentCode should be deleted:&l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER DEFAULT 0.
The following is a description of this column:
Indicates whether the InventoryAdjustmentCode should be deleted:&l
setMarkForDelete
in interface
InventoryAdjustmentCodeAccessBeanData
newValue
- Stringpublic void setMarkForDelete(java.lang.Integer newValue)
This method provides access to the INVADJCODE.MARKFORDELETE column of DB2 type INTEGER DEFAULT 0.
The following is a description of this column:
Indicates whether the InventoryAdjustmentCode should be deleted:&l
newValue
- java.lang.Integerpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStoreentId(java.lang.String newValue)
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
newValue
- Stringpublic void setStoreentId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setAdjustCode(java.lang.String newValue)
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
newValue
- java.lang.Stringpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setInvAdjCodeId(java.lang.String newValue)
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
newValue
- Stringpublic void setInvAdjCodeId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic java.util.Enumeration findByStoreEntityId(java.lang.Integer storeId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
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.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByCodeAndStoreEntityId(java.lang.String adjustcode, java.lang.Integer storeentId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the Inventory Adjusment adjustcode 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 = ?
adjustcode
- - java.lang.StringstoreentId
- - java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByCodeAndStore(java.lang.String adjustcode, java.lang.Integer storeentId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the Inventory Adjusment adjustcode 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 = ?
adjustcode
- - java.lang.StringstoreentId
- - java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException