public class OfferDescriptionAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements OfferDescriptionAccessBeanData
Constructor and Description |
---|
OfferDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
|
OfferDescriptionAccessBean(javax.ejb.EJBObject o) |
OfferDescriptionAccessBean(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.
|
OfferDescriptionAccessBean(java.lang.Long aOfferId, java.lang.Integer aLanguageId)
Creates an access bean with the specified attributes.
|
OfferDescriptionAccessBean(java.lang.Long aOfferId, java.lang.Integer aLanguageId, java.lang.String aDescription)
Creates an access bean with the specified attributes.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByOfferId(java.lang.Long offerId)
Finds by Offer reference number.
|
java.lang.String | getDescription() |
java.lang.String | getLanguageId() |
java.lang.Integer | getLanguageIdInEJBType() |
java.lang.String | getOfferId() |
java.lang.Long | getOfferIdInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setDescription(java.lang.String newValue) |
void | setInitKey_languageId(java.lang.String newValue) |
void | setInitKey_offerId(java.lang.String newValue) |
void | setLanguageId(java.lang.Integer newValue) |
void | setLanguageId(java.lang.String newValue) |
void | setOfferId(java.lang.Long newValue) |
void | setOfferId(java.lang.String newValue) |
public OfferDescriptionAccessBean()
public OfferDescriptionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OfferDescriptionAccessBean(java.lang.Long aOfferId, java.lang.Integer aLanguageId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
public OfferDescriptionAccessBean(java.lang.Long aOfferId, java.lang.Integer aLanguageId, java.lang.String aDescription) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
public OfferDescriptionAccessBean(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 void setInitKey_languageId(java.lang.String newValue)
public void setInitKey_offerId(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 getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDescription(java.lang.String newValue)
public java.lang.String getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLanguageId(java.lang.String newValue)
public void setLanguageId(java.lang.Integer 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 void setOfferId(java.lang.String newValue)
public void setOfferId(java.lang.Long newValue)
public java.util.Enumeration findByOfferId(java.lang.Long offerId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM OFFERDESC WHERE OFFERDESC.OFFER_ID = offerId