java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.user.objects.AddressBookAccessBean
This table contains information about an address book. An address book is a container for addresses owned by a member. A member can only have one address book. This access bean corresponds to the database table 'ADDRBOOK'.
Constructor Summary | |
AddressBookAccessBean() Zero argument constructor used to initialize the access bean. |
|
AddressBookAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
AddressBookAccessBean | findByMemberId(java.lang.Long aMemberId) Find by member id. |
java.lang.String | getAddressBookId() This method provides access to the ADDRBOOK.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getAddressBookIdInEJBType() This method provides access to the ADDRBOOK.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getDescription() This method provides access to the ADDRBOOK.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getDisplayName() This method provides access to the ADDRBOOK.DISPLAYNAME column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.String | getMemberId() This method provides access to the ADDRBOOK.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the ADDRBOOK.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getType() This method provides access to the ADDRBOOK.TYPE column of DB2 type CHAR(1). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setDisplayName(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_AddressBookId(java.lang.String newValue) Set the primary key for this object |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setType(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 AddressBookAccessBean()
public AddressBookAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public AddressBookAccessBean findByMemberId(java.lang.Long aMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Find by member id.
The SQL is "SELECT * FROM ADDRBOOK T1 WHERE(T1.MEMBER_ID = ?)"
public void setInitKey_AddressBookId(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 ADDRBOOK.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
A description of the address book.
public void setDescription(java.lang.String newValue)
public java.lang.String getAddressBookId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ADDRBOOK.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Unique address book reference number, internally generated. This is a primary key.
public java.lang.Long getAddressBookIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ADDRBOOK.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Unique address book reference number, internally generated. This is a primary key.
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ADDRBOOK.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to the MEMBER table. The member who owns this address book. Together with ADDRBOOK_ID, forms a unique key.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ADDRBOOK.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to the MEMBER table. The member who owns this address book. Together with ADDRBOOK_ID, forms a unique key.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ADDRBOOK.TYPE column of DB2 type CHAR(1).
The following is a description of this column:
The type of address book. Valid values are P (primary address book) or S (secondary address book). Only one (primary) address book per member is supported.
public void setType(java.lang.String newValue)
public java.lang.String getDisplayName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ADDRBOOK.DISPLAYNAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
A short name used to refer to the address book. This name is useful when listing an address book on a single line. Currently, there is no user interface and commands to manage the address book, so a default value is generated for the display name.
public void setDisplayName(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.