com.ibm.commerce.ordermanagement.objects
Class RMAAuthorizationLogAccessBean

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

public class RMAAuthorizationLogAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RMAAuthorizationLogAccessBeanData

This bean provides access to the RMAAUTHLOG table.

The following is a description of this table:

This table is a log of when each return merchandise authorization (RMA) was authorized. A single RMA may appear multiple times if changes were made and the RMA was re-authorized.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
RMAAuthorizationLogAccessBean()
          Default constructor.
RMAAuthorizationLogAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
RMAAuthorizationLogAccessBean(java.sql.Timestamp rmaAuthorizationNoticeDate, java.lang.Long rmaID)
          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 findByRmaId(java.lang.Long rmaID)
          Retrieves all the RMA authorization log entries for a RMA.
The SQL query used to fetch the requested row from the RMAAUTHLOG table is:
SELECT * FROM RMAAUTHLOG T1 WHERE T1.RMA_ID = ?
 java.lang.String getAuthorizationNoticeDate()
          This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getAuthorizationNoticeDateInEJBType()
          This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getRmaAuthorizationLogId()
          This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaAuthorizationLogIdInEJBType()
          This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getRmaId()
          This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaIdInEJBType()
          This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAuthorizationNoticeDate(java.lang.String aAuthorizationNoticeDate)
          This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.
 void setAuthorizationNoticeDate(java.sql.Timestamp aAuthorizationNoticeDate)
          This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.
 void setInitKey_rmaAuthorizationLogId(java.lang.String aInitKey_rmaAuthorizationLogId)
          Set the primary key for this object
 void setRmaAuthorizationLogId(java.lang.Long aRmaAuthorizationLogId)
          This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.
 void setRmaAuthorizationLogId(java.lang.String aRmaAuthorizationLogId)
          This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.Long aRmaId)
          This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.String aRmaId)
          This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT 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

RMAAuthorizationLogAccessBean

public RMAAuthorizationLogAccessBean()

Default constructor. Maps to findByPrimaryKey.


RMAAuthorizationLogAccessBean

public RMAAuthorizationLogAccessBean(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

RMAAuthorizationLogAccessBean

public RMAAuthorizationLogAccessBean(java.sql.Timestamp rmaAuthorizationNoticeDate,
                                     java.lang.Long rmaID)
                              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:
rmaAuthorizationNoticeDate - java.sql.Timestamp RMA Authorization Notice Date
rmaID - java.lang.Long RMA 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

findByRmaId

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

Retrieves all the RMA authorization log entries for a RMA.
The SQL query used to fetch the requested row from the RMAAUTHLOG table is:
SELECT * FROM RMAAUTHLOG T1 WHERE T1.RMA_ID = ?

Parameters:
rmaID - java.lang.Long RMA ID
Returns:
An Enumeration of all the RMAAuthorizationLogAccessBeans 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

getAuthorizationNoticeDate

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

This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date on which an RMA was authorized or re-authorized.

Specified by:
getAuthorizationNoticeDate in interface RMAAuthorizationLogAccessBeanData
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

getAuthorizationNoticeDateInEJBType

public java.sql.Timestamp getAuthorizationNoticeDateInEJBType()
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.CreateException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date on which an RMA was authorized or re-authorized.

Returns:
java.sql.Timestamp
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

getRmaAuthorizationLogId

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

This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getRmaAuthorizationLogId in interface RMAAuthorizationLogAccessBeanData
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

getRmaAuthorizationLogIdInEJBType

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

This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

getRmaId

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

This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMA which was authorized.

Specified by:
getRmaId in interface RMAAuthorizationLogAccessBeanData
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

getRmaIdInEJBType

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

This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMA which was authorized.

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

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

setAuthorizationNoticeDate

public void setAuthorizationNoticeDate(java.lang.String aAuthorizationNoticeDate)

This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date on which an RMA was authorized or re-authorized.

Specified by:
setAuthorizationNoticeDate in interface RMAAuthorizationLogAccessBeanData
Parameters:
aAuthorizationNoticeDate - java.lang.String
Returns:
void

setAuthorizationNoticeDate

public void setAuthorizationNoticeDate(java.sql.Timestamp aAuthorizationNoticeDate)

This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The date on which an RMA was authorized or re-authorized.

Parameters:
aAuthorizationNoticeDate - java.sql.Timestamp
Returns:
void

setInitKey_rmaAuthorizationLogId

public void setInitKey_rmaAuthorizationLogId(java.lang.String aInitKey_rmaAuthorizationLogId)

Set the primary key for this object

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

setRmaAuthorizationLogId

public void setRmaAuthorizationLogId(java.lang.Long aRmaAuthorizationLogId)

This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

setRmaAuthorizationLogId

public void setRmaAuthorizationLogId(java.lang.String aRmaAuthorizationLogId)

This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
setRmaAuthorizationLogId in interface RMAAuthorizationLogAccessBeanData
Parameters:
aRmaAuthorizationLogId - java.lang.String
Returns:
void

setRmaId

public void setRmaId(java.lang.Long aRmaId)

This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMA which was authorized.

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

setRmaId

public void setRmaId(java.lang.String aRmaId)

This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMA which was authorized.

Specified by:
setRmaId in interface RMAAuthorizationLogAccessBeanData
Parameters:
aRmaId - java.lang.String
Returns:
void