|
||||||||
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.AddressBookAccessBean
This bean provides access to the ADDRBOOK table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
AddressBookAccessBean()
Default constructor. |
|
AddressBookAccessBean(com.ibm.commerce.user.objimpl.AddressBookInputData aAddressBookInputData)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AddressBookAccessBean(javax.ejb.EJBObject Object)
Creates an access bean for the specified EJB |
|
AddressBookAccessBean(java.lang.Long aMemberId)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
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()
A description of the address book. |
java.lang.String |
getDisplayName()
Display name is a short name used to refer to the address book. |
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()
The type of address book. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setDescription(java.lang.String aDescription)
Set the description of the address book. |
void |
setDisplayName(java.lang.String aDisplayName)
Set the short name used to refer to the address book. |
void |
setInitKey_AddressBookId(java.lang.String aInitKey_AddressBookId)
Set the primary key for this object |
void |
setMemberId(java.lang.Long aMemberId)
This method provides access to the ADDRBOOK.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String aMemberId)
This method provides access to the ADDRBOOK.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setType(java.lang.String aType)
Set the type of address book, such as P (primary address book) or S (secondary address book). |
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 AddressBookAccessBean()
Default constructor. Maps to findByPrimaryKey.
public AddressBookAccessBean(com.ibm.commerce.user.objimpl.AddressBookInputData aAddressBookInputData) 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
aAddressBookInputData
- com.ibm.commerce.user.objimpl.AddressBookInputDatajavax.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 AddressBookAccessBean(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 AddressBookAccessBean(java.lang.Long aMemberId) 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
aMemberId
- java.lang.Longjavax.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 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 = ?)"
aMemberId
- java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
- 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 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
- 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
A description of the address book.
getDescription
in interface AddressBookAccessBeanData
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 getDisplayName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Display name is a short name used to refer to the address book.
getDisplayName
in interface AddressBookAccessBeanData
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 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
- 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 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
- 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 getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
The type of address book. Valid values are P (primary address book) or S (secondary address book).
getType
in interface AddressBookAccessBeanData
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 setDescription(java.lang.String aDescription)
Set the description of the address book.
setDescription
in interface AddressBookAccessBeanData
aDescription
- java.lang.Stringpublic void setDisplayName(java.lang.String aDisplayName)
Set the short name used to refer to the address book.
setDisplayName
in interface AddressBookAccessBeanData
aDisplayName
- java.lang.Stringpublic void setInitKey_AddressBookId(java.lang.String aInitKey_AddressBookId)
Set the primary key for this object
aInitKey_AddressBookId
- java.lang.Stringpublic void setMemberId(java.lang.Long aMemberId)
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.
aMemberId
- java.lang.Longpublic void setMemberId(java.lang.String aMemberId)
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
aMemberId
- java.lang.Stringpublic void setType(java.lang.String aType)
Set the type of address book, such as P (primary address book) or S (secondary address book).
setType
in interface AddressBookAccessBeanData
aType
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |