java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.user.objects.MemberAttributeAccessBean
This table contains an attribute definition dictionary for members. This access bean corresponds to the database table 'MBRATTR'.
Constructor Summary | |
MemberAttributeAccessBean() Zero argument constructor used to initialize the access bean. |
|
MemberAttributeAccessBean(javax.ejb.EJBObject o) constructor |
|
MemberAttributeAccessBean(java.lang.String newAttributeTypeId, java.lang.String newName) Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void | addAttributeValue(java.lang.String astrMemberId, java.lang.String astrStoreEntityId, java.lang.String astrAttributeValue) Add a new attribute value to the member. |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByAttributeName(java.lang.String strAttributeName) 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). |
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. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
boolean | removeAttributeValue(java.lang.String astrMemberId, java.lang.String astrStoreEntityId, java.lang.String astrAttributeValue) Remove the attribute value of the specified member. |
boolean | replaceAttributeValue(java.lang.String astrMemerId, java.lang.String astrStoreEntityId, java.lang.String astrOldAttributeVAlue, java.lang.String astrNewAttributeValue) Replace the old attribute value with the new one for the member. |
void | setAttributeTypeId(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 | setInitKey_memberAttributeId(java.lang.String newValue) Set the primary key for this object |
void | setName(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 MemberAttributeAccessBean()
public MemberAttributeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public MemberAttributeAccessBean(java.lang.String newAttributeTypeId, java.lang.String newName) 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
Method Detail |
public java.util.Enumeration findByAttributeName(java.lang.String strAttributeName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The SQL is "SELECT * FROM MBRATTR T1 WHERE (T1.NAME = ?)"
public void setInitKey_memberAttributeId(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 MBRATTR.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
Description of the member attribute.
public void setDescription(java.lang.String newValue)
public 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.
public void setAttributeTypeId(java.lang.String newValue)
public 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.
public 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.
public 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.
public void setName(java.lang.String newValue)
public boolean removeAttributeValue(java.lang.String astrMemberId, java.lang.String astrStoreEntityId, java.lang.String astrAttributeValue) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Remove the attribute value of the specified member.
public boolean replaceAttributeValue(java.lang.String astrMemerId, java.lang.String astrStoreEntityId, java.lang.String astrOldAttributeVAlue, java.lang.String astrNewAttributeValue) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Replace the old attribute value with the new one for the member.
public void addAttributeValue(java.lang.String astrMemberId, java.lang.String astrStoreEntityId, java.lang.String astrAttributeValue) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Add a new attribute value to the member.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.