public class AttributeAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements AttributeAccessBeanData
Constructor and Description |
---|
AttributeAccessBean()
Zero argument constructor used to initialize the access bean.
|
AttributeAccessBean(javax.ejb.EJBObject o) |
AttributeAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData)
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
|
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(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
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
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() |
java.lang.Long | getAttributeReferenceNumberInEJBType() |
java.lang.String | getAttributeType() |
AttributeValueAccessBean[] | getAttributeValues()
Gets the list of values defined for this attribute.
|
AttributeValueAccessBean[] | getAttributeValues(java.lang.Integer anLanguageId)
Gets the list of values defined for this attribute in the given language
|
AttributeValueAccessBean[] | getAttributeValues(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
Gets the list of values defined for this attribute.
|
java.lang.String | getCatalogEntryReferenceNumber() |
java.lang.Long | getCatalogEntryReferenceNumberInEJBType() |
java.lang.String | getDescription() |
java.lang.String | getDescription2() |
java.lang.Object[] | getDistinctAttributeValues()
Gets the list of distinct attribute values.
|
java.lang.String | getField1() |
java.lang.String | getGroupName()
getGroupName
|
java.lang.String | getLanguage_id() |
java.lang.Integer | getLanguage_idInEJBType() |
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() |
java.lang.String | getNoteInfo()
getNoteInfo
|
java.lang.String | getOID() |
java.lang.String | getSequenceNumber() |
java.lang.Double | getSequenceNumberInEJBType() |
java.lang.String | getUsage() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setAttributeReferenceNumber(java.lang.Long newValue) |
void | setAttributeReferenceNumber(java.lang.String newValue) |
void | setAttributeType(java.lang.String newValue) |
void | setCatalogEntryReferenceNumber(java.lang.Long newValue) |
void | setCatalogEntryReferenceNumber(java.lang.String newValue) |
void | setDescription(java.lang.String newValue) |
void | setDescription2(java.lang.String newValue) |
void | setField1(java.lang.String newValue) |
void | setGroupName(java.lang.String newValue)
setGroupName
|
void | setInitKey_attributeReferenceNumber(java.lang.String newValue) |
void | setInitKey_language_id(java.lang.String newValue) |
void | setLanguage_id(java.lang.Integer newValue) |
void | setLanguage_id(java.lang.String newValue) |
void | setName(java.lang.String newValue) |
void | setNoteInfo(java.lang.String newValue)
setNoteInfo
|
void | setOID(java.lang.String newValue) |
void | setSequenceNumber(java.lang.Double newValue) |
void | setSequenceNumber(java.lang.String newValue) |
void | setUsage(java.lang.String newValue) |
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
public AttributeAccessBean(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the attribute according to the CatalogEntityCreationData.
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)
public void setInitKey_language_id(java.lang.String newValue)
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
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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
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
public java.lang.Double getSequenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getCatalogEntryReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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
public java.lang.Long getAttributeReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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
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
public java.lang.Integer getLanguage_idInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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)
public AttributeValueAccessBean[] getAttributeValues(java.lang.Integer anLanguageId, java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Gets the list of values defined for this attribute. If there are no values defined in the given language, the StoreId is used to determine the fallback language to use to retrieve the attribute values
public AttributeValueAccessBean[] getAttributeValues(java.lang.Integer anLanguageId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Gets the list of values defined for this attribute in the given language