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. This access bean corresponds to the database table 'RMAAUTHLOG'.

See Also:
Serialized Form

Constructor Summary
RMAAuthorizationLogAccessBean()
Zero argument constructor used to initialize the access bean.
RMAAuthorizationLogAccessBean(javax.ejb.EJBObject o)
constructor
RMAAuthorizationLogAccessBean(java.sql.Timestamp newAuthorizationNoticeDate, java.lang.Long newRmaId)
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).
protected java.lang.String defaultJNDIName()
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAuthorizationNoticeDate(java.lang.String newValue)
This method accesses a non-CMP field
void setAuthorizationNoticeDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setInitKey_rmaAuthorizationLogId(java.lang.String newValue)
Set the primary key for this object
void setRmaAuthorizationLogId(java.lang.Long newValue)
This method accesses a non-CMP field
void setRmaAuthorizationLogId(java.lang.String newValue)
This method accesses a non-CMP field
void setRmaId(java.lang.Long newValue)
This method accesses a non-CMP field
void setRmaId(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

RMAAuthorizationLogAccessBean

public RMAAuthorizationLogAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.ordermanagement.objects.RMAAuthorizationLog com.ibm.commerce.ordermanagement.objimpl.RMAAuthorizationLogHomeBase.findByPrimaryKey(com.ibm.commerce.ordermanagement.objects.RMAAuthorizationLogKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_rmaAuthorizationLogId( java.lang.Long )

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 newAuthorizationNoticeDate,
                                     java.lang.Long newRmaId)
                              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:
newAuthorizationNoticeDate - java.sql.Timestamp RMA Authorization Notice Date
newRmaId - 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

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

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 accesses a non-CMP field
Specified by:
setAuthorizationNoticeDate in interface RMAAuthorizationLogAccessBeanData

setAuthorizationNoticeDate

public void setAuthorizationNoticeDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setRmaAuthorizationLogId in interface RMAAuthorizationLogAccessBeanData

setRmaAuthorizationLogId

public void setRmaAuthorizationLogId(java.lang.Long newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setRmaId in interface RMAAuthorizationLogAccessBeanData

setRmaId

public void setRmaId(java.lang.Long newValue)
This method accesses a non-CMP field

Feedback