|
||||||||
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.user.objects.MemberAttributeAccessBean
This bean provides access to the MBRATTR table.
The following is a description of this table:
This table contains an attribute definition dictionary for members.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
MemberAttributeAccessBean()
Default constructor. |
|
MemberAttributeAccessBean(javax.ejb.EJBObject Object)
Creates an access bean for the specified EJB |
|
MemberAttributeAccessBean(java.lang.String aAttributeTypeId,
java.lang.String aName)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void |
addAttributeValue(java.lang.String aMemberId,
java.lang.String aStoreEntityId,
java.lang.String aAttributeValue)
Add a new attribute value to the member. |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByAttributeName(java.lang.String aAttributeName)
The SQL is "SELECT * FROM MBRATTR T1 WHERE (T1.NAME = ?)" |
java.lang.String |
getAttributeTypeId()
This method provides access to the MBRATTR.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL. |
java.lang.String |
getDescription()
This method provides access to the MBRATTR.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getMemberAttributeId()
This method provides access to the MBRATTR.MBRATTR_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getMemberAttributeIdInEJBType()
This method provides access to the MBRATTR.MBRATTR_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getName()
This method provides access to the MBRATTR.NAME column of DB2 type VARCHAR(254) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
boolean |
removeAttributeValue(java.lang.String aMemberId,
java.lang.String aStoreEntityId,
java.lang.String aAttributeValue)
Remove the attribute value of the specified member. |
boolean |
replaceAttributeValue(java.lang.String aMemerId,
java.lang.String aStoreEntityId,
java.lang.String aOldAttributeVAlue,
java.lang.String aNewAttributeValue)
Replace the old attribute value with the new one for the member. |
void |
setAttributeTypeId(java.lang.String aAttributeTypeId)
This method provides access to the MBRATTR.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL. |
void |
setDescription(java.lang.String aDescription)
This method provides access to the MBRATTR.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_memberAttributeId(java.lang.String aInitKey_memberAttributeId)
Set the primary key for this object |
void |
setName(java.lang.String aName)
This method provides access to the MBRATTR.NAME column of DB2 type VARCHAR(254) NOT 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 MemberAttributeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public MemberAttributeAccessBean(javax.ejb.EJBObject Object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic MemberAttributeAccessBean(java.lang.String aAttributeTypeId, 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
aAttributeTypeId
- java.lang.StringaName
- java.lang.Stringjavax.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 addAttributeValue(java.lang.String aMemberId, java.lang.String aStoreEntityId, java.lang.String aAttributeValue) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Add a new attribute value to the member.
aMemberId
- java.lang.StringaStoreEntityId
- java.lang.StringaAttributeValue
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 findByAttributeName(java.lang.String aAttributeName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRATTR T1 WHERE (T1.NAME = ?)"
aAttributeName
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getAttributeTypeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRATTR.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
Type of the member attribute. Foreign key to the ATTRTYPE table.
getAttributeTypeId
in interface MemberAttributeAccessBeanData
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 getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRATTR.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Description of the member attribute.
getDescription
in interface MemberAttributeAccessBeanData
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 getMemberAttributeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRATTR.MBRATTR_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key of this MBRATTR table.
getMemberAttributeId
in interface MemberAttributeAccessBeanData
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 getMemberAttributeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MBRATTR.MBRATTR_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key of this MBRATTR table.
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 MBRATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
Name of the member attribute.
getName
in interface MemberAttributeAccessBeanData
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 boolean removeAttributeValue(java.lang.String aMemberId, java.lang.String aStoreEntityId, java.lang.String aAttributeValue) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Remove the attribute value of the specified member.
aMemberId
- java.lang.StringaStoreEntityId
- java.lang.StringaAttributeValue
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic boolean replaceAttributeValue(java.lang.String aMemerId, java.lang.String aStoreEntityId, java.lang.String aOldAttributeVAlue, java.lang.String aNewAttributeValue) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Replace the old attribute value with the new one for the member.
aMemerId
- java.lang.StringaStoreEntityId
- java.lang.StringaOldAttributeVAlue
- java.lang.StringaNewAttributeValue
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setAttributeTypeId(java.lang.String aAttributeTypeId)
This method provides access to the MBRATTR.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
Type of the member attribute. Foreign key to the ATTRTYPE table.
setAttributeTypeId
in interface MemberAttributeAccessBeanData
aAttributeTypeId
- java.lang.Stringpublic void setDescription(java.lang.String aDescription)
This method provides access to the MBRATTR.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Description of the member attribute.
setDescription
in interface MemberAttributeAccessBeanData
aDescription
- java.lang.Stringpublic void setInitKey_memberAttributeId(java.lang.String aInitKey_memberAttributeId)
Set the primary key for this object
aInitKey_memberAttributeId
- java.lang.Stringpublic void setName(java.lang.String aName)
This method provides access to the MBRATTR.NAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
Name of the member attribute.
setName
in interface MemberAttributeAccessBeanData
aName
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |