java.lang.Objectcom.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. This access bean corresponds to the database table 'INVADJCODE'.
Constructor Summary | |
InventoryAdjustmentCodeAccessBean() Zero argument constructor used to initialize the access bean. |
|
InventoryAdjustmentCodeAccessBean(java.lang.Integer newStoreentId, java.lang.String newAdjustCode) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
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 adjustcode, java.lang.Long storeentId) 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 storeentId) 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 accesses a non-CMP field |
void | setInitKey_invAdjCodeId(java.lang.String newValue) Set the primary key for this object |
void | setInvAdjCodeId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setInvAdjCodeId(java.lang.String newValue) This method accesses a non-CMP field |
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 | setMarkForDelete(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMarkForDelete(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 |
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
public InventoryAdjustmentCodeAccessBean(java.lang.Integer newStoreentId, java.lang.String newAdjustCode) 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 findByCodeAndStoreentId(java.lang.String adjustcode, java.lang.Long storeentId) 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 = ?
public 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 = ?
public void setInitKey_invAdjCodeId(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 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.
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.
public void setLastupdate(java.lang.String newValue)
public void setLastupdate(java.sql.Timestamp newValue)
public 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
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
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer 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 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.
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.
public void setStoreentId(java.lang.String newValue)
public void setStoreentId(java.lang.Integer newValue)
public 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.
public void setAdjustCode(java.lang.String newValue)
public 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.
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.
public void setInvAdjCodeId(java.lang.String newValue)
public void setInvAdjCodeId(java.lang.Long newValue)
public 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 = ?
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 = ?
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 = ?
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.