com.ibm.commerce.order.objects
Class OfferDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.order.objects.OfferDescriptionAccessBean
All Implemented Interfaces:
OfferDescriptionAccessBeanData, java.io.Serializable

public class OfferDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OfferDescriptionAccessBeanData

This bean provides access to the OFFERDESC table.

The following is a description of this table:

Each row in this table contains language-dependent information for an Offer.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
OfferDescriptionAccessBean()
          Zero argument constructor used to initialize the access bean.
OfferDescriptionAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
OfferDescriptionAccessBean(java.lang.Long offerId, java.lang.Integer languageId)
          Creates an access bean with the specified attributes.
OfferDescriptionAccessBean(java.lang.Long offerId, java.lang.Integer languageId, java.lang.String description)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.lang.String getDescription()
          This method provides access to the OFFERDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguageId()
          This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getOfferId()
          This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOfferIdInEJBType()
          This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the OFFERDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInitKey_offerId(java.lang.String aInitKey_offerId)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setOfferId(java.lang.Long aOfferId)
          This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.
 void setOfferId(java.lang.String aOfferId)
          This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT 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

OfferDescriptionAccessBean

public OfferDescriptionAccessBean()

Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method:

public abstract com.ibm.commerce.order.objects.OfferDescription com.ibm.commerce.order.objimpl.OfferDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.order.objects.OfferDescriptionKey) throws java.rmi.RemoteException,javax.ejb.FinderException

The home interface method properties need to be set by calling the following setter methods before calling any business methods:


OfferDescriptionAccessBean

public OfferDescriptionAccessBean(javax.ejb.EJBObject object)
                           throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.

OfferDescriptionAccessBean

public OfferDescriptionAccessBean(java.lang.Long offerId,
                                  java.lang.Integer languageId)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException,
                                  javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
offerId - The offer id.
languageId - The language id.

OfferDescriptionAccessBean

public OfferDescriptionAccessBean(java.lang.Long offerId,
                                  java.lang.Integer languageId,
                                  java.lang.String description)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException,
                                  javax.ejb.FinderException

Creates an access bean with the specified attributes.

Parameters:
offerId - The offer id.
languageId - The language id.
description - The description.
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the OFFERDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A description of the Offer, suitable for display to customers.

Specified by:
getDescription in interface OfferDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageId

public java.lang.String getLanguageId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language of the description. For a list of language components, see the LANGUAGE table.

Specified by:
getLanguageId in interface OfferDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageIdInEJBType

public java.lang.Integer getLanguageIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language of the description. For a list of language components, see the LANGUAGE table.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOfferId

public java.lang.String getOfferId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Offer being described.

Specified by:
getOfferId in interface OfferDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOfferIdInEJBType

public java.lang.Long getOfferIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Offer being described.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setDescription

public void setDescription(java.lang.String aDescription)

This method provides access to the OFFERDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A description of the Offer, suitable for display to customers.

Specified by:
setDescription in interface OfferDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

Parameters:
aInitKey_languageId - java.lang.String
Returns:
void

setInitKey_offerId

public void setInitKey_offerId(java.lang.String aInitKey_offerId)

Set the primary key for this object

Parameters:
aInitKey_offerId - java.lang.String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language of the description. For a list of language components, see the LANGUAGE table.

Parameters:
aLanguageId - java.lang.Integer
Returns:
void

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

This method provides access to the OFFERDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language of the description. For a list of language components, see the LANGUAGE table.

Specified by:
setLanguageId in interface OfferDescriptionAccessBeanData
Parameters:
aLanguageId - java.lang.String
Returns:
void

setOfferId

public void setOfferId(java.lang.Long aOfferId)

This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Offer being described.

Parameters:
aOfferId - java.lang.Long
Returns:
void

setOfferId

public void setOfferId(java.lang.String aOfferId)

This method provides access to the OFFERDESC.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Offer being described.

Specified by:
setOfferId in interface OfferDescriptionAccessBeanData
Parameters:
aOfferId - java.lang.String
Returns:
void