java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.ordermanagement.objects.ReturnDispositionCodeAccessBean
This table stores return disposition codes to describe how a received item is disposed. This access bean corresponds to the database table 'RTNDSPCODE'.
Constructor Summary | |
ReturnDispositionCodeAccessBean() Zero argument constructor used to initialize the access bean. |
|
ReturnDispositionCodeAccessBean(javax.ejb.EJBObject o) constructor |
|
ReturnDispositionCodeAccessBean(java.lang.String newCode, java.lang.Integer newStoreentId) 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). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByCodeAndStoreentId(java.lang.String code, java.lang.Integer storeentId)
Retrieves all the return dispositions with a particular code defined for a store.
The SQL query used to fetch the requested row from the RTNDSPCODE table is: SELECT * FROM RTNDSPCODE T1 WHERE T1.CODE = ? AND T1.STOREENT_ID = ? AND T1.MARKFORDELETE = 0 |
java.util.Enumeration | findByCodeAndStoreentIds(java.lang.String code, java.lang.Integer storeentId, java.lang.Integer aStoreentId)
Retrieves all the return dispositions with a particular code defined for a store and its corresponding store group.
The SQL query used to fetch the requested row from the RTNDSPCODE table is: SELECT * FROM RTNDSPCODE T1 WHERE T1.CODE = ? AND (T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?) AND T1.MARKFORDELETE = 0 |
java.util.Enumeration | findByStoreentIds(java.lang.Integer storeentId, java.lang.Integer aStoreentId)
Retrieves all the return dispositions for a store and its corresponding store group.
The SQL query used to fetch the requested row from the RTNDSPCODE table is: SELECT * FROM RTNDSPCODE T1 WHERE T1.STOREENT_ID = ? OR T1.STOREENT_ID = ? AND T1.MARKFORDELETE = 0 |
java.util.Enumeration | findByStoreIdAndStoreGroupId(java.lang.Integer storeId, java.lang.Integer storeGroupId)
Retrieves all the return dispositions defined for a store and its corresponding store group.
The SQL query used to fetch the requested row from the RTNDSPCODE table is: SELECT * FROM RTNDSPCODE T1 WHERE T1.STOREENT_ID = ? AND T1.STOREENT_ID = ? |
java.lang.String | getCode() This method provides access to the RTNDSPCODE.CODE column of DB2 type CHAR(10) NOT NULL. |
ReturnDispositionCodeDescriptionAccessBean | getDescription(java.lang.Integer languageId) |
java.lang.String | getMarkForDelete() This method provides access to the RTNDSPCODE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMarkForDeleteInEJBType() This method provides access to the RTNDSPCODE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getReturnToInventory() This method provides access to the RTNDSPCODE.RETURNTOINVENTORY column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'. |
java.lang.String | getRtnDspCodeId() This method provides access to the RTNDSPCODE.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getRtnDspCodeIdInEJBType() This method provides access to the RTNDSPCODE.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getStoreentId() This method provides access to the RTNDSPCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreentIdInEJBType() This method provides access to the RTNDSPCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCode(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_rtnDspCodeId(java.lang.String newValue) Set the primary key for this object |
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 | setReturnToInventory(java.lang.String newValue) This method accesses a non-CMP field |
void | setRtnDspCodeId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setRtnDspCodeId(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 ReturnDispositionCodeAccessBean()
public ReturnDispositionCodeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ReturnDispositionCodeAccessBean(java.lang.String newCode, java.lang.Integer newStoreentId) 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 code, java.lang.Integer storeentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the return dispositions with a particular code defined for a store.
The SQL query used to fetch the requested row from the RTNDSPCODE table is:
SELECT * FROM RTNDSPCODE T1 WHERE T1.CODE = ? AND T1.STOREENT_ID = ? AND T1.MARKFORDELETE = 0
public java.util.Enumeration findByCodeAndStoreentIds(java.lang.String code, java.lang.Integer storeentId, java.lang.Integer aStoreentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the return dispositions with a particular code defined for a store and its corresponding store group.
The SQL query used to fetch the requested row from the RTNDSPCODE table is:
SELECT * FROM RTNDSPCODE T1 WHERE T1.CODE = ? AND (T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?) AND T1.MARKFORDELETE = 0
public java.util.Enumeration findByStoreIdAndStoreGroupId(java.lang.Integer storeId, java.lang.Integer storeGroupId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the return dispositions defined for a store and its corresponding store group.
The SQL query used to fetch the requested row from the RTNDSPCODE table is:
SELECT * FROM RTNDSPCODE T1 WHERE T1.STOREENT_ID = ? AND T1.STOREENT_ID = ?
public java.util.Enumeration findByStoreentIds(java.lang.Integer storeentId, java.lang.Integer aStoreentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the return dispositions for a store and its corresponding store group.
The SQL query used to fetch the requested row from the RTNDSPCODE table is:
SELECT * FROM RTNDSPCODE T1 WHERE T1.STOREENT_ID = ? OR T1.STOREENT_ID = ? AND T1.MARKFORDELETE = 0
public void setInitKey_rtnDspCodeId(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 getCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNDSPCODE.CODE column of DB2 type CHAR(10) NOT NULL.
The following is a description of this column:
Code used to reference the disposition code.
public void setCode(java.lang.String 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 RTNDSPCODE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this disposition code has been marked for deletion:&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 RTNDSPCODE.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this disposition code has been marked for deletion:&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 RTNDSPCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Store Entity of the owner.
public java.lang.Integer getStoreentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNDSPCODE.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Store Entity of the owner.
public void setStoreentId(java.lang.String newValue)
public void setStoreentId(java.lang.Integer newValue)
public java.lang.String getReturnToInventory() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNDSPCODE.RETURNTOINVENTORY column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'.
The following is a description of this column:
A flag to decide if an item with this disposition code should be returned to inventory or not, as follows:&l
public void setReturnToInventory(java.lang.String newValue)
public java.lang.String getRtnDspCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNDSPCODE.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Integer getRtnDspCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNDSPCODE.RTNDSPCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public void setRtnDspCodeId(java.lang.String newValue)
public void setRtnDspCodeId(java.lang.Integer newValue)
public ReturnDispositionCodeDescriptionAccessBean getDescription(java.lang.Integer languageId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.