com.ibm.commerce.ordermanagement.objects
Class RMAAccessBean

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

public class RMAAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RMAAccessBeanData

This bean provides access to the RMA table.

The following is a description of this table:

This table is a container for return merchandise authorizations (RMAs).

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
RMAAccessBean()
          Default constructor.
RMAAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
RMAAccessBean(java.lang.Integer storeID, java.lang.Long memberID, java.sql.Timestamp rmaCreationDate, java.sql.Timestamp lastUpdate)
          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 findApproved()
          Retrieves all the RMAs (Returns) with an approved status.
The SQL query used to fetch the requested rows from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP'
 java.util.Enumeration findApprovedByStoreId(java.lang.Integer storeID)
          Retrieves all the RMAs (Returns) for a store which are approved.
The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP' AND T1.STORE_ID = ?
 java.util.Enumeration findByStoreIdAndMemberId(java.lang.Integer storeID, java.lang.Long memberID)
          Retrieves all the open RMAs (Returns) for a person at a store.
The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS <>'CLO' AND STORE_ID = ? AND MEMBER_ID = ?
 boolean fulfills(java.lang.Long aFills, java.lang.String aFills)
          IBM internal use only.
 java.lang.String getComments()
          This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254) NULL.
 java.lang.String getCurrency()
          This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3) NULL.
 java.lang.String getFfmcenterId()
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getFfmcenterIdInEJBType()
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.
 java.lang.String getInUse()
          This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getLastUpdate()
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getMemberId()
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrganizationId()
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.
 java.lang.Long getOrganizationIdInEJBType()
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.
 java.lang.Long getOwner()
          IBM internal use only.
 java.lang.String getPolicyId()
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.
 java.lang.Long getPolicyIdInEJBType()
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.
 java.lang.String getPrepared()
          This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL.
 java.lang.String getRefundAgainstOrdId()
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.
 java.lang.Long getRefundAgainstOrdIdInEJBType()
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.
 java.lang.String getRmaDate()
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getRmaDateInEJBType()
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getRmaId()
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaIdInEJBType()
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getStatus()
          This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL.
 java.lang.String getStoreId()
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getTotalCredit()
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getTotalCreditInEJBType()
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getTradingId()
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.
 java.lang.Long getTradingIdInEJBType()
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setComments(java.lang.String aComments)
          This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254) NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3) NULL.
 void setFfmcenterId(java.lang.Integer aFfmcenterId)
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.
 void setFfmcenterId(java.lang.String aFfmcenterId)
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.
 void setInitKey_rmaId(java.lang.String aInitKey_rmaId)
          Set the primary key for this object
 void setInUse(java.lang.String aInUse)
          This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL.
 void setLastUpdate(java.lang.String aLastUpdate)
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String aMemberId)
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setOrganizationId(java.lang.Long aOrganizationId)
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.
 void setOrganizationId(java.lang.String aOrganizationId)
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.
 void setPolicyId(java.lang.Long aPolicyId)
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.
 void setPolicyId(java.lang.String aPolicyId)
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.
 void setPrepared(java.lang.String aPrepared)
          This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL.
 void setRefundAgainstOrdId(java.lang.Long aRefundAgainstOrdId)
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.
 void setRefundAgainstOrdId(java.lang.String aRefundAgainstOrdId)
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.
 void setRmaDate(java.lang.String aRmaDate)
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 void setRmaDate(java.sql.Timestamp aRmaDate)
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 void setRmaId(java.lang.Long aRmaId)
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.String aRmaId)
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setStatus(java.lang.String aStatus)
          This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL.
 void setStoreId(java.lang.Integer aStoreId)
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String aStoreId)
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setTotalCredit(java.math.BigDecimal aTotalCredit)
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.
 void setTotalCredit(java.lang.String aTotalCredit)
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.
 void setTradingId(java.lang.Long aTradingId)
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.
 void setTradingId(java.lang.String aTradingId)
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT 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

RMAAccessBean

public RMAAccessBean()

Default constructor. Maps to findByPrimaryKey.


RMAAccessBean

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

RMAAccessBean

public RMAAccessBean(java.lang.Integer storeID,
                     java.lang.Long memberID,
                     java.sql.Timestamp rmaCreationDate,
                     java.sql.Timestamp lastUpdate)
              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:
storeID - java.lang.Integer Store ID
memberID - java.lang.Long Member ID
rmaCreationDate - java.sql.Timestamp RMA Creation Date
lastUpdate - java.sql.Timestamp Last Update
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

findApproved

public java.util.Enumeration findApproved()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

Retrieves all the RMAs (Returns) with an approved status.
The SQL query used to fetch the requested rows from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP'

Returns:
java.util.Enumeration
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

findApprovedByStoreId

public java.util.Enumeration findApprovedByStoreId(java.lang.Integer storeID)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves all the RMAs (Returns) for a store which are approved.
The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP' AND T1.STORE_ID = ?

Parameters:
storeID - java.lang.Integer Store ID
Returns:
An Enumeration of all the RMAAccessBeans 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

findByStoreIdAndMemberId

public java.util.Enumeration findByStoreIdAndMemberId(java.lang.Integer storeID,
                                                      java.lang.Long memberID)
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

Retrieves all the open RMAs (Returns) for a person at a store.
The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS <>'CLO' AND STORE_ID = ? AND MEMBER_ID = ?

Parameters:
storeID - java.lang.Integer Store ID
memberID - java.lang.Long Member ID
Returns:
An Enumeration of all the RMAAccessBeans 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

fulfills

public boolean fulfills(java.lang.Long aFills,
                        java.lang.String aFills)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

IBM internal use only.

Parameters:
aFills - java.lang.Long
aFills - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getComments

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

This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Comment that applies to the entire RMA.

Specified by:
getComments in interface RMAAccessBeanData
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

getCurrency

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

This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The currency of all monetary amounts within the RMA. All items added to the RMA will have the same currency value. This is a currency code as per ISO 4217 standards.

Specified by:
getCurrency in interface RMAAccessBeanData
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

getFfmcenterId

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

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

Specified by:
getFfmcenterId in interface RMAAccessBeanData
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

getFfmcenterIdInEJBType

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

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

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

getInUse

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

This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Used by the WebSphere Commerce Accelerator to mark the record as being used. When a CSR opens the Change Returns notebook to edit a return, the INUSE column is set to Y to indicate that this RMA is in use. Once closed, the column is set to N.

Specified by:
getInUse in interface RMAAccessBeanData
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

getLastUpdate

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

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Timestamp of the last update.

Specified by:
getLastUpdate in interface RMAAccessBeanData
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

getLastUpdateInEJBType

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

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Timestamp of the last update.

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

getMemberId

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

This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

Specified by:
getMemberId in interface RMAAccessBeanData
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

getMemberIdInEJBType

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

This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

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

getOrganizationId

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

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The buying organization.

Specified by:
getOrganizationId in interface RMAAccessBeanData
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

getOrganizationIdInEJBType

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

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The buying organization.

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

getOwner

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

IBM internal use only.

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

getPolicyId

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

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

Specified by:
getPolicyId in interface RMAAccessBeanData
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

getPolicyIdInEJBType

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

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

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

getPrepared

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

This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Specifies whether the ReturnPrepare command was the last command executed against the RMA.

Specified by:
getPrepared in interface RMAAccessBeanData
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

getRefundAgainstOrdId

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

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.

The following is a description of this column:

The order Id to credit the refund against.

Specified by:
getRefundAgainstOrdId in interface RMAAccessBeanData
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

getRefundAgainstOrdIdInEJBType

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

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.

The following is a description of this column:

The order Id to credit the refund against.

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

getRmaDate

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

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

Specified by:
getRmaDate in interface RMAAccessBeanData
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

getRmaDateInEJBType

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

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

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

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 RMA.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getRmaId in interface RMAAccessBeanData
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 RMA.RMA_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

getStatus

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

This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

The status of the RMA as follows:
PRC = being edited by a customer
EDT = being edited by a Customer Service Representative
PND = pending)
APP = approved
CLO = closed
CAN = canceled

Specified by:
getStatus in interface RMAAccessBeanData
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

getStoreId

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

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

Specified by:
getStoreId in interface RMAAccessBeanData
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

getStoreIdInEJBType

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

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

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

getTotalCredit

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

This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Specified by:
getTotalCredit in interface RMAAccessBeanData
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

getTotalCreditInEJBType

public java.math.BigDecimal getTotalCreditInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Returns:
java.math.BigDecimal
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

getTradingId

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

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

Specified by:
getTradingId in interface RMAAccessBeanData
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

getTradingIdInEJBType

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

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

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

setComments

public void setComments(java.lang.String aComments)

This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Comment that applies to the entire RMA.

Specified by:
setComments in interface RMAAccessBeanData
Parameters:
aComments - java.lang.String
Returns:
void

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The currency of all monetary amounts within the RMA. All items added to the RMA will have the same currency value. This is a currency code as per ISO 4217 standards.

Specified by:
setCurrency in interface RMAAccessBeanData
Parameters:
aCurrency - java.lang.String
Returns:
void

setFfmcenterId

public void setFfmcenterId(java.lang.Integer aFfmcenterId)

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

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

setFfmcenterId

public void setFfmcenterId(java.lang.String aFfmcenterId)

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

Specified by:
setFfmcenterId in interface RMAAccessBeanData
Parameters:
aFfmcenterId - java.lang.String
Returns:
void

setInitKey_rmaId

public void setInitKey_rmaId(java.lang.String aInitKey_rmaId)

Set the primary key for this object

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

setInUse

public void setInUse(java.lang.String aInUse)

This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Used by the WebSphere Commerce Accelerator to mark the record as being used. When a CSR opens the Change Returns notebook to edit a return, the INUSE column is set to Y to indicate that this RMA is in use. Once closed, the column is set to N.

Specified by:
setInUse in interface RMAAccessBeanData
Parameters:
aInUse - java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.lang.String aLastUpdate)

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Timestamp of the last update.

Specified by:
setLastUpdate in interface RMAAccessBeanData
Parameters:
aLastUpdate - java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Timestamp of the last update.

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

setMemberId

public void setMemberId(java.lang.Long aMemberId)

This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

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

setMemberId

public void setMemberId(java.lang.String aMemberId)

This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

Specified by:
setMemberId in interface RMAAccessBeanData
Parameters:
aMemberId - java.lang.String
Returns:
void

setOrganizationId

public void setOrganizationId(java.lang.Long aOrganizationId)

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The buying organization.

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

setOrganizationId

public void setOrganizationId(java.lang.String aOrganizationId)

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The buying organization.

Specified by:
setOrganizationId in interface RMAAccessBeanData
Parameters:
aOrganizationId - java.lang.String
Returns:
void

setPolicyId

public void setPolicyId(java.lang.Long aPolicyId)

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

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

setPolicyId

public void setPolicyId(java.lang.String aPolicyId)

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

Specified by:
setPolicyId in interface RMAAccessBeanData
Parameters:
aPolicyId - java.lang.String
Returns:
void

setPrepared

public void setPrepared(java.lang.String aPrepared)

This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Specifies whether the ReturnPrepare command was the last command executed against the RMA.

Specified by:
setPrepared in interface RMAAccessBeanData
Parameters:
aPrepared - java.lang.String
Returns:
void

setRefundAgainstOrdId

public void setRefundAgainstOrdId(java.lang.Long aRefundAgainstOrdId)

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.

The following is a description of this column:

The order Id to credit the refund against.

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

setRefundAgainstOrdId

public void setRefundAgainstOrdId(java.lang.String aRefundAgainstOrdId)

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT NULL.

The following is a description of this column:

The order Id to credit the refund against.

Specified by:
setRefundAgainstOrdId in interface RMAAccessBeanData
Parameters:
aRefundAgainstOrdId - java.lang.String
Returns:
void

setRmaDate

public void setRmaDate(java.lang.String aRmaDate)

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

Specified by:
setRmaDate in interface RMAAccessBeanData
Parameters:
aRmaDate - java.lang.String
Returns:
void

setRmaDate

public void setRmaDate(java.sql.Timestamp aRmaDate)

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

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

setRmaId

public void setRmaId(java.lang.Long aRmaId)

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

The following is a description of this column:

Generated unique key.

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

setRmaId

public void setRmaId(java.lang.String aRmaId)

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

The following is a description of this column:

Generated unique key.

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

setStatus

public void setStatus(java.lang.String aStatus)

This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

The status of the RMA as follows:
PRC = being edited by a customer
EDT = being edited by a Customer Service Representative
PND = pending)
APP = approved
CLO = closed
CAN = canceled

Specified by:
setStatus in interface RMAAccessBeanData
Parameters:
aStatus - java.lang.String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer aStoreId)

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

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

setStoreId

public void setStoreId(java.lang.String aStoreId)

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

Specified by:
setStoreId in interface RMAAccessBeanData
Parameters:
aStoreId - java.lang.String
Returns:
void

setTotalCredit

public void setTotalCredit(java.math.BigDecimal aTotalCredit)

This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Parameters:
aTotalCredit - java.math.BigDecimal
Returns:
void

setTotalCredit

public void setTotalCredit(java.lang.String aTotalCredit)

This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Specified by:
setTotalCredit in interface RMAAccessBeanData
Parameters:
aTotalCredit - java.lang.String
Returns:
void

setTradingId

public void setTradingId(java.lang.Long aTradingId)

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

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

setTradingId

public void setTradingId(java.lang.String aTradingId)

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

Specified by:
setTradingId in interface RMAAccessBeanData
Parameters:
aTradingId - java.lang.String
Returns:
void