java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.utf.objects.PAttributeAccessBean
This is the personalization attribute supported by the site. This access bean corresponds to the database table 'PATTRIBUTE'.
Constructor Summary | |
PAttributeAccessBean() Zero argument constructor used to initialize the access bean. |
|
PAttributeAccessBean(javax.ejb.EJBObject o) constructor |
|
PAttributeAccessBean(java.lang.String argAttrTypeId, java.lang.String argName) Creates an access bean with the specified attributes. |
|
PAttributeAccessBean(java.lang.String argAttrTypeId, java.lang.String argName, java.lang.Integer argEncryptFlag) Creates an access bean with the specified attributes. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAll(com.ibm.commerce.utf.helper.SortingAttribute sort) Retrieves all PAttributeAccessBeans, ordered by the specified SortingAttibute. |
java.util.Enumeration | findAllAttributes() Retrieves all PAttributeAccessBeans. |
java.util.Enumeration | findByAttributeType(java.lang.String argAttrType) Retrieves the PAttributeAccessBeans that match the specified PAttributeType. |
java.util.Enumeration | findByName(java.lang.String argName) Retrieves the PAttributeAccessBeans that match the specified name. |
java.lang.String | getAccessBeanName() This method provides access to the PATTRIBUTE.ACCESSBEANNAME column of DB2 type VARCHAR(254). |
java.lang.String | getAttrTypeId() This method provides access to the PATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL. |
PAttributeDescAccessBean | getDescription(java.lang.Integer argLanguageId) Retrieves the PAttributeDescAccessBean of the specified Language. |
java.lang.String | getEncryptFlag() This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getEncryptFlagInEJBType() This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getName() This method provides access to the PATTRIBUTE.NAME column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.String | getReferenceNumber() This method provides access to the PATTRIBUTE.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getReferenceNumberInEJBType() This method provides access to the PATTRIBUTE.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getSequence() This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER. |
java.lang.Integer | getSequenceInEJBType() This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setAccessBeanName(java.lang.String newValue) This method accesses a non-CMP field |
void | setAttrTypeId(java.lang.String newValue) This method accesses a non-CMP field |
void | setEncryptFlag(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setEncryptFlag(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_referenceNumber(java.lang.Long newValue) Set the primary key for this object |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setReferenceNumber(java.lang.Long newValue) This method accesses a non-CMP field |
void | setReferenceNumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setSequence(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setSequence(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 PAttributeAccessBean()
public PAttributeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public PAttributeAccessBean(java.lang.String argAttrTypeId, java.lang.String argName) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
public PAttributeAccessBean(java.lang.String argAttrTypeId, java.lang.String argName, java.lang.Integer argEncryptFlag) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
Method Detail |
public java.util.Enumeration findAll(com.ibm.commerce.utf.helper.SortingAttribute sort) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all PAttributeAccessBeans, ordered by the specified SortingAttibute.
The SQL query used to fetch all the required row from the PATTRIBUTE table is: SELECT * FROM PATTRIBUTE T1 WHERE 1 = 1 ORDER BY ...
public java.util.Enumeration findAllAttributes() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all PAttributeAccessBeans.
The SQL query used to fetch all the required row from the PATTRIBUTE table is: SELECT * FROM PATTRIBUTE T1 WHERE 1 = 1 ORDER BY T1.NAME
public java.util.Enumeration findByAttributeType(java.lang.String argAttrType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the PAttributeAccessBeans that match the specified PAttributeType.
The SQL query used to fetch all the required row from the PATTRIBUTE table is: SELECT * FROM PATTRIBUTE T1 WHERE T1.ATTRTYPE_ID = ? ORDER BY T1.NAME
public java.util.Enumeration findByName(java.lang.String argName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the PAttributeAccessBeans that match the specified name.
The SQL query used to fetch all the required row from the PATTRIBUTE table is: SELECT * FROM PATTRIBUTE T1 WHERE T1.NAME = ?
public void setInitKey_referenceNumber(java.lang.Long 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 getAttrTypeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
Indicates the data type for this Attribute. For example, integer or string.
public void setAttrTypeId(java.lang.String newValue)
public java.lang.String getEncryptFlag() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Set to 1 if encryption is required for the personalized attribute value. Default is 0.
public java.lang.Integer getEncryptFlagInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Set to 1 if encryption is required for the personalized attribute value. Default is 0.
public void setEncryptFlag(java.lang.String newValue)
public void setEncryptFlag(java.lang.Integer newValue)
public java.lang.String getAccessBeanName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PATTRIBUTE.ACCESSBEANNAME column of DB2 type VARCHAR(254).
The following is a description of this column:
Name of the access bean to process this Attribute.
public void setAccessBeanName(java.lang.String newValue)
public java.lang.String getSequence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER.
The following is a description of this column:
Reserved for IBM internal use.
public java.lang.Integer getSequenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER.
The following is a description of this column:
Reserved for IBM internal use.
public void setSequence(java.lang.String newValue)
public void setSequence(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 PATTRIBUTE.NAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
A description of the Attribute. For example, length, width, color, or monogram.
public void setName(java.lang.String newValue)
public java.lang.String getReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PATTRIBUTE.PATTRIBUTE_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 getReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PATTRIBUTE.PATTRIBUTE_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 setReferenceNumber(java.lang.String newValue)
public void setReferenceNumber(java.lang.Long newValue)
public PAttributeDescAccessBean getDescription(java.lang.Integer argLanguageId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the PAttributeDescAccessBean of the specified Language.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.