|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.ordermanagement.objects.RMAChargeAccessBean
This bean provides access to the RMACHARGE table.
The following is a description of this table:
This table stores charges or credits, applied to a return merchandise authorization (RMA), which are not for sellable products or services. This can be applicable to the entire RMA or to a specific RMA item, such as restocking fees or shipping credits.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
RMAChargeAccessBean()
Default constructor. |
|
RMAChargeAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
RMAChargeAccessBean(java.lang.Long rmaID,
java.math.BigDecimal monetaryAmount,
java.lang.String currency,
java.lang.Integer chargeTypeID)
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 |
findByRmaCharge(java.lang.Long rmaID)
Retrieves all the RMA level charges for a RMA, meaning those which are not associated with a particular RMA item. The SQL query used to fetch the requested row from the RMACHARGE table is: SELECT * FROM RMACHARGE T1 WHERE T1.RMA_ID = ? AND T1.RMAITEM_ID IS NULL |
java.util.Enumeration |
findByRmaItemId(java.lang.Long rmaItemID)
Retrieves all the RMA charges associated with a RMA item. The SQL query used to fetch the requested row from the RMACHARGE table is: SELECT * FROM RMACHARGE T1 WHERE T1.RMAITEM_ID = ? |
java.util.Enumeration |
findByRmaItemIdForUpdate(java.lang.Long rmaItemID)
Retrieves all the RMA charges associated with a particular RMA item. The SQL query used to fetch the requested row from the RMACHARGE table is: SELECT * FROM RMACHARGE T1 WHERE T1.RMAITEM_ID = ? FOR UPDATE |
java.lang.String |
getAmount()
This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getAmountInEJBType()
This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getChargeTypeId()
This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getChargeTypeIdInEJBType()
This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCurrency()
This method provides access to the RMACHARGE.CURRENCY column of DB2 type CHAR(3) NOT NULL. |
java.lang.String |
getRmaChargeId()
This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getRmaChargeIdInEJBType()
This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getRmaId()
This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getRmaIdInEJBType()
This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getRmaItemId()
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getRmaItemIdInEJBType()
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAmount(java.math.BigDecimal aAmount)
This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setAmount(java.lang.String aAmount)
This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setChargeTypeId(java.lang.Integer aChargeTypeId)
This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setChargeTypeId(java.lang.String aChargeTypeId)
This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCurrency(java.lang.String aCurrency)
This method provides access to the RMACHARGE.CURRENCY column of DB2 type CHAR(3) NOT NULL. |
void |
setInitKey_rmaChargeId(java.lang.String aInitKey_rmaChargeId)
Set the primary key for this object |
void |
setRmaChargeId(java.lang.Long aRmaChargeId)
This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaChargeId(java.lang.String aRmaChargeId)
This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaId(java.lang.Long aRmaId)
This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaId(java.lang.String aRmaId)
This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaItemId(java.lang.Long aRmaItemId)
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL. |
void |
setRmaItemId(java.lang.String aRmaItemId)
This method provides access to the RMACHARGE.RMAITEM_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 |
public RMAChargeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public RMAChargeAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejbObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic RMAChargeAccessBean(java.lang.Long rmaID, java.math.BigDecimal monetaryAmount, java.lang.String currency, java.lang.Integer chargeTypeID) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
rmaID
- java.lang.Long RMA IDmonetaryAmount
- java.math.BigDecimal Monetary Amount of charge or credit. Charges are reflected as a negative number.currency
- java.lang.String CurrencychargeTypeID
- java.lang.Integer Charge Type IDjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByRmaCharge(java.lang.Long rmaID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMA level charges for a RMA, meaning those which are not associated with a particular RMA item.
The SQL query used to fetch the requested row from the
RMACHARGE table is:
SELECT *
FROM RMACHARGE T1
WHERE T1.RMA_ID = ?
AND T1.RMAITEM_ID IS NULL
rmaID
- java.lang.Long RMA IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByRmaItemId(java.lang.Long rmaItemID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMA charges associated with a RMA item.
The SQL query used to fetch the requested row from the
RMACHARGE table is:
SELECT *
FROM RMACHARGE T1
WHERE T1.RMAITEM_ID = ?
rmaItemID
- java.lang.Long RMA item IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByRmaItemIdForUpdate(java.lang.Long rmaItemID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the RMA charges associated with a particular RMA item.
The SQL query used to fetch the requested row from the
RMACHARGE table is:
SELECT *
FROM RMACHARGE T1
WHERE T1.RMAITEM_ID = ? FOR UPDATE
rmaItemID
- java.lang.Long RMA item IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Amount of the charge or credit.
getAmount
in interface RMAChargeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.math.BigDecimal getAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Amount of the charge or credit.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getChargeTypeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The type of charge or credit. The CHARGETYPE_ID column is a foreign key to the CHARGETYPE table. A return policy uses the charge type of a restocking fee for returned items.
getChargeTypeId
in interface RMAChargeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getChargeTypeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The type of charge or credit. The CHARGETYPE_ID column is a foreign key to the CHARGETYPE table. A return policy uses the charge type of a restocking fee for returned items.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.CURRENCY column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
Currency used for the charge or credit. This is a currency code as per ISO 4217 standards.
getCurrency
in interface RMAChargeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getRmaChargeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
getRmaChargeId
in interface RMAChargeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getRmaChargeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getRmaId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The RMA to which this charge or credit applies.
getRmaId
in interface RMAChargeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getRmaIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The RMA to which this charge or credit applies.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getRmaItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The RMA item to which this charge applies. If this field is NULL, then the charge does not apply to a specific RMA item but against the whole RMA.
getRmaItemId
in interface RMAChargeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getRmaItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The RMA item to which this charge applies. If this field is NULL, then the charge does not apply to a specific RMA item but against the whole RMA.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setAmount(java.math.BigDecimal aAmount)
This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Amount of the charge or credit.
aAmount
- java.math.BigDecimalpublic void setAmount(java.lang.String aAmount)
This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
Amount of the charge or credit.
setAmount
in interface RMAChargeAccessBeanData
aAmount
- java.lang.Stringpublic void setChargeTypeId(java.lang.Integer aChargeTypeId)
This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The type of charge or credit. The CHARGETYPE_ID column is a foreign key to the CHARGETYPE table. A return policy uses the charge type of a restocking fee for returned items.
aChargeTypeId
- java.lang.Integerpublic void setChargeTypeId(java.lang.String aChargeTypeId)
This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The type of charge or credit. The CHARGETYPE_ID column is a foreign key to the CHARGETYPE table. A return policy uses the charge type of a restocking fee for returned items.
setChargeTypeId
in interface RMAChargeAccessBeanData
aChargeTypeId
- java.lang.Stringpublic void setCurrency(java.lang.String aCurrency)
This method provides access to the RMACHARGE.CURRENCY column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
Currency used for the charge or credit. This is a currency code as per ISO 4217 standards.
setCurrency
in interface RMAChargeAccessBeanData
aCurrency
- java.lang.Stringpublic void setInitKey_rmaChargeId(java.lang.String aInitKey_rmaChargeId)
Set the primary key for this object
aInitKey_rmaChargeId
- java.lang.Stringpublic void setRmaChargeId(java.lang.Long aRmaChargeId)
This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
aRmaChargeId
- java.lang.Longpublic void setRmaChargeId(java.lang.String aRmaChargeId)
This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
setRmaChargeId
in interface RMAChargeAccessBeanData
aRmaChargeId
- java.lang.Stringpublic void setRmaId(java.lang.Long aRmaId)
This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The RMA to which this charge or credit applies.
aRmaId
- java.lang.Longpublic void setRmaId(java.lang.String aRmaId)
This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The RMA to which this charge or credit applies.
setRmaId
in interface RMAChargeAccessBeanData
aRmaId
- java.lang.Stringpublic void setRmaItemId(java.lang.Long aRmaItemId)
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The RMA item to which this charge applies. If this field is NULL, then the charge does not apply to a specific RMA item but against the whole RMA.
aRmaItemId
- java.lang.Longpublic void setRmaItemId(java.lang.String aRmaItemId)
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The RMA item to which this charge applies. If this field is NULL, then the charge does not apply to a specific RMA item but against the whole RMA.
setRmaItemId
in interface RMAChargeAccessBeanData
aRmaItemId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |