com.ibm.commerce.catalog.objects
Class CatalogEntryTypeAccessBean

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

public class CatalogEntryTypeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogEntryTypeAccessBeanData

This bean provides access to the CATENTTYPE table.

The following is a description of this table:

This table defines all possible types of CatalogEntries. Examples of CatalogEntry types are ProductBean, ItemBean, PackageBean, BundleBean and DynamicKitBean.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogEntryTypeAccessBean()
          Default constructor.
CatalogEntryTypeAccessBean(javax.ejb.EJBObject catEntryTypeEJBObj)
          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.util.Enumeration findAll()
          Finds all the catalog entry types.
 java.lang.String getDescription()
          This method provides access to the CATENTTYPE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getOid()
          This method provides access to the CATENTTYPE.OID column of DB2 type VARCHAR(64) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the CATENTTYPE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_catalogEntryTypeReferenceNumber(java.lang.String aInitKey_catalogEntryTypeReferenceNumber)
          Set the primary key for this object
 void setOid(java.lang.String astrOid)
          This method provides access to the CATENTTYPE.OID column of DB2 type VARCHAR(64) 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

CatalogEntryTypeAccessBean

public CatalogEntryTypeAccessBean()

Default constructor. Maps to findByPrimaryKey.


CatalogEntryTypeAccessBean

public CatalogEntryTypeAccessBean(javax.ejb.EJBObject catEntryTypeEJBObj)
                           throws java.rmi.RemoteException

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

Parameters:
catEntryTypeEJBObj - The Catalog Entry Type EJB object. javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException 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

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Finds all the catalog entry types.

SQL:
SELECT CATENTTYPE_ID, DESCRIPTION FROM CATENTTYPE WHERE 1=1

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException 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 CATENTTYPE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The description for this Catalog Entry Type.

Specified by:
getDescription in interface CatalogEntryTypeAccessBeanData
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

getOid

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

This method provides access to the CATENTTYPE.OID column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The Object Identifier. Reserved for IBM internal use.

Specified by:
getOid in interface CatalogEntryTypeAccessBeanData
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

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

The description for this Catalog Entry Type.

Specified by:
setDescription in interface CatalogEntryTypeAccessBeanData
Parameters:
astrDescription - The description for this Catalog Entry Type. java.lang.String
Returns:
void

setInitKey_catalogEntryTypeReferenceNumber

public void setInitKey_catalogEntryTypeReferenceNumber(java.lang.String aInitKey_catalogEntryTypeReferenceNumber)

Set the primary key for this object

Parameters:
aInitKey_catalogEntryTypeReferenceNumber - The Catalog Entry Type reference number. java.lang.String
Returns:
void

setOid

public void setOid(java.lang.String astrOid)

This method provides access to the CATENTTYPE.OID column of DB2 type VARCHAR(64) NULL.

The following is a description of this column:

The Object Identifier. Reserved for IBM internal use.

Specified by:
setOid in interface CatalogEntryTypeAccessBeanData
Parameters:
astrOid - The Object Identifier. java.lang.String
Returns:
void