java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
AddressBookAccessBean() constructor | |
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 arg0) 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 provides access to the ADDRBOOK.DESCRIPTION column of DB2 type VARCHAR(254). |
void |
setDisplayName(java.lang.String newValue) This method provides access to the ADDRBOOK.DISPLAYNAME column of DB2 type VARCHAR(254) NOT NULL. |
void |
setInitKey_AddressBookId(java.lang.String newValue) Set the primary key for this object |
void |
setMemberId(java.lang.Long newValue) This method provides access to the ADDRBOOK.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String newValue) This method provides access to the ADDRBOOK.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setType(java.lang.String newValue) This method provides access to the ADDRBOOK.TYPE column of DB2 type CHAR(1). |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public AddressBookAccessBean findByMemberId(java.lang.Long arg0) 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 = ?)"
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_AddressBookId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getDescription
in interface
AddressBookAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDescription(java.lang.String newValue)
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.
setDescription
in interface
AddressBookAccessBeanData
newValue
- java.lang.Stringpublic 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.
getAddressBookId
in interface
AddressBookAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getMemberId
in interface
AddressBookAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
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.
setMemberId
in interface
AddressBookAccessBeanData
newValue
- Stringpublic void setMemberId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getType
in interface
AddressBookAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setType(java.lang.String newValue)
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.
setType
in interface
AddressBookAccessBeanData
newValue
- java.lang.Stringpublic 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.
getDisplayName
in interface
AddressBookAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDisplayName(java.lang.String newValue)
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.
setDisplayName
in interface
AddressBookAccessBeanData
newValue
- java.lang.String