com.ibm.commerce.ordermanagement.objects
Class RMAItemDenyReasonAccessBean

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

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

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

See Also:
Serialized Form

Constructor Summary
RMAItemDenyReasonAccessBean()
          constructor
RMAItemDenyReasonAccessBean(javax.ejb.EJBObject o)
          constructor
RMAItemDenyReasonAccessBean(java.lang.Long 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 findByRmaItemIdForUpdate(java.lang.Long arg0)           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.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_rmaItemId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_rtnDnyRsnId(java.lang.String newValue)
          Set the primary key for this object
 void setRmaItemId(java.lang.Long newValue)
          This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 void setRmaItemId(java.lang.String newValue)
          This method provides access to the RMAIDNYRSN.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 void setRtnDnyRsnId(java.lang.Integer newValue)
          This method provides access to the RMAIDNYRSN.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.
 void setRtnDnyRsnId(java.lang.String newValue)
          This method provides access to the RMAIDNYRSN.RTNDNYRSN_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

RMAItemDenyReasonAccessBean

public RMAItemDenyReasonAccessBean()
constructor

RMAItemDenyReasonAccessBean

public RMAItemDenyReasonAccessBean(javax.ejb.EJBObject o)
                            throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

RMAItemDenyReasonAccessBean

public RMAItemDenyReasonAccessBean(java.lang.Long arg0,
                                   java.lang.Integer arg1)
                            throws javax.naming.NamingException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException,
                                   javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByRmaItemIdForUpdate

public java.util.Enumeration findByRmaItemIdForUpdate(java.lang.Long arg0)
                                               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

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

setInitKey_rmaItemId

public void setInitKey_rmaItemId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_rtnDnyRsnId

public void setInitKey_rtnDnyRsnId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRmaItemId

public void setRmaItemId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setRmaItemId

public void setRmaItemId(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRtnDnyRsnId

public void setRtnDnyRsnId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setRtnDnyRsnId

public void setRtnDnyRsnId(java.lang.Integer newValue)

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:
newValue - java.lang.Integer
Returns:
void