public class OfferPriceAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements OfferPriceAccessBeanData
Constructor and Description |
---|
OfferPriceAccessBean()
Zero argument constructor used to initialize the access bean.
|
OfferPriceAccessBean(javax.ejb.EJBObject o) |
OfferPriceAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData)
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
|
OfferPriceAccessBean(java.lang.Long arg1, java.lang.String arg2, java.math.BigDecimal arg3)
Creates an access bean with the specified attributes.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByOffer(java.lang.Long offerId)
Retrieves all prices for an offer.
The SQL query used to fetch all the required rows from the OFFERPRICE table is: SELECT * FROM OFFERPRICE T1 WHERE T1.OFFER_ID = ? |
java.util.Enumeration | findByOffersAndCurrency(java.lang.Long[] offerIds, java.lang.String currency) |
java.lang.String | getComparePrice() |
java.math.BigDecimal | getComparePriceInEJBType() |
java.lang.String | getCurrency() |
java.lang.String | getOfferId() |
java.lang.Long | getOfferIdInEJBType() |
java.lang.String | getPrice() |
java.math.BigDecimal | getPriceInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setComparePrice(java.math.BigDecimal newValue) |
void | setComparePrice(java.lang.String newValue) |
void | setInitKey_currency(java.lang.String newValue) |
void | setInitKey_offerId(java.lang.String newValue) |
void | setPrice(java.math.BigDecimal newValue) |
void | setPrice(java.lang.String newValue) |
public OfferPriceAccessBean()
public OfferPriceAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OfferPriceAccessBean(java.lang.Long arg1, java.lang.String arg2, java.math.BigDecimal arg3) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
public OfferPriceAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog entry according to the OfferEntityCreationData.
public java.util.Enumeration findByOffer(java.lang.Long offerId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all prices for an offer.
The SQL query used to fetch all the required rows from the OFFERPRICE table is:
SELECT * FROM OFFERPRICE T1 WHERE T1.OFFER_ID = ?
public void setInitKey_offerId(java.lang.String newValue)
public void setInitKey_currency(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 getComparePrice() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.math.BigDecimal getComparePriceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setComparePrice(java.lang.String newValue)
public void setComparePrice(java.math.BigDecimal newValue)
public java.lang.String getOfferId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOfferIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getPrice() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.math.BigDecimal getPriceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPrice(java.lang.String newValue)
public void setPrice(java.math.BigDecimal newValue)
public java.util.Enumeration findByOffersAndCurrency(java.lang.Long[] offerIds, java.lang.String currency) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException