com.ibm.commerce.catalog.objects
Class AttributeValueAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.AttributeValueAccessBean
All Implemented Interfaces:
AttributeValueAccessBeanData
Direct Known Subclasses:
AttributeValueDataBean

public class AttributeValueAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AttributeValueAccessBeanData

This table holds the values assigned to product Attributes and relates them back to CatalogEntries for SKU resolution. This access bean corresponds to the database table 'ATTRVALUE'.

See Also:
Serialized Form

Constructor Summary
AttributeValueAccessBean()
Zero argument constructor used to initialize the access bean.
AttributeValueAccessBean(java.lang.Integer language_id, java.lang.Long attribute_id, java.lang.Long catentry_id)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeValueAccessBean(java.lang.Integer language_id, java.lang.Long attribute_id, java.lang.Long catentry_id, java.lang.Double sequence_number)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeValueAccessBean(java.lang.Integer language_id, java.lang.Long attribute_id, java.lang.Long catentry_id, java.lang.Double sequence_number, java.lang.String aName)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeValueAccessBean(javax.ejb.EJBObject o)
constructor
AttributeValueAccessBean(java.lang.Long argAttributeValueReferenfceNumber, java.lang.Integer language_id, java.lang.Long attribute_id, java.lang.Long catentry_id)
Maps to a corresponding ejbCreate method in the home interface of the EJB
AttributeValueAccessBean(java.lang.Long argAttributeValueReferenfceNumber, java.lang.Integer language_id, java.lang.Long attribute_id, java.lang.Long catentry_id, java.lang.Double sequence_number)
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByAttribute(java.lang.Long attributeReferenceId, java.lang.Integer language_id)
This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber and LanguageId.
AttributeValueAccessBean findByAttributeIdAndLanguageAndCatEntryIdAndName(java.lang.Long aAttributeId, java.lang.Integer aLanguageId, java.lang.Long aCatEntryId, java.lang.String argName)
This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber, LanguageId, CatalogEntryId and AttributeValueName.
java.util.Enumeration findByAttributeIdAndLanguageIdAndCatEntryId(java.lang.Long aAttributeId, java.lang.Integer aLanguageId, java.lang.Long aCatEntryId)
This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber, LanguageId, and CatalogEntryId.
java.util.Enumeration findByAttributeIdLanguageAndName(java.lang.Long aAttributeId, java.lang.Integer aLanguageId, java.lang.String aName)
This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber, LanguageId and AttributeValueName.
java.util.Enumeration findByAttributeIdLanguageAndSequence(java.lang.Long aAttributeId, java.lang.Integer aLanguageId, java.lang.Double sequence)
This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber, LanguageId and SequenceNumber.
java.util.Enumeration findByAttributeIdWithDefaultCatalogEntry(java.lang.Long aAttributeId)
This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber of a Default CatalogEntry.
java.util.Enumeration findByAttributeValueId(java.lang.Long aAttributeValueId)
This method returns an Enumeration of AttributeValueAccessBean with the given attribute value reference number.
java.util.Enumeration findByAttributeValueIdWithDefaultCatalogEntry(java.lang.Long aAttributeValueId)
This method returns an Enumeration of AttributeValueAccessBean with the given attribute value reference number of a default catalog entry.
java.util.Enumeration findByCatalogEntry(java.lang.Long catalogEntryReferenceNumber)
This method returns an Enumeration of AttributeValueAccessBean with the given CatalogEntry reference number.
java.util.Enumeration findByCatalogEntryAndLanguage(java.lang.Long argCatEntryId, java.lang.Integer argLanguageId)
This method returns an Enumeration of AttributeValueAccessBean with the given CatalogEntry reference number and language Id.
AttributeValueAccessBean findByCatalogEntryLanguageAndName(java.lang.Long argCatEntryId, java.lang.Integer argLanguageId, java.lang.String argName)
This method returns an AttributeValueAccessBean with the given CatalogEntry reference number, language Id and name.
java.util.Enumeration findByCatEntryIdLanguageIdAndAttributeId(java.lang.Long argCatEntryId, java.lang.Integer argLanguageId, java.lang.Long argAttributeId)
This method returns an Enumeration of AttributeValueAccessBean with the given CatalogEntry reference number, language Id and attribute reference number.
AttributeAccessBean getAttribute()
This method returns the AttributeAccessBean associated with this attribute value.
java.lang.String getAttributeReferenceNumber()
This method provides access to the ATTRVALUE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getAttributeReferenceNumberInEJBType()
This method provides access to the ATTRVALUE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
java.lang.Object getAttributeValue()
This method returns the attribute value.
java.lang.String getAttributeValueReferenceNumber()
This method provides access to the ATTRVALUE.ATTRVALUE_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getAttributeValueReferenceNumberInEJBType()
This method provides access to the ATTRVALUE.ATTRVALUE_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getCatalogEntryReferenceNumber()
This method provides access to the ATTRVALUE.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getCatalogEntryReferenceNumberInEJBType()
This method provides access to the ATTRVALUE.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getField1()
This method provides access to the ATTRVALUE.FIELD1 column of DB2 type INTEGER.
java.lang.Integer getField1InEJBType()
This method provides access to the ATTRVALUE.FIELD1 column of DB2 type INTEGER.
java.lang.String getField2()
This method provides access to the ATTRVALUE.FIELD2 column of DB2 type VARCHAR(254).
java.lang.String getField3()
This method provides access to the ATTRVALUE.FIELD3 column of DB2 type VARCHAR(254).
java.lang.String getImage1()
This method provides access to the ATTRVALUE.IMAGE1 column of DB2 type VARCHAR(254).
java.lang.String getImage2()
This method provides access to the ATTRVALUE.IMAGE2 column of DB2 type VARCHAR(254).
java.lang.String getLanguage_id()
This method provides access to the ATTRVALUE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getLanguage_idInEJBType()
This method provides access to the ATTRVALUE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Double getMaxSequenceForAttributeAndLanguage(java.lang.Long argAttributeId, java.lang.Integer argLanguageId)
This method returns the maximum attribute value sequence number with the given Attribute reference number and language Id.
java.lang.Double getMaxSequenceForAttributeAndLanguageAndCatEntry(java.lang.Long argAttributeId, java.lang.Integer argLanguageId, java.lang.Long argCatEntryId)
This method returns the maximum attribute value sequence number with the given Attribute reference number, language Id and CatalogEntry reference number.
java.lang.String getName()
This method provides access to the ATTRVALUE.NAME column of DB2 type VARCHAR(254).
java.lang.String getOid()
This method provides access to the ATTRVALUE.OID column of DB2 type VARCHAR(64).
java.lang.String getOperatorId()
This method provides access to the ATTRVALUE.OPERATOR_ID column of DB2 type INTEGER.
java.lang.Integer getOperatorIdInEJBType()
This method provides access to the ATTRVALUE.OPERATOR_ID column of DB2 type INTEGER.
java.lang.String getSequenceNumber()
This method provides access to the ATTRVALUE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
java.lang.Double getSequenceNumberInEJBType()
This method provides access to the ATTRVALUE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
java.lang.String getType()
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAttributeReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setAttributeReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setAttributeValue(java.lang.Object arg1)
This method provides access to the attribute value.
void setAttributeValueReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setAttributeValueReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setCatalogEntryReferenceNumber(java.lang.Long newValue)
This method accesses a non-CMP field
void setCatalogEntryReferenceNumber(java.lang.String newValue)
This method accesses a non-CMP field
void setField1(java.lang.Integer newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setField2(java.lang.String newValue)
This method accesses a non-CMP field
void setField3(java.lang.String newValue)
This method accesses a non-CMP field
void setImage1(java.lang.String newValue)
This method accesses a non-CMP field
void setImage2(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_attributeValueReferenceNumber(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 setLanguage_id(java.lang.Integer newValue)
This method accesses a non-CMP field
void setLanguage_id(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 setOid(java.lang.String newValue)
This method accesses a non-CMP field
void setOperatorId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setOperatorId(java.lang.String newValue)
This method accesses a non-CMP field
void setSequenceNumber(java.lang.Double newValue)
This method accesses a non-CMP field
void setSequenceNumber(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

AttributeValueAccessBean

public AttributeValueAccessBean()
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.AttributeValue com.ibm.commerce.catalog.objimpl.AttributeValueHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.AttributeValueKey) 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_attributeValueReferenceNumber( java.lang.Long )

AttributeValueAccessBean

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

AttributeValueAccessBean

public AttributeValueAccessBean(java.lang.Integer language_id,
                                java.lang.Long attribute_id,
                                java.lang.Long catentry_id)
                         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

Parameters:
language_id - The language id of the attribute value. Integer
attribute_id - The reference number of the Attribute associated with this attribute value. Long
catentry_id - The reference number of the catalog entry that this attribute value describes. Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeValueAccessBean

public AttributeValueAccessBean(java.lang.Integer language_id,
                                java.lang.Long attribute_id,
                                java.lang.Long catentry_id,
                                java.lang.Double sequence_number)
                         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

Parameters:
language_id - The language id of the attribute value. Integer
attribute_id - The reference number of the Attribute associated with this attribute value. Long
catentry_id - The reference number of the catalog entry that this attribute value describes. Long
sequence_number - The sequence number of this attribute value. Double
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeValueAccessBean

public AttributeValueAccessBean(java.lang.Integer language_id,
                                java.lang.Long attribute_id,
                                java.lang.Long catentry_id,
                                java.lang.Double sequence_number,
                                java.lang.String aName)
                         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

Parameters:
language_id - The language id of the attribute value. Integer
attribute_id - The reference number of the Attribute associated with this attribute value. Long
catentry_id - The reference number of the catalog entry that this attribute value describes. Long
sequence_number - The sequence number of this attribute value. Double
aName - The name given to this Attribute Value. String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeValueAccessBean

public AttributeValueAccessBean(java.lang.Long argAttributeValueReferenfceNumber,
                                java.lang.Integer language_id,
                                java.lang.Long attribute_id,
                                java.lang.Long catentry_id)
                         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

Parameters:
argAttributeValueReferenfceNumber - The reference number of this attribute value. Long
language_id - The language id of the attribute value. Integer
attribute_id - The reference number of the Attribute associated with this attribute value. Long
catentry_id - The reference number of the catalog entry that this attribute value describes. Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AttributeValueAccessBean

public AttributeValueAccessBean(java.lang.Long argAttributeValueReferenfceNumber,
                                java.lang.Integer language_id,
                                java.lang.Long attribute_id,
                                java.lang.Long catentry_id,
                                java.lang.Double sequence_number)
                         throws javax.naming.NamingException,
                                javax.ejb.CreateException,
                                java.rmi.RemoteException,
                                javax.ejb.FinderException
Parameters:
argAttributeValueReferenfceNumber - java.lang.Long
language_id - java.lang.Integer
attribute_id - java.lang.Long
catentry_id - java.lang.Long
sequence_number - java.lang.Double
Throws:
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
java.lang.String - The exception description.
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByAttributeIdAndLanguageAndCatEntryIdAndName

public AttributeValueAccessBean findByAttributeIdAndLanguageAndCatEntryIdAndName(java.lang.Long aAttributeId,
                                                                                 java.lang.Integer aLanguageId,
                                                                                 java.lang.Long aCatEntryId,
                                                                                 java.lang.String argName)
                                                                          throws java.rmi.RemoteException,
                                                                                 javax.ejb.FinderException,
                                                                                 javax.naming.NamingException

This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber, LanguageId, CatalogEntryId and AttributeValueName.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.ATTRIBUTE_ID = aAttributeId and ATTRVALUE.LANGUAGE_ID = aLanguageId and ATTRVALUE.CATENTRY_ID = aCatEntryId and ATTRVALUE.NAME = argName

Parameters:
aAttributeId - The attribute reference number.
aLanguageId - The language id.
aCatEntryId - The catalog entry reference number.
argName - The name of the attribute value.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatalogEntryLanguageAndName

public AttributeValueAccessBean findByCatalogEntryLanguageAndName(java.lang.Long argCatEntryId,
                                                                  java.lang.Integer argLanguageId,
                                                                  java.lang.String argName)
                                                           throws java.rmi.RemoteException,
                                                                  javax.ejb.FinderException,
                                                                  javax.naming.NamingException

This method returns an AttributeValueAccessBean with the given CatalogEntry reference number, language Id and name.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.CATENTRY_ID = argCatEntryId AND ATTRVALUE.LANGUAGE_ID = argLanguageId and ATTRVALUE.NAME = argName

Parameters:
argCatEntryId - The CatalogEntry reference number.
argLanguageId - The language Id.
argName - The name of the attribute value.
Returns:
com.ibm.commerce.catalog.objects.AttributeValueAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByAttribute

public java.util.Enumeration findByAttribute(java.lang.Long attributeReferenceId,
                                             java.lang.Integer language_id)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber and LanguageId.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.ATTRIBUTE_ID = attributeReferenceId AND ATTRVALUE.LANGUAGE_ID = attributeReferenceId

Parameters:
attributeReferenceId - The attribute reference number.
language_id - The language id.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByAttributeIdAndLanguageIdAndCatEntryId

public java.util.Enumeration findByAttributeIdAndLanguageIdAndCatEntryId(java.lang.Long aAttributeId,
                                                                         java.lang.Integer aLanguageId,
                                                                         java.lang.Long aCatEntryId)
                                                                  throws java.rmi.RemoteException,
                                                                         javax.ejb.FinderException,
                                                                         javax.naming.NamingException

This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber, LanguageId, and CatalogEntryId.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.ATTRIBUTE_ID = aAttributeId and ATTRVALUE.LANGUAGE_ID = aLanguageId and ATTRVALUE.CATENTRY_ID = aCatEntryId

Parameters:
aAttributeId - The attribute reference number.
aLanguageId - The language id.
aCatEntryId - The catalog entry reference number.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByAttributeIdLanguageAndName

public java.util.Enumeration findByAttributeIdLanguageAndName(java.lang.Long aAttributeId,
                                                              java.lang.Integer aLanguageId,
                                                              java.lang.String aName)
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber, LanguageId and AttributeValueName.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.ATTRIBUTE_ID = aAttributeId and ATTRVALUE.LANGUAGE_ID = aLanguageId and ATTRVALUE.NAME = aName

Parameters:
aAttributeId - The attribute reference number.
aLanguageId - The language id.
aName - The name of the attribute value.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByAttributeIdLanguageAndSequence

public java.util.Enumeration findByAttributeIdLanguageAndSequence(java.lang.Long aAttributeId,
                                                                  java.lang.Integer aLanguageId,
                                                                  java.lang.Double sequence)
                                                           throws java.rmi.RemoteException,
                                                                  javax.ejb.FinderException,
                                                                  javax.naming.NamingException

This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber, LanguageId and SequenceNumber.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.ATTRIBUTE_ID = aAttributeId and ATTRVALUE.LANGUAGE_ID = aLanguageId and ATTRVALUE.SEQUENCE = sequence

Parameters:
aAttributeId - The attribute reference number.
aLanguageId - The language id.
sequence - The sequence number of the attribute value.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByAttributeIdWithDefaultCatalogEntry

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

This method returns an Enumeration of AttributeValueAccessBean with the given AttributeReferenceNumber of a Default CatalogEntry.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.ATTRIBUTE_ID = aAttributeId and ATTRVALUE.CATENTRY_ID = 0

Parameters:
aAttributeId - The attribute reference number.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByAttributeValueId

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

This method returns an Enumeration of AttributeValueAccessBean with the given attribute value reference number.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.ATTRVALUE_ID = aAttributeValueId

Parameters:
aAttributeValueId - The reference number of an attribute value.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByAttributeValueIdWithDefaultCatalogEntry

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

This method returns an Enumeration of AttributeValueAccessBean with the given attribute value reference number of a default catalog entry.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.ATTRVALUE_ID = aAttributeValueId AND ATTRVALUE.CATENTRY_ID = 0

Parameters:
aAttributeValueId - The reference number of an attribute value.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatEntryIdLanguageIdAndAttributeId

public java.util.Enumeration findByCatEntryIdLanguageIdAndAttributeId(java.lang.Long argCatEntryId,
                                                                      java.lang.Integer argLanguageId,
                                                                      java.lang.Long argAttributeId)
                                                               throws java.rmi.RemoteException,
                                                                      javax.ejb.FinderException,
                                                                      javax.naming.NamingException

This method returns an Enumeration of AttributeValueAccessBean with the given CatalogEntry reference number, language Id and attribute reference number.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.CATENTRY_ID = argCatEntryId AND ATTRVALUE.LANGUAGE_ID = argLanguageId and ATTRVALUE.ATTRIBUTE_ID = argAttributeId

Parameters:
argCatEntryId - The CatalogEntry reference number.
argLanguageId - The language Id.
argAttributeId - The attribute reference number.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatalogEntry

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

This method returns an Enumeration of AttributeValueAccessBean with the given CatalogEntry reference number.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.CATENTRY_ID = catalogEntryReferenceNumber

Parameters:
catalogEntryReferenceNumber - The Catalog Entry reference number
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatalogEntryAndLanguage

public java.util.Enumeration findByCatalogEntryAndLanguage(java.lang.Long argCatEntryId,
                                                           java.lang.Integer argLanguageId)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

This method returns an Enumeration of AttributeValueAccessBean with the given CatalogEntry reference number and language Id.

SQL:
SELECT * FROM ATTRVALUE WHERE ATTRVALUE.CATENTRY_ID = argCatEntryId AND ATTRVALUE.LANGUAGE_ID = argLanguageId

Parameters:
argCatEntryId - The CatalogEntry reference number.
argLanguageId - The language Id.
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

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_attributeValueReferenceNumber

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

getOperatorId

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

This method provides access to the ATTRVALUE.OPERATOR_ID column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

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

getOperatorIdInEJBType

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

This method provides access to the ATTRVALUE.OPERATOR_ID column of DB2 type INTEGER.

The following is a description of this column:

Reserved for IBM internal use.

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

setOperatorId

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

setOperatorId

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

getSequenceNumber

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

This method provides access to the ATTRVALUE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

The following is a description of this column:

A sequence number that determines the display order of Attribute Values for a given Attribute.

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

getSequenceNumberInEJBType

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

This method provides access to the ATTRVALUE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

The following is a description of this column:

A sequence number that determines the display order of Attribute Values for a given Attribute.

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

setSequenceNumber

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

setSequenceNumber

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

getAttributeValueReferenceNumber

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

This method provides access to the ATTRVALUE.ATTRVALUE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The unique identifier for this attribute value.

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

getAttributeValueReferenceNumberInEJBType

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

This method provides access to the ATTRVALUE.ATTRVALUE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The unique identifier for this attribute value.

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

setAttributeValueReferenceNumber

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

setAttributeValueReferenceNumber

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

getCatalogEntryReferenceNumber

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

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

The following is a description of this column:

The unique identifier of the catalog entry ID that is assigned this attribute value.

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

getCatalogEntryReferenceNumberInEJBType

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

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

The following is a description of this column:

The unique identifier of the catalog entry ID that is assigned this attribute value.

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

setCatalogEntryReferenceNumber

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

setCatalogEntryReferenceNumber

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

getField3

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

This method provides access to the ATTRVALUE.FIELD3 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

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

setField3

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

getField2

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

This method provides access to the ATTRVALUE.FIELD2 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

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

setField2

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

getField1

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

This method provides access to the ATTRVALUE.FIELD1 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

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

getField1InEJBType

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

This method provides access to the ATTRVALUE.FIELD1 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

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

setField1

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

setField1

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

getAttributeReferenceNumber

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

This method provides access to the ATTRVALUE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the attribute to which this attribute value applies.

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

getAttributeReferenceNumberInEJBType

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

This method provides access to the ATTRVALUE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the attribute to which this attribute value applies.

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

setAttributeReferenceNumber

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

setAttributeReferenceNumber

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

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 ATTRVALUE.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 AttributeValueAccessBeanData
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 AttributeValueAccessBeanData

getImage2

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

This method provides access to the ATTRVALUE.IMAGE2 column of DB2 type VARCHAR(254).

The following is a description of this column:

The path of the second image of this Attribute Value.

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

setImage2

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

getImage1

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

This method provides access to the ATTRVALUE.IMAGE1 column of DB2 type VARCHAR(254).

The following is a description of this column:

The path of the first image of this Attribute Value.

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

setImage1

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

getLanguage_id

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

This method provides access to the ATTRVALUE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Identifier of the language. For a list of language components, see the LANGUAGE table.

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

getLanguage_idInEJBType

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

This method provides access to the ATTRVALUE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The Identifier of the language. For a list of language components, see the LANGUAGE table.

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

setLanguage_id

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

setLanguage_id

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

getType

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

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 ATTRVALUE.NAME column of DB2 type VARCHAR(254).

The following is a description of this column:

The name given to this Attribute Value.

Specified by:
getName in interface AttributeValueAccessBeanData
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 AttributeValueAccessBeanData

getAttribute

public AttributeAccessBean getAttribute()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method returns the AttributeAccessBean associated with this attribute value.

Returns:
com.ibm.commerce.catalog.objects.AttributeAccessBean
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

getMaxSequenceForAttributeAndLanguage

public java.lang.Double getMaxSequenceForAttributeAndLanguage(java.lang.Long argAttributeId,
                                                              java.lang.Integer argLanguageId)
                                                       throws javax.naming.NamingException,
                                                              javax.ejb.CreateException,
                                                              java.sql.SQLException,
                                                              javax.ejb.FinderException,
                                                              java.rmi.RemoteException

This method returns the maximum attribute value sequence number with the given Attribute reference number and language Id.

Parameters:
argAttributeId - The attribute reference number.
argLanguageId - The language Id.
Returns:
java.lang.Double
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
javax.ejb.CreateException
java.sql.SQLException

getMaxSequenceForAttributeAndLanguageAndCatEntry

public java.lang.Double getMaxSequenceForAttributeAndLanguageAndCatEntry(java.lang.Long argAttributeId,
                                                                         java.lang.Integer argLanguageId,
                                                                         java.lang.Long argCatEntryId)
                                                                  throws javax.naming.NamingException,
                                                                         javax.ejb.CreateException,
                                                                         java.sql.SQLException,
                                                                         javax.ejb.FinderException,
                                                                         java.rmi.RemoteException

This method returns the maximum attribute value sequence number with the given Attribute reference number, language Id and CatalogEntry reference number.

Parameters:
argAttributeId - The attribute reference number.
argLanguageId - The language Id.
argCatEntryId - The CatalogEntry reference number.
Returns:
java.lang.Double
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
javax.ejb.CreateException
java.sql.SQLException

getAttributeValue

public java.lang.Object getAttributeValue()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method returns the attribute value. According to the type of this attribute value (INTEGER, FLOAT, or STRING), the method returns the value of the corresponding column (INTEGERVALUE,FLOATVALUE, or STRINGVALUE).

Returns:
java.lang.Object
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

setAttributeValue

public void setAttributeValue(java.lang.Object arg1)
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

This method provides access to the attribute value. According to the type of this attribute value (INTEGER, FLOAT, or STRING), the method updates the value of the corresponding column (INTEGERVALUE,FLOATVALUE, or STRINGVALUE).

Parameters:
arg1 - The attribute value
Returns:
void
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

Feedback