com.ibm.commerce.ordermanagement.objects
Class RMAAuthorizationLogAccessBean

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

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

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

Constructor Summary
RMAAuthorizationLogAccessBean()
          constructor
RMAAuthorizationLogAccessBean(javax.ejb.EJBObject o)
          constructor
RMAAuthorizationLogAccessBean(java.sql.Timestamp arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByRmaId(java.lang.Long arg0)           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.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAuthorizationNoticeDate(java.lang.String newValue)
          This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.
 void setAuthorizationNoticeDate(java.sql.Timestamp newValue)
          This method provides access to the RMAAUTHLOG.AUTHNOTICEDATE column of DB2 type TIMESTAMP NOT NULL.
 void setInitKey_rmaAuthorizationLogId(java.lang.String newValue)
          Set the primary key for this object
 void setRmaAuthorizationLogId(java.lang.Long newValue)
          This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.
 void setRmaAuthorizationLogId(java.lang.String newValue)
          This method provides access to the RMAAUTHLOG.RMAAUTHLOG_ID column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.Long newValue)
          This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.String newValue)
          This method provides access to the RMAAUTHLOG.RMA_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMAAuthorizationLogAccessBean

public RMAAuthorizationLogAccessBean()
constructor

RMAAuthorizationLogAccessBean

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

RMAAuthorizationLogAccessBean

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

findByRmaId

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

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

setInitKey_rmaAuthorizationLogId

public void setInitKey_rmaAuthorizationLogId(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

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

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

setAuthorizationNoticeDate

public void setAuthorizationNoticeDate(java.lang.String newValue)

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

setAuthorizationNoticeDate

public void setAuthorizationNoticeDate(java.sql.Timestamp newValue)

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

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

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

setRmaAuthorizationLogId

public void setRmaAuthorizationLogId(java.lang.String newValue)

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

setRmaAuthorizationLogId

public void setRmaAuthorizationLogId(java.lang.Long newValue)

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

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

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

setRmaId

public void setRmaId(java.lang.String newValue)

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

setRmaId

public void setRmaId(java.lang.Long newValue)

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