java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.ordermanagement.objects.RMAChargeAccessBean
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.
Constructor Summary | |
---|---|
RMAChargeAccessBean() constructor | |
RMAChargeAccessBean(javax.ejb.EJBObject o) constructor | |
RMAChargeAccessBean(java.lang.Long arg0, java.math.BigDecimal arg1,
java.lang.String arg2, java.lang.Integer arg3) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByRmaCharge(java.lang.Long arg0)
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 arg0)
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 arg0)
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. |
java.lang.Long |
getRmaItemIdInEJBType() This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setAmount(java.math.BigDecimal newValue) This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL. |
void |
setAmount(java.lang.String newValue) This method provides access to the RMACHARGE.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL. |
void |
setChargeTypeId(java.lang.Integer newValue) This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setChargeTypeId(java.lang.String newValue) This method provides access to the RMACHARGE.CHARGETYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCurrency(java.lang.String newValue) This method provides access to the RMACHARGE.CURRENCY column of DB2 type CHAR(3) NOT NULL. |
void |
setInitKey_rmaChargeId(java.lang.String newValue) Set the primary key for this object |
void |
setRmaChargeId(java.lang.Long newValue) This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaChargeId(java.lang.String newValue) This method provides access to the RMACHARGE.RMACHARGE_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaId(java.lang.Long newValue) This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaId(java.lang.String newValue) This method provides access to the RMACHARGE.RMA_ID column of DB2 type BIGINT NOT NULL. |
void |
setRmaItemId(java.lang.Long newValue) This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT. |
void |
setRmaItemId(java.lang.String newValue) This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public RMAChargeAccessBean()
public RMAChargeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public RMAChargeAccessBean(java.lang.Long arg0, java.math.BigDecimal arg1, java.lang.String arg2, java.lang.Integer arg3) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.math.BigDecimalarg2
- java.lang.Stringarg3
- java.lang.Integerjavax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail |
---|
public java.util.Enumeration findByRmaCharge(java.lang.Long arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByRmaItemId(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByRmaItemIdForUpdate(java.lang.Long arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_rmaChargeId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setAmount(java.lang.String newValue)
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
newValue
- Stringpublic void setAmount(java.math.BigDecimal newValue)
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.
newValue
- java.math.BigDecimalpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCurrency(java.lang.String newValue)
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
newValue
- java.lang.Stringpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setChargeTypeId(java.lang.String newValue)
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
newValue
- Stringpublic void setChargeTypeId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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.
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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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.
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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setRmaItemId(java.lang.String newValue)
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT.
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
newValue
- Stringpublic void setRmaItemId(java.lang.Long newValue)
This method provides access to the RMACHARGE.RMAITEM_ID column of DB2 type BIGINT.
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.
newValue
- java.lang.Longpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setRmaChargeId(java.lang.String newValue)
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
newValue
- Stringpublic void setRmaChargeId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setRmaId(java.lang.String newValue)
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
newValue
- Stringpublic void setRmaId(java.lang.Long newValue)
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.
newValue
- java.lang.Long