com.ibm.commerce.catalog.objects
Class CatalogDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.catalog.objects.CatalogDescriptionAccessBean
All Implemented Interfaces:
CatalogDescriptionAccessBeanData, java.io.Serializable

public class CatalogDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogDescriptionAccessBeanData

This bean provides access to the CATALOGDSC table.

The following is a description of this table:

This table holds language-dependent information related to a Catalog.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogDescriptionAccessBean()
          Default constructor.
CatalogDescriptionAccessBean(javax.ejb.EJBObject catDescEJBObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
CatalogDescriptionAccessBean(java.lang.Long catRefNum, java.lang.Integer languageID)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
CatalogDescriptionAccessBean(java.lang.Long abCatalogId, java.lang.Integer anLanguageId, java.lang.String astrName)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.lang.String getFullIImage()
          This method provides access to the CATALOGDSC.FULLIMAGE column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLongDescription()
          This method provides access to the CATALOGDSC.LONGDESCRIPTION column of DB2 type LONG NULL.
 java.lang.String getName()
          This method provides access to the CATALOGDSC.NAME column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getShortDescription()
          This method provides access to the CATALOGDSC.SHORTDESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getThumbNail()
          This method provides access to the CATALOGDSC.THUMBNAIL column of DB2 type VARCHAR(254) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setFullIImage(java.lang.String aFullIImage)
          This method provides access to the CATALOGDSC.FULLIMAGE column of DB2 type VARCHAR(254) NULL.
 void setInitKey_catalogReferenceNumber(java.lang.String aInitKey_catalogReferenceNumber)
          Set the primary key for this object
 void setInitKey_language_id(java.lang.String aInitKey_language_id)
          Set the primary key for this object
 void setLongDescription(java.lang.String astrLongDescription)
          This method provides access to the CATALOGDSC.LONGDESCRIPTION column of DB2 type LONG NULL.
 void setName(java.lang.String astrName)
          This method provides access to the CATALOGDSC.NAME column of DB2 type VARCHAR(254) NOT NULL.
 void setShortDescription(java.lang.String astrShortDescription)
          This method provides access to the CATALOGDSC.SHORTDESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setThumbNail(java.lang.String astrThumbNail)
          This method provides access to the CATALOGDSC.THUMBNAIL column of DB2 type VARCHAR(254) 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

CatalogDescriptionAccessBean

public CatalogDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


CatalogDescriptionAccessBean

public CatalogDescriptionAccessBean(javax.ejb.EJBObject catDescEJBObject)
                             throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
catDescEJBObject - The catalog description access bean. javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CatalogDescriptionAccessBean

public CatalogDescriptionAccessBean(java.lang.Long catRefNum,
                                    java.lang.Integer languageID)
                             throws javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.naming.NamingException

Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog description according to the catalog reference number and the language ID

Parameters:
catRefNum - The catalog reference number. java.lang.Long
languageID - The language ID. java.lang.Integer
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception

CatalogDescriptionAccessBean

public CatalogDescriptionAccessBean(java.lang.Long abCatalogId,
                                    java.lang.Integer anLanguageId,
                                    java.lang.String astrName)
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog description according to the catalog reference number, the language reference, and the language dependent name of the Catalog.

Parameters:
abCatalogId - The catalog reference number. java.lang.Long
anLanguageId - The language ID. java.lang.Integer
astrName - The language dependent name of the Catalog. java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
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

getFullIImage

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

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

The following is a description of this column:

The image path of this Catalog.

Specified by:
getFullIImage in interface CatalogDescriptionAccessBeanData
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

getLongDescription

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

This method provides access to the CATALOGDSC.LONGDESCRIPTION column of DB2 type LONG NULL.

The following is a description of this column:

A long description of this Catalog.

Specified by:
getLongDescription in interface CatalogDescriptionAccessBeanData
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

getName

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

This method provides access to the CATALOGDSC.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The language-dependent name of this Catalog.

Specified by:
getName in interface CatalogDescriptionAccessBeanData
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

getShortDescription

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

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

The following is a description of this column:

A short description of this Catalog.

Specified by:
getShortDescription in interface CatalogDescriptionAccessBeanData
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

getThumbNail

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

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

The following is a description of this column:

The thumbnail image path of this Catalog.

Specified by:
getThumbNail in interface CatalogDescriptionAccessBeanData
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

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

setFullIImage

public void setFullIImage(java.lang.String aFullIImage)

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

The following is a description of this column:

The image path of this Catalog.

Specified by:
setFullIImage in interface CatalogDescriptionAccessBeanData
Parameters:
aFullIImage - The path of the full image for this Catalog. java.lang.String
Returns:
void

setInitKey_catalogReferenceNumber

public void setInitKey_catalogReferenceNumber(java.lang.String aInitKey_catalogReferenceNumber)

Set the primary key for this object

Parameters:
aInitKey_catalogReferenceNumber - The Catalog reference number. java.lang.String
Returns:
void

setInitKey_language_id

public void setInitKey_language_id(java.lang.String aInitKey_language_id)

Set the primary key for this object

Parameters:
aInitKey_language_id - The Language reference number. java.lang.String
Returns:
void

setLongDescription

public void setLongDescription(java.lang.String astrLongDescription)

This method provides access to the CATALOGDSC.LONGDESCRIPTION column of DB2 type LONG NULL.

The following is a description of this column:

A long description of this Catalog.

Specified by:
setLongDescription in interface CatalogDescriptionAccessBeanData
Parameters:
astrLongDescription - The long description for the Catalog. java.lang.String
Returns:
void

setName

public void setName(java.lang.String astrName)

This method provides access to the CATALOGDSC.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The language-dependent name of this Catalog.

Specified by:
setName in interface CatalogDescriptionAccessBeanData
Parameters:
astrName - The catalog name. java.lang.String
Returns:
void

setShortDescription

public void setShortDescription(java.lang.String astrShortDescription)

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

The following is a description of this column:

A short description of this Catalog.

Specified by:
setShortDescription in interface CatalogDescriptionAccessBeanData
Parameters:
astrShortDescription - The short description of the catalog. java.lang.String
Returns:
void

setThumbNail

public void setThumbNail(java.lang.String astrThumbNail)

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

The following is a description of this column:

The thumbnail image path of this Catalog.

Specified by:
setThumbNail in interface CatalogDescriptionAccessBeanData
Parameters:
astrThumbNail - The path to the thumbnail image of this Catalog. java.lang.String
Returns:
void