|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.PackageAttributeAccessBean
This bean provides access to the PKGATTR table.
The following is a description of this table:
This table holds the attributes of Packages. Package Attributes are inherited from the Attributes of the Products that are contained within Packages.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
PackageAttributeAccessBean()
Default constructor. |
|
PackageAttributeAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
PackageAttributeAccessBean(java.lang.Long argPackageAttributeReferenceNumber)
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 |
findByPackageAndLanguage(java.lang.Long aPackageReferenceNumber,
java.lang.Integer aLanguageId)
This method returns an Enumeration of PackageAttributeAccessBean with the given PackageReferenceNumber and LanguageId. |
java.util.Enumeration |
findByPackageReferenceNumber(java.lang.Long aPackageReferenceNumber)
This method returns an Enumeration of PackageAttributeAccessBean with the given PackageReferenceNumber. |
AttributeAccessBean |
getAttribute()
The method returns the product attribute. |
java.lang.String |
getAttributeID()
This method provides access to the PKGATTR.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getAttributeIDInEJBType()
This method provides access to the PKGATTR.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getLanguage_id()
This method provides access to the PKGATTR.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguage_idInEJBType()
This method provides access to the PKGATTR.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getOid()
This method provides access to the PKGATTR.OID column of DB2 type CHARACTER (32) NULL. |
java.lang.String |
getPackageReferenceNumber()
This method provides access to the PKGATTR.CATENTRY_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getPackageReferenceNumberInEJBType()
This method provides access to the PKGATTR.CATENTRY_ID column of DB2 type BIGINT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAttributeID(java.lang.Long aAttributeID)
This method provides access to the PKGATTR.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
void |
setAttributeID(java.lang.String aAttributeID)
This method provides access to the PKGATTR.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
void |
setInitKey_packageAttributeReferenceNumber(java.lang.String aInitKey_packageAttributeReferenceNumber)
Set the primary key for this object |
void |
setLanguage_id(java.lang.Integer aLanguage_id)
This method provides access to the PKGATTR.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLanguage_id(java.lang.String aLanguage_id)
This method provides access to the PKGATTR.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setOid(java.lang.String aOId)
This method provides access to the PKGATTR.OID column of DB2 type CHARACTER (32) NULL. |
void |
setPackageReferenceNumber(java.lang.Long aPackageReferenceNumber)
This method provides access to the PKGATTR.CATENTRY_ID column of DB2 type BIGINT NULL. |
void |
setPackageReferenceNumber(java.lang.String aPackageReferenceNumber)
This method provides access to the PKGATTR.CATENTRY_ID column of DB2 type BIGINT 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 |
public PackageAttributeAccessBean()
Default constructor. It is used to initialize the access bean.
public PackageAttributeAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejbObject
- a PackageAttribute EJBObject referencejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic PackageAttributeAccessBean(java.lang.Long argPackageAttributeReferenceNumber) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
argPackageAttributeReferenceNumber
- The Package attribute reference number. java.lang.Longjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByPackageAndLanguage(java.lang.Long aPackageReferenceNumber, java.lang.Integer aLanguageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method returns an Enumeration of PackageAttributeAccessBean with the given PackageReferenceNumber and LanguageId.
SQL:
SELECT * FROM ATTRVALUE WHERE PKGATTR.CATENTRY_ID = aPackageReferenceNumber and PKGATTR.LANGUAGE_ID = aLanguageId
aPackageReferenceNumber
- The Package reference number. java.lang.LongaLanguageId
- The language id. java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByPackageReferenceNumber(java.lang.Long aPackageReferenceNumber) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method returns an Enumeration of PackageAttributeAccessBean with the given PackageReferenceNumber.
SQL:
SELECT * FROM ATTRVALUE WHERE PKGATTR.CATENTRY_ID = aPackageReferenceNumber
aPackageReferenceNumber
- The Package reference number. java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic AttributeAccessBean getAttribute() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns the product attribute.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic java.lang.String getAttributeID() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PKGATTR.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference to an Attribute of a Product that is contained within the Package.
getAttributeID
in interface PackageAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getAttributeIDInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PKGATTR.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference to an Attribute of a Product that is contained within the Package.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getLanguage_id() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PKGATTR.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language that this Attribute pertains to.
getLanguage_id
in interface PackageAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getLanguage_idInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PKGATTR.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language that this Attribute pertains to.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getOid() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PKGATTR.OID column of DB2 type CHARACTER (32) NULL.
The following is a description of this column:
Reserved for IBM internal use..
getOid
in interface PackageAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getPackageReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PKGATTR.CATENTRY_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The reference number of the Package.
getPackageReferenceNumber
in interface PackageAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getPackageReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PKGATTR.CATENTRY_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The reference number of the Package.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setAttributeID(java.lang.Long aAttributeID)
This method provides access to the PKGATTR.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference to an Attribute of a Product that is contained within the Package.
aAttributeID
- The reference number of an Attribute of a Product that is contained within the Package. java.lang.Longpublic void setAttributeID(java.lang.String aAttributeID)
This method provides access to the PKGATTR.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference to an Attribute of a Product that is contained within the Package.
setAttributeID
in interface PackageAttributeAccessBeanData
aAttributeID
- The reference number of an Attribute of a Product that is contained within the Package. java.lang.Stringpublic void setInitKey_packageAttributeReferenceNumber(java.lang.String aInitKey_packageAttributeReferenceNumber)
Set the primary key for this object
aInitKey_packageAttributeReferenceNumber
- The reference number of the Package Attribute. java.lang.Stringpublic void setLanguage_id(java.lang.Integer aLanguage_id)
This method provides access to the PKGATTR.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language that this Attribute pertains to.
aLanguage_id
- The language id. java.lang.Integerpublic void setLanguage_id(java.lang.String aLanguage_id)
This method provides access to the PKGATTR.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language that this Attribute pertains to.
setLanguage_id
in interface PackageAttributeAccessBeanData
aLanguage_id
- The language id. java.lang.Stringpublic void setOid(java.lang.String aOId)
This method provides access to the PKGATTR.OID column of DB2 type CHARACTER (32) NULL.
The following is a description of this column:
Reserved for IBM internal use..
setOid
in interface PackageAttributeAccessBeanData
aOId
- The OId. java.lang.Stringpublic void setPackageReferenceNumber(java.lang.Long aPackageReferenceNumber)
This method provides access to the PKGATTR.CATENTRY_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The reference number of the Package.
aPackageReferenceNumber
- The reference number of the Package. java.lang.Longpublic void setPackageReferenceNumber(java.lang.String aPackageReferenceNumber)
This method provides access to the PKGATTR.CATENTRY_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The reference number of the Package.
setPackageReferenceNumber
in interface PackageAttributeAccessBeanData
aPackageReferenceNumber
- The reference number of the Package. java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |