java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.AttributeAccessBean
This table holds product Attributes which are used for descriptive or SKU resolution purposes. This access bean corresponds to the database table 'ATTRIBUTE'.
Constructor Summary | |
AttributeAccessBean() Zero argument constructor used to initialize the access bean. |
|
AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type, java.lang.Double sequence_number) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Integer aLanguage_id, java.lang.String aAttributeType, java.lang.Double aSequenceNumber, java.lang.Long aCatEntry_id, java.lang.String aName) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(javax.ejb.EJBObject o) constructor |
|
AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String attribute_type) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String attribute_type, java.lang.Double sequence_number) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Long aCatEntry_id, java.lang.Integer aLanguage_id, java.lang.String aName, java.lang.String aAttributeType) Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Long aAttributeReferenceNumber, java.lang.String aAttributeType, java.lang.Integer aLanguage_id, java.lang.Long aCatEntry_id, java.lang.String aName) 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). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByAttributeId(java.lang.Long attributeId) Finds the attribute with the attribute reference number. |
java.util.Enumeration | findByCatalogEntryId(java.lang.Long catalogEntryId) Finds the attribute with the Catalog Entry reference number. |
java.util.Enumeration | findByCatEntryLanguageAndSequence(java.lang.Long catalogEntryId, java.lang.Integer languageId, java.lang.Double sequence) Finds the attribute with the Catalog Entry reference number, language Id, and sequence number. |
java.util.Enumeration | findByCatEntryLanguageAndUsage(java.lang.Long catalogEntryId, java.lang.Integer languageId, java.lang.String usage) Finds the attribute with the Catalog Entry reference number, language Id, and usage. |
AttributeAccessBean | findByNameAndCatalogEntryAndLanguage(java.lang.String aName, java.lang.Long aCatEntry_id, java.lang.Integer aLanguage_id) Finds the attribute with the aName, Catalog Entry reference number, and language Id. |
java.util.Enumeration | findByProduct(java.lang.Long productReferenceNumber, java.lang.Integer language_id) Finds the attribute with the product. |
java.lang.String | getAttributeReferenceNumber() This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getAttributeReferenceNumberInEJBType() This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getAttributeType() This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL. |
AttributeValueAccessBean[] | getAttributeValues() Gets the list of values defined for this attribute. |
java.lang.String | getCatalogEntryReferenceNumber() This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT. |
java.lang.Long | getCatalogEntryReferenceNumberInEJBType() This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT. |
java.lang.String | getDescription() This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getDescription2() This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254). |
java.lang.Object[] | getDistinctAttributeValues() Gets the list of distinct attribute values. |
java.lang.String | getField1() This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254). |
java.lang.String | getGroupName() This method accesses a non-CMP field |
java.lang.String | getLanguage_id() This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getLanguage_idInEJBType() This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Double | getMaxSequenceForCatEntryAndLanguage(java.lang.Long argCatEntryId, java.lang.Integer argLanguageId) This method returns the maximum attribute sequence number with the given Catalog Entry reference number and language Id. |
java.lang.String | getName() This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254). |
java.lang.String | getNoteInfo() This method accesses a non-CMP field |
java.lang.String | getOID() This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64). |
java.lang.String | getSequenceNumber() This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.Double | getSequenceNumberInEJBType() This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL DEFAULT 0. |
java.lang.String | getUsage() This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHAR(1) DEFAULT '1'. |
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 | setAttributeType(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 | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setDescription2(java.lang.String newValue) This method accesses a non-CMP field |
void | setField1(java.lang.String newValue) This method accesses a non-CMP field |
void | setGroupName(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_attributeReferenceNumber(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 | setNoteInfo(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 | 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 |
void | setUsage(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 |
public AttributeAccessBean()
public AttributeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type) 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
public AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type, 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
public AttributeAccessBean(java.lang.Integer aLanguage_id, java.lang.String aAttributeType, java.lang.Double aSequenceNumber, java.lang.Long aCatEntry_id, 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
public AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String attribute_type) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
public AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String attribute_type, java.lang.Double sequence_number) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
public AttributeAccessBean(java.lang.Long aCatEntry_id, java.lang.Integer aLanguage_id, java.lang.String aName, java.lang.String aAttributeType) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
public AttributeAccessBean(java.lang.Long aAttributeReferenceNumber, java.lang.String aAttributeType, java.lang.Integer aLanguage_id, java.lang.Long aCatEntry_id, java.lang.String aName) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Detail |
public AttributeAccessBean findByNameAndCatalogEntryAndLanguage(java.lang.String aName, java.lang.Long aCatEntry_id, java.lang.Integer aLanguage_id) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the aName, Catalog Entry reference number, and language Id.
SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.NAME = aName and ATTRIBUTE.CATENTRY_ID = aCatEntry_id and ATTRIBUTE.Language_id = aLanguage_id
public java.util.Enumeration findByAttributeId(java.lang.Long attributeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the attribute reference number.
SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.ATTRIBUTE_ID = attributeId
public java.util.Enumeration findByCatEntryLanguageAndSequence(java.lang.Long catalogEntryId, java.lang.Integer languageId, java.lang.Double sequence) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the Catalog Entry reference number, language Id, and sequence number.
SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.CATENTRY_ID = catalogEntryId and ATTRIBUTE.Language_id = languageId and ATTRIBUTE.SEQUENCE = sequence
public java.util.Enumeration findByCatEntryLanguageAndUsage(java.lang.Long catalogEntryId, java.lang.Integer languageId, java.lang.String usage) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the Catalog Entry reference number, language Id, and usage.
SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.CATENTRY_ID = catalogEntryId and ATTRIBUTE.Language_id = languageId and ATTRIBUTE.USAGE = usage ORDER BY ATTRIBUTE.SEQUENCE
public java.util.Enumeration findByCatalogEntryId(java.lang.Long catalogEntryId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the Catalog Entry reference number.
SQL:
SELECT * FROM ATTRIBUTE WHERE ATTRIBUTE.CATENTRY_ID = catalogEntryId
public java.util.Enumeration findByProduct(java.lang.Long productReferenceNumber, java.lang.Integer language_id) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the product.
SQL:
SELECT DESCRIPTION2, DESCRIPTION, SEQUENCE, ATTRIBUTE_ID, CATENTRY_ID, LANGUAGE_ID, OID, FIELD1, NAME, ATTRTYPE_ID, USAGE FROM ATTRIBUTE WHERE CATENTRY_ID = productReferenceNumber AND LANGUAGE_ID = language_id
public void setInitKey_attributeReferenceNumber(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_language_id(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
The Attribute description.
public void setDescription(java.lang.String newValue)
public java.lang.String getDescription2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254).
The following is a description of this column:
An additional description field for this Attribute.
public void setDescription2(java.lang.String newValue)
public java.lang.String getOID() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64).
The following is a description of this column:
Reserved for IBM internal use.
public void setOID(java.lang.String newValue)
public java.lang.String getSequenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.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 Attributes for a given product.
public java.lang.Double getSequenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.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 Attributes for a given product.
public void setSequenceNumber(java.lang.String newValue)
public void setSequenceNumber(java.lang.Double newValue)
public java.lang.String getCatalogEntryReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT.
The following is a description of this column:
The reference number of the Product to which this Attribute belongs.
public java.lang.Long getCatalogEntryReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT.
The following is a description of this column:
The reference number of the Product to which this Attribute belongs.
public void setCatalogEntryReferenceNumber(java.lang.String newValue)
public void setCatalogEntryReferenceNumber(java.lang.Long newValue)
public java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254).
The following is a description of this column:
Customizable.
public void setField1(java.lang.String newValue)
public java.lang.String getAttributeReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The internal reference number of the Attribute.
public java.lang.Long getAttributeReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The internal reference number of the Attribute.
public void setAttributeReferenceNumber(java.lang.String newValue)
public void setAttributeReferenceNumber(java.lang.Long newValue)
public java.lang.String getUsage() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHAR(1) DEFAULT '1'.
The following is a description of this column:
A code that represents the purpose of the Attribute. NULL or &quo
public void setUsage(java.lang.String newValue)
public java.lang.String getAttributeType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The type of the corresponding Attribute value. Foreign key to the ATTRTYPE table.
public void setAttributeType(java.lang.String newValue)
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 ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language to which this Attribute pertains to For a list of language components, see the LANGUAGE table.
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 ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language to which this Attribute pertains to For a list of language components, see the LANGUAGE table.
public void setLanguage_id(java.lang.String newValue)
public void setLanguage_id(java.lang.Integer newValue)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254).
The following is a description of this column:
The name given to this Attribute.
public void setName(java.lang.String newValue)
public AttributeValueAccessBean[] getAttributeValues() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the list of values defined for this attribute.
public java.lang.Double getMaxSequenceForCatEntryAndLanguage(java.lang.Long argCatEntryId, 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 sequence number with the given Catalog Entry reference number and language Id.
public java.lang.Object[] getDistinctAttributeValues() throws javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the list of distinct attribute values.
public java.lang.String getNoteInfo() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setNoteInfo(java.lang.String newValue)
public java.lang.String getGroupName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setGroupName(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.