com.ibm.commerce.catalog.objects
Class CatalogDescriptionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.CatalogDescriptionAccessBean
All Implemented Interfaces:
CatalogDescriptionAccessBeanData

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

This table holds language-dependent information related to a Catalog. This access bean corresponds to the database table 'CATALOGDSC'.

See Also:
Serialized Form

Constructor Summary
CatalogDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
CatalogDescriptionAccessBean(javax.ejb.EJBObject o)
constructor
CatalogDescriptionAccessBean(java.lang.Long arg1, java.lang.Integer arg2)
Maps to a corresponding ejbCreate method in the home interface of the EJB.
CatalogDescriptionAccessBean(java.lang.Long argCatalogReferenceNumber, java.lang.Integer argLanguage_id, java.lang.String argName)
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).
protected java.lang.String defaultJNDIName()
java.lang.Long getCatalogReferenceNumber()
getCatalogReferenceNumber
java.lang.String getFullIImage()
This method provides access to the CATALOGDSC.FULLIMAGE column of DB2 type VARCHAR(254).
java.lang.String getLongDescription()
This method accesses a non-CMP field
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).
java.lang.String getThumbNail()
This method provides access to the CATALOGDSC.THUMBNAIL column of DB2 type VARCHAR(254).
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setCatalogReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setFullIImage(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_catalogReferenceNumber(java.lang.String newValue)
Set the primary key for this object
void setInitKey_language_id(java.lang.String newValue)
Set the primary key for this object
void setLongDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setName(java.lang.String newValue)
This method accesses a non-CMP field
void setShortDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setThumbNail(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CatalogDescriptionAccessBean

public CatalogDescriptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.catalog.objects.CatalogDescription com.ibm.commerce.catalog.objimpl.CatalogDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.CatalogDescriptionKey) 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: setInitKey_language_id( java.lang.Integer ) setInitKey_catalogReferenceNumber( java.lang.Long )

CatalogDescriptionAccessBean

public CatalogDescriptionAccessBean(javax.ejb.EJBObject o)
                             throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

CatalogDescriptionAccessBean

public CatalogDescriptionAccessBean(java.lang.Long arg1,
                                    java.lang.Integer arg2)
                             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:
arg1 - The catalog reference number. java.lang.Long
arg2 - 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

CatalogDescriptionAccessBean

public CatalogDescriptionAccessBean(java.lang.Long argCatalogReferenceNumber,
                                    java.lang.Integer argLanguage_id,
                                    java.lang.String argName)
                             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:
argCatalogReferenceNumber - The catalog reference number. java.lang.Long
argLanguage_id - The language ID. java.lang.Integer
argName - 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

setInitKey_language_id

public void setInitKey_language_id(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_catalogReferenceNumber

public void setInitKey_catalogReferenceNumber(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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).

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setFullIImage

public void setFullIImage(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setFullIImage in interface CatalogDescriptionAccessBeanData

getLongDescription

public java.lang.String getLongDescription()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getLongDescription in interface CatalogDescriptionAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLongDescription

public void setLongDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLongDescription in interface CatalogDescriptionAccessBeanData

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).

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setThumbNail

public void setThumbNail(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setThumbNail in interface CatalogDescriptionAccessBeanData

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).

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setShortDescription

public void setShortDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setShortDescription in interface CatalogDescriptionAccessBeanData

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

public void setName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setName in interface CatalogDescriptionAccessBeanData

getCatalogReferenceNumber

public java.lang.Long getCatalogReferenceNumber()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
getCatalogReferenceNumber
Specified by:
getCatalogReferenceNumber in interface CatalogDescriptionAccessBeanData
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCatalogReferenceNumber

public void setCatalogReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
Specified by:
setCatalogReferenceNumber in interface CatalogDescriptionAccessBeanData

Feedback