com.ibm.commerce.catalog.objects
Class CatalogEntryTypeAccessBean

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

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

This table defines all possible types of CatalogEntries. Examples of CatalogEntry types are ProductBean, ItemBean, PackageBean, BundleBean and DynamicKitBean. This access bean corresponds to the database table 'CATENTTYPE'.

See Also:
Serialized Form

Constructor Summary
CatalogEntryTypeAccessBean()
Zero argument constructor used to initialize the access bean.
CatalogEntryTypeAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
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).
java.lang.String getOid()
This method provides access to the CATENTTYPE.OID column of DB2 type VARCHAR(64).
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_catalogEntryTypeReferenceNumber(java.lang.String newValue)
Set the primary key for this object
void setOid(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

CatalogEntryTypeAccessBean

public CatalogEntryTypeAccessBean()
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.CatalogEntryType com.ibm.commerce.catalog.objimpl.CatalogEntryTypeHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.CatalogEntryTypeKey) 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_catalogEntryTypeReferenceNumber( java.lang.String )

CatalogEntryTypeAccessBean

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

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

setInitKey_catalogEntryTypeReferenceNumber

public void setInitKey_catalogEntryTypeReferenceNumber(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

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

The following is a description of this column:

The description for this CatalogEntry type.

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

setDescription

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

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getOid in interface CatalogEntryTypeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOid

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

Feedback