java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.ordermanagement.objects.ReturnDenyReasonAccessBean
This table stores denial reasons for return merchandise authorization (RMA) items. These are the reasons for which an RMA item was not automatically approved by the system. This access bean corresponds to the database table 'RTNDNYRSN'.
Constructor Summary | |
ReturnDenyReasonAccessBean() Zero argument constructor used to initialize the access bean. |
|
ReturnDenyReasonAccessBean(java.lang.Integer arg0, java.lang.String arg1) constructor |
|
ReturnDenyReasonAccessBean(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 | findByRMAItemId(java.lang.Long rmaItemId)
Retrieves all the return deny reasons attached to an RMA item.
The SQL query used to fetch the requested row from the RTNDNYRSN table is: SELECT * FROM RMAIDNYRSN , RTNDNYRSN T1 where T1.RTNDNYRSN_ID = RMAIDNYRSN.RTNDNYRSN_ID AND RMAIDNYRSN.RMAITEM_ID = ? |
java.util.Enumeration | findByStoreIdorStoreGroupIdOrderDescByStoreEnt(java.lang.Integer storeId, java.lang.Integer storeGroupId)
Retrieves all the return deny reasons defined for a store and its corresponding store group.
The SQL query used to fetch the requested row from the RTNDNYRSN table is: SELECT * FROM RTNDNYRSN T1 where (T1.Storeent_id = ? or T1.Storeent_id=?) and T1.MarkForDelete=0 |
java.lang.String | getCode() This method provides access to the RTNDNYRSN.CODE column of DB2 type CHAR(10) NOT NULL. |
ReturnDenyReasonDescriptionAccessBean | getDescription(java.lang.Integer languageId) |
java.lang.String | getMarkForDelete() This method provides access to the RTNDNYRSN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMarkForDeleteInEJBType() This method provides access to the RTNDNYRSN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getRtnDnyRsnId() This method provides access to the RTNDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getRtnDnyRsnIdInEJBType() This method provides access to the RTNDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getStoreentId() This method provides access to the RTNDNYRSN.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreentIdInEJBType() This method provides access to the RTNDNYRSN.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_rtnDnyRsnId(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 | setRtnDnyRsnId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setRtnDnyRsnId(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 ReturnDenyReasonAccessBean()
public ReturnDenyReasonAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ReturnDenyReasonAccessBean(java.lang.Integer arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Method Detail |
public java.util.Enumeration findByRMAItemId(java.lang.Long rmaItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the return deny reasons attached to an RMA item.
The SQL query used to fetch the requested row from the RTNDNYRSN table is:
SELECT * FROM RMAIDNYRSN , RTNDNYRSN T1 where T1.RTNDNYRSN_ID = RMAIDNYRSN.RTNDNYRSN_ID AND RMAIDNYRSN.RMAITEM_ID = ?
public java.util.Enumeration findByStoreIdorStoreGroupIdOrderDescByStoreEnt(java.lang.Integer storeId, java.lang.Integer storeGroupId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the return deny reasons defined for a store and its corresponding store group.
The SQL query used to fetch the requested row from the RTNDNYRSN table is:
SELECT * FROM RTNDNYRSN T1 where (T1.Storeent_id = ? or T1.Storeent_id=?) and T1.MarkForDelete=0
public void setInitKey_rtnDnyRsnId(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 RTNDNYRSN.CODE column of DB2 type CHAR(10) NOT NULL.
The following is a description of this column:
Code used to reference the denial reason across stores.
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 RTNDNYRSN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this denial reason 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 RTNDNYRSN.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this denial reason 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 RTNDNYRSN.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 RTNDNYRSN.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 getRtnDnyRsnId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Integer getRtnDnyRsnIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RTNDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public void setRtnDnyRsnId(java.lang.String newValue)
public void setRtnDnyRsnId(java.lang.Integer newValue)
public ReturnDenyReasonDescriptionAccessBean 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.