public class RMAChargeAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements RMAChargeAccessBeanData
Constructor and Description |
---|
RMAChargeAccessBean()
Zero argument constructor used to initialize the access bean.
|
RMAChargeAccessBean(javax.ejb.EJBObject o) |
RMAChargeAccessBean(java.lang.Long newRmaId, java.math.BigDecimal newAmount, java.lang.String newCurrency, java.lang.Integer newChargeTypeId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
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() |
java.math.BigDecimal | getAmountInEJBType() |
java.lang.String | getChargeTypeId() |
java.lang.Integer | getChargeTypeIdInEJBType() |
java.lang.String | getCurrency() |
java.lang.String | getRmaChargeId() |
java.lang.Long | getRmaChargeIdInEJBType() |
java.lang.String | getRmaId() |
java.lang.Long | getRmaIdInEJBType() |
java.lang.String | getRmaItemId() |
java.lang.Long | getRmaItemIdInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setAmount(java.math.BigDecimal newValue) |
void | setAmount(java.lang.String newValue) |
void | setChargeTypeId(java.lang.Integer newValue) |
void | setChargeTypeId(java.lang.String newValue) |
void | setCurrency(java.lang.String newValue) |
void | setInitKey_rmaChargeId(java.lang.String newValue) |
void | setRmaChargeId(java.lang.Long newValue) |
void | setRmaChargeId(java.lang.String newValue) |
void | setRmaId(java.lang.Long newValue) |
void | setRmaId(java.lang.String newValue) |
void | setRmaItemId(java.lang.Long newValue) |
void | setRmaItemId(java.lang.String newValue) |
public RMAChargeAccessBean()
public RMAChargeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public RMAChargeAccessBean(java.lang.Long newRmaId, java.math.BigDecimal newAmount, java.lang.String newCurrency, java.lang.Integer newChargeTypeId) 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
public 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
public 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 = ?
public 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
public void setInitKey_rmaChargeId(java.lang.String newValue)
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws 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
public void refreshCopyHelper() throws 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
public java.math.BigDecimal getAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAmount(java.lang.String newValue)
public void setAmount(java.math.BigDecimal newValue)
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCurrency(java.lang.String newValue)
public java.lang.String getChargeTypeId() throws 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
public void setChargeTypeId(java.lang.String newValue)
public void setChargeTypeId(java.lang.Integer newValue)
public java.lang.String getRmaItemId() throws 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
public void setRmaItemId(java.lang.String newValue)
public void setRmaItemId(java.lang.Long newValue)
public java.lang.String getRmaChargeId() throws 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
public void setRmaChargeId(java.lang.String newValue)
public void setRmaChargeId(java.lang.Long newValue)
public java.lang.String getRmaId() throws 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
public void setRmaId(java.lang.String newValue)
public void setRmaId(java.lang.Long newValue)