com.ibm.commerce.ordermanagement.objects
Class RMAItemDenyReasonAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.ordermanagement.objects.RMAItemDenyReasonAccessBean
All Implemented Interfaces:
RMAItemDenyReasonAccessBeanData, java.io.Serializable

public class RMAItemDenyReasonAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RMAItemDenyReasonAccessBeanData

This bean provides access to the RMAIDNYRSN table.

The following is a description of this table:

A joint table which specifies reasons for denying a return merchandise authorization (RMA) item.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
RMAItemDenyReasonAccessBean()
          Default constructor.
RMAItemDenyReasonAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
RMAItemDenyReasonAccessBean(java.lang.Long rmaItemID, java.lang.Integer returnDenyReasonID)
          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).
 java.util.Enumeration findByRmaItemIdForUpdate(java.lang.Long rmaItemID)
          Retrieves all the RMA item denial reason for a particular RMA item.
The SQL query used to fetch the requested row from the RMAIDNYRSN table is:
SELECT * FROM RMAIDNYRSN T1 WHERE T1.RMAITEM_ID = ? FOR UPDATE
 java.lang.String getRmaItemId()
          This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaItemIdInEJBType()
          This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getRtnDnyRsnId()
          This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getRtnDnyRsnIdInEJBType()
          This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_rmaItemId(java.lang.String aInitKey_rmaItemId)
          Set the primary key for this object
 void setInitKey_rtnDnyRsnId(java.lang.String aInitKey_rtnDnyRsnId)
          Set the primary key for this object
 void setRmaItemId(java.lang.Long aRmaItemId)
          This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 void setRmaItemId(java.lang.String aRmaItemId)
          This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 void setRtnDnyRsnId(java.lang.Integer aRtnDnyRsnId)
          This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.
 void setRtnDnyRsnId(java.lang.String aRtnDnyRsnId)
          This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMAItemDenyReasonAccessBean

public RMAItemDenyReasonAccessBean()

Default constructor. Maps to findByPrimaryKey.


RMAItemDenyReasonAccessBean

public RMAItemDenyReasonAccessBean(javax.ejb.EJBObject ejbObject)
                            throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

RMAItemDenyReasonAccessBean

public RMAItemDenyReasonAccessBean(java.lang.Long rmaItemID,
                                   java.lang.Integer returnDenyReasonID)
                            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

Parameters:
rmaItemID - java.lang.Long RMA Item ID
returnDenyReasonID - java.lang.Integer Return Deny Reason ID
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByRmaItemIdForUpdate

public java.util.Enumeration findByRmaItemIdForUpdate(java.lang.Long rmaItemID)
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

Retrieves all the RMA item denial reason for a particular RMA item.
The SQL query used to fetch the requested row from the RMAIDNYRSN table is:
SELECT * FROM RMAIDNYRSN T1 WHERE T1.RMAITEM_ID = ? FOR UPDATE

Parameters:
rmaItemID - java.lang.Long RMA item ID
Returns:
An Enumeration of all the RMAItemDenyReasonAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRmaItemId

public java.lang.String getRmaItemId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the RMA item.

Specified by:
getRmaItemId in interface RMAItemDenyReasonAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRmaItemIdInEJBType

public java.lang.Long getRmaItemIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the RMA item.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRtnDnyRsnId

public java.lang.String getRtnDnyRsnId()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the reason to deny authorization for the RMA.

Specified by:
getRtnDnyRsnId in interface RMAItemDenyReasonAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRtnDnyRsnIdInEJBType

public java.lang.Integer getRtnDnyRsnIdInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the reason to deny authorization for the RMA.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setInitKey_rmaItemId

public void setInitKey_rmaItemId(java.lang.String aInitKey_rmaItemId)

Set the primary key for this object

Parameters:
aInitKey_rmaItemId - java.lang.String
Returns:
void

setInitKey_rtnDnyRsnId

public void setInitKey_rtnDnyRsnId(java.lang.String aInitKey_rtnDnyRsnId)

Set the primary key for this object

Parameters:
aInitKey_rtnDnyRsnId - java.lang.String
Returns:
void

setRmaItemId

public void setRmaItemId(java.lang.Long aRmaItemId)

This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the RMA item.

Parameters:
aRmaItemId - java.lang.Long
Returns:
void

setRmaItemId

public void setRmaItemId(java.lang.String aRmaItemId)

This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The ID of the RMA item.

Specified by:
setRmaItemId in interface RMAItemDenyReasonAccessBeanData
Parameters:
aRmaItemId - java.lang.String
Returns:
void

setRtnDnyRsnId

public void setRtnDnyRsnId(java.lang.Integer aRtnDnyRsnId)

This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the reason to deny authorization for the RMA.

Parameters:
aRtnDnyRsnId - java.lang.Integer
Returns:
void

setRtnDnyRsnId

public void setRtnDnyRsnId(java.lang.String aRtnDnyRsnId)

This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the reason to deny authorization for the RMA.

Specified by:
setRtnDnyRsnId in interface RMAItemDenyReasonAccessBeanData
Parameters:
aRtnDnyRsnId - java.lang.String
Returns:
void