|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.utf.objects.PAttributeAccessBean
This bean provides access to the PATTRIBUTE table.
The following is a description of this table:
This is the personalization Attribute supported by the site.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
PAttributeAccessBean()
Default constructor. |
|
PAttributeAccessBean(javax.ejb.EJBObject aEJBObject)
Creates an access bean for the specified EJB. |
|
PAttributeAccessBean(java.lang.String aPAttributeTypeId,
java.lang.String aName)
Creates an access bean with the specified attributes. |
|
PAttributeAccessBean(java.lang.String aPAttributeTypeId,
java.lang.String aName,
java.lang.Integer aEncryptFlag)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findAll(com.ibm.commerce.utf.helper.SortingAttribute aSortingAttribute)
Retrieves all PAttributeAccessBeans, ordered by the specified SortingAttibute. |
java.util.Enumeration |
findAllAttributes()
Retrieves all PAttributeAccessBeans. |
java.util.Enumeration |
findByAttributeType(java.lang.String aPAttributeTypeId)
Retrieves the PAttributeAccessBeans that match the specified PAttributeType. |
java.util.Enumeration |
findByName(java.lang.String aName)
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) NULL. |
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 aLanguageId)
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. |
java.lang.Integer |
getEncryptFlagInEJBType()
This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL. |
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 NULL. |
java.lang.Integer |
getSequenceInEJBType()
This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAccessBeanName(java.lang.String aAccessBeanName)
This method provides access to the PATTRIBUTE.ACCESSBEANNAME column of DB2 type VARCHAR(254) NULL. |
void |
setAttrTypeId(java.lang.String aAttrTypeId)
This method provides access to the PATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL. |
void |
setEncryptFlag(java.lang.Integer aEncryptFlag)
This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL. |
void |
setEncryptFlag(java.lang.String aEncryptFlag)
This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_referenceNumber(java.lang.Long aInitKey_referenceNumber)
Set the primary key for this object |
void |
setName(java.lang.String aName)
This method provides access to the PATTRIBUTE.NAME column of DB2 type VARCHAR(254) NOT NULL. |
void |
setReferenceNumber(java.lang.Long aReferenceNumber)
This method provides access to the PATTRIBUTE.PATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
void |
setReferenceNumber(java.lang.String aReferenceNumber)
Reserved for IBM internal use. |
void |
setSequence(java.lang.Integer aSequence)
This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER NULL. |
void |
setSequence(java.lang.String aSequence)
This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PAttributeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public PAttributeAccessBean(javax.ejb.EJBObject aEJBObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB.
aEJBObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic PAttributeAccessBean(java.lang.String aPAttributeTypeId, java.lang.String aName) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
aPAttributeTypeId
- the PAttributeType IDaName
- the namejavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic PAttributeAccessBean(java.lang.String aPAttributeTypeId, java.lang.String aName, java.lang.Integer aEncryptFlag) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
aPAttributeTypeId
- the PAttributeType IDaName
- the nameaEncryptFlag
- the encrypt flagjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findAll(com.ibm.commerce.utf.helper.SortingAttribute aSortingAttribute) 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 ...
aSortingAttribute
- the SortingAttributejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
aName
- the namejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByAttributeType(java.lang.String aPAttributeTypeId) 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
aPAttributeTypeId
- the PAttributeType IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByName(java.lang.String aName) 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 = ?
aName
- the namejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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) NULL.
The following is a description of this column:
Name of the access bean to process this Attribute.
getAccessBeanName
in interface PAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String 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.
getAttrTypeId
in interface PAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic PAttributeDescAccessBean getDescription(java.lang.Integer aLanguageId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the PAttributeDescAccessBean of the specified Language.
aLanguageId
- the Language IDjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic java.lang.String 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.
The following is a description of this column:
Set to 1 if encryption is required for the personalized attribute value. Default is 0.
getEncryptFlag
in interface PAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer 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.
The following is a description of this column:
Set to 1 if encryption is required for the personalized attribute value. Default is 0.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String 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.
getName
in interface PAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String 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.
getReferenceNumber
in interface PAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String 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 NULL.
The following is a description of this column:
Reserved for IBM internal use.
getSequence
in interface PAttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer 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 NULL.
The following is a description of this column:
Reserved for IBM internal use.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setAccessBeanName(java.lang.String aAccessBeanName)
This method provides access to the PATTRIBUTE.ACCESSBEANNAME column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Name of the access bean to process this Attribute.
setAccessBeanName
in interface PAttributeAccessBeanData
aAccessBeanName
- java.lang.Stringpublic void setAttrTypeId(java.lang.String aAttrTypeId)
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.
setAttrTypeId
in interface PAttributeAccessBeanData
aAttrTypeId
- java.lang.Stringpublic void setEncryptFlag(java.lang.Integer aEncryptFlag)
This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Set to 1 if encryption is required for the personalized attribute value. Default is 0.
aEncryptFlag
- java.lang.Integerpublic void setEncryptFlag(java.lang.String aEncryptFlag)
This method provides access to the PATTRIBUTE.ENCRYPTFLAG column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Set to 1 if encryption is required for the personalized attribute value. Default is 0.
setEncryptFlag
in interface PAttributeAccessBeanData
aEncryptFlag
- java.lang.Stringpublic void setInitKey_referenceNumber(java.lang.Long aInitKey_referenceNumber)
Set the primary key for this object
aInitKey_referenceNumber
- java.lang.Longpublic void setName(java.lang.String aName)
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.
setName
in interface PAttributeAccessBeanData
aName
- java.lang.Stringpublic void setReferenceNumber(java.lang.Long aReferenceNumber)
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.
aReferenceNumber
- java.lang.Longpublic void setReferenceNumber(java.lang.String aReferenceNumber)
Reserved for IBM internal use.
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.
setReferenceNumber
in interface PAttributeAccessBeanData
aReferenceNumber
- java.lang.Stringpublic void setSequence(java.lang.Integer aSequence)
This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER NULL.
The following is a description of this column:
Reserved for IBM internal use.
aSequence
- java.lang.Integerpublic void setSequence(java.lang.String aSequence)
This method provides access to the PATTRIBUTE.SEQUENCE column of DB2 type INTEGER NULL.
The following is a description of this column:
Reserved for IBM internal use.
setSequence
in interface PAttributeAccessBeanData
aSequence
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |