com.ibm.commerce.utf.objects
Class PAttrProdAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.utf.objects.PAttrProdAccessBean
All Implemented Interfaces:
PAttrProdAccessBeanData

public class PAttrProdAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PAttrProdAccessBeanData

The relationship table between the PATTRIBUTE and CATENTRY tables. This access bean corresponds to the database table 'PATTRPROD'.

See Also:
Serialized Form

Constructor Summary
PAttrProdAccessBean()
Zero argument constructor used to initialize the access bean.
PAttrProdAccessBean(javax.ejb.EJBObject o)
constructor
PAttrProdAccessBean(java.lang.Long argAttributeId, java.lang.Long argCatentryId)
Creates an access bean with the specified attributes.
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByAttributeId(java.lang.Long argAttributeId)
Retrieves the PAttrProdAccessBeans that match the specified Language.
java.util.Enumeration findByCatentryId(java.lang.Long argCatentryId)
Retrieves the PAttrProdAccessBeans that match the specified Language.
java.lang.String getAttributeId()
This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getAttributeIdInEJBType()
This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getCatentryId()
This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getCatentryIdInEJBType()
This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAttributeId(java.lang.Long newValue)
This method accesses a non-CMP field
void setAttributeId(java.lang.String newValue)
This method accesses a non-CMP field
void setCatentryId(java.lang.Long newValue)
This method accesses a non-CMP field
void setCatentryId(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_attributeId(java.lang.Long newValue)
Set the primary key for this object
void setInitKey_catentryId(java.lang.Long newValue)
Set the primary key for this object
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PAttrProdAccessBean

public PAttrProdAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.utf.objects.PAttrProd com.ibm.commerce.utf.objects.PAttrProdHome.findByPrimaryKey(com.ibm.commerce.utf.objects.PAttrProdKey) 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_attributeId( java.lang.Long ) setInitKey_catentryId( java.lang.Long )

PAttrProdAccessBean

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

PAttrProdAccessBean

public PAttrProdAccessBean(java.lang.Long argAttributeId,
                           java.lang.Long argCatentryId)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
argAttributeId - the PAttribute ID
argCatentryId - the CatalogEntry ID
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

findByAttributeId

public java.util.Enumeration findByAttributeId(java.lang.Long argAttributeId)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

Retrieves the PAttrProdAccessBeans that match the specified Language.

The SQL query used to fetch all the required row from the PATTRPROD table is: SELECT * FROM PATTRPROD T1 WHERE T1.PATTRIBUTE_ID = ?

Parameters:
argAttributeId - the PAttribute ID
Returns:
An Enumeration of all the PAttrProdAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatentryId

public java.util.Enumeration findByCatentryId(java.lang.Long argCatentryId)
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

Retrieves the PAttrProdAccessBeans that match the specified Language.

The SQL query used to fetch all the required row from the PATTRPROD table is: SELECT * FROM PATTRPROD T1 WHERE T1.CATENTRY_ID = ?

Parameters:
argCatentryId - the CatalogEntry ID
Returns:
An Enumeration of all the PAttrProdAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_attributeId

public void setInitKey_attributeId(java.lang.Long newValue)

Set the primary key for this object

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

setInitKey_catentryId

public void setInitKey_catentryId(java.lang.Long newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.Long
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

getAttributeId

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

This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the personalization attribute.

Specified by:
getAttributeId in interface PAttrProdAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getAttributeIdInEJBType

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

This method provides access to the PATTRPROD.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the personalization attribute.

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

setAttributeId

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

setAttributeId

public void setAttributeId(java.lang.Long newValue)
This method accesses a non-CMP field

getCatentryId

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

This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

Specified by:
getCatentryId in interface PAttrProdAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatentryIdInEJBType

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

This method provides access to the PATTRPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

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

setCatentryId

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

setCatentryId

public void setCatentryId(java.lang.Long newValue)
This method accesses a non-CMP field

Feedback