java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.ordermanagement.objects.ReturnReasonAccessBean
This table stores the reason for customer dissatisfaction with a product.
Constructor Summary | |
---|---|
ReturnReasonAccessBean() constructor | |
ReturnReasonAccessBean(javax.ejb.EJBObject o) constructor | |
ReturnReasonAccessBean(java.lang.String arg0,
java.lang.Integer arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByCodeAndStoreentId(java.lang.String arg0,
java.lang.Integer arg1)
Retrieves all the charge type of a certain code defined for a store
or corresponding store group.
The SQL query used to fetch the requested row from the
RTNREASON table
is:SELECT * FROM RTNREASON T1 |
java.util.Enumeration |
findByCodeAndStoreentIdsForCustomer(java.lang.String arg0,
java.lang.Integer arg1, java.lang.Integer arg2)
Retrieves the return reasons defined for a store and its
corresponding store group which reflect a customer's perspective on the
reason for a return.
The SQL query used to fetch the requested row from the
RTNREASON table
is:SELECT * FROM RTNREASON T1 WHERE T1.MARKFORDELETE = 0 AND CODE = ? AND (T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?) AND (REASONTYPE = 'C' OR REASONTYPE = 'B') |
java.util.Enumeration |
findByCodeAndStoreentIdsForStore(java.lang.String arg0,
java.lang.Integer arg1, java.lang.Integer arg2)
Retrieves the return reasons of a certain code defined for a store
and its corresponding store group which reflect a merchants perspective on the
reason for a return.
The SQL query used to fetch the requested row from the
RTNREASON table
is:SELECT * FROM RTNREASON T1 WHERE T1.MARKFORDELETE = 0 AND CODE = ? AND (T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?) AND (REASONTYPE = 'M' OR REASONTYPE = 'B') |
java.util.Enumeration |
findByStoreentIdsForCustomer(java.lang.Integer arg0,
java.lang.Integer arg1)
Retrieves the return reasons defined for a store and its
corresponding store group which reflect a customer's perspective on the
reason for a return.
The SQL query used to fetch the requested row from the
RTNREASON table
is:SELECT * FROM RTNREASON T1 WHERE T1.MARKFORDELETE = 0 AND (T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?) AND (REASONTYPE = 'C' OR REASONTYPE ='B') |
java.util.Enumeration |
findByStoreentIdsForStore(java.lang.Integer arg0,
java.lang.Integer arg1)
Retrieves the return reasons defined for a store and its
corresponding store group which reflect a merchants perspective on the reason
for a return.
The SQL query used to fetch the requested row from the
RTNREASON table
is:SELECT * FROM RTNREASON T1 WHERE T1.MARKFORDELETE = 0 AND (T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?) AND (REASONTYPE = 'M' OR REASONTYPE = 'B') |
java.util.Enumeration |
findByStoreIdAndStoreGroupId(java.lang.Integer arg0,
java.lang.Integer arg1)
Retrieves all the return reasons defined for a store and its
corresponding store group.
The SQL query used to fetch the requested row from the
RTNREASON table
is:SELECT * FROM RTNREASON T1 WHERE T1.STOREENT_ID = ? OR T1.STOREENT_ID = ? |
java.lang.String |
getCode() This method provides access to the RTNREASON.CODE column of DB2 type CHAR(30) NOT NULL. |
ReturnReasonDescriptionAccessBean |
getDescription(java.lang.Integer arg0) |
java.lang.String |
getMarkForDelete() This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer |
getMarkForDeleteInEJBType() This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String |
getReasonType() This method provides access to the RTNREASON.REASONTYPE column of DB2 type CHAR(1) NOT NULL DEFAULT 'B'. |
java.lang.String |
getRtnReasonId() This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getRtnReasonIdInEJBType() This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getStoreentId() This method provides access to the RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreentIdInEJBType() This method provides access to the RTNREASON.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 provides access to the RTNREASON.CODE column of DB2 type CHAR(30) NOT NULL. |
void |
setInitKey_rtnReasonId(java.lang.String newValue) Set the primary key for this object |
void |
setMarkForDelete(java.lang.Integer newValue) This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMarkForDelete(java.lang.String newValue) This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setReasonType(java.lang.String newValue) This method provides access to the RTNREASON.REASONTYPE column of DB2 type CHAR(1) NOT NULL DEFAULT 'B'. |
void |
setRtnReasonId(java.lang.Integer newValue) This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL. |
void |
setRtnReasonId(java.lang.String newValue) This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreentId(java.lang.Integer newValue) This method provides access to the RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setStoreentId(java.lang.String newValue) This method provides access to the RTNREASON.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 ReturnReasonAccessBean()
public ReturnReasonAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public ReturnReasonAccessBean(java.lang.String arg0, java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Stringarg1
- java.lang.Integerjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByCodeAndStoreentId(java.lang.String arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the charge type of a certain code defined for a store or
corresponding store group.
The SQL query used to fetch the requested row from the
RTNREASON table
is:
SELECT * FROM RTNREASON T1
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByCodeAndStoreentIdsForCustomer(java.lang.String arg0, java.lang.Integer arg1, java.lang.Integer arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the return reasons defined for a store and its corresponding store
group which reflect a customer's perspective on the reason for a
return.
The SQL query used to fetch the requested row from the
RTNREASON table
is:
SELECT * FROM RTNREASON T1 WHERE T1.MARKFORDELETE = 0 AND CODE = ? AND
(T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?) AND (REASONTYPE = 'C' OR
REASONTYPE = 'B')
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByCodeAndStoreentIdsForStore(java.lang.String arg0, java.lang.Integer arg1, java.lang.Integer arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the return reasons of a certain code defined for a store and its
corresponding store group which reflect a merchants perspective on the reason
for a return.
The SQL query used to fetch the requested row from the
RTNREASON table
is:
SELECT * FROM RTNREASON T1 WHERE T1.MARKFORDELETE = 0 AND CODE = ? AND
(T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?) AND (REASONTYPE = 'M' OR
REASONTYPE = 'B')
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic java.util.Enumeration findByStoreIdAndStoreGroupId(java.lang.Integer arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the return reasons defined for a store and its corresponding
store group.
The SQL query used to fetch the requested row from the
RTNREASON table
is:
SELECT * FROM RTNREASON T1 WHERE T1.STOREENT_ID = ? OR T1.STOREENT_ID = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByStoreentIdsForCustomer(java.lang.Integer arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the return reasons defined for a store and its corresponding store
group which reflect a customer's perspective on the reason for a
return.
The SQL query used to fetch the requested row from the
RTNREASON table
is:
SELECT * FROM RTNREASON T1 WHERE T1.MARKFORDELETE = 0 AND (T1.STOREENT_ID = ?
OR T1.STOREENT_ID = ?) AND (REASONTYPE = 'C' OR REASONTYPE
='B')
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByStoreentIdsForStore(java.lang.Integer arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the return reasons defined for a store and its corresponding store
group which reflect a merchants perspective on the reason for a return.
The SQL query used to fetch the requested row from the
RTNREASON table
is:
SELECT * FROM RTNREASON T1 WHERE T1.MARKFORDELETE = 0 AND (T1.STOREENT_ID = ?
OR T1.STOREENT_ID = ?) AND (REASONTYPE = 'M' OR REASONTYPE =
'B')
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_rtnReasonId(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 getCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNREASON.CODE column of DB2 type CHAR(30) NOT NULL.
The following is a description of this column:
Code used to reference the return reason.
getCode
in interface
ReturnReasonAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCode(java.lang.String newValue)
This method provides access to the RTNREASON.CODE column of DB2 type CHAR(30) NOT NULL.
The following is a description of this column:
Code used to reference the return reason.
setCode
in interface
ReturnReasonAccessBeanData
newValue
- java.lang.Stringpublic java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this return reason has been marked for deletion:&l
getMarkForDelete
in interface
ReturnReasonAccessBeanData
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 RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this return reason has been marked for deletion:&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 RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this return reason has been marked for deletion:&l
setMarkForDelete
in interface
ReturnReasonAccessBeanData
newValue
- Stringpublic void setMarkForDelete(java.lang.Integer newValue)
This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this return reason has been marked for deletion:&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 RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity in which the return reason is used.
getStoreentId
in interface
ReturnReasonAccessBeanData
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 RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity in which the return reason is used.
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 RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity in which the return reason is used.
setStoreentId
in interface
ReturnReasonAccessBeanData
newValue
- Stringpublic void setStoreentId(java.lang.Integer newValue)
This method provides access to the RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity in which the return reason is used.
newValue
- java.lang.Integerpublic java.lang.String getRtnReasonId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
getRtnReasonId
in interface
ReturnReasonAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getRtnReasonIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setRtnReasonId(java.lang.String newValue)
This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
setRtnReasonId
in interface
ReturnReasonAccessBeanData
newValue
- Stringpublic void setRtnReasonId(java.lang.Integer newValue)
This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
newValue
- java.lang.Integerpublic java.lang.String getReasonType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNREASON.REASONTYPE column of DB2 type CHAR(1) NOT NULL DEFAULT 'B'.
The following is a description of this column:
The way in which the return reason may be used as follows:&l
getReasonType
in interface
ReturnReasonAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setReasonType(java.lang.String newValue)
This method provides access to the RTNREASON.REASONTYPE column of DB2 type CHAR(1) NOT NULL DEFAULT 'B'.
The following is a description of this column:
The way in which the return reason may be used as follows:&l
setReasonType
in interface
ReturnReasonAccessBeanData
newValue
- java.lang.Stringpublic ReturnReasonDescriptionAccessBean getDescription(java.lang.Integer arg0) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
javax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exception