|
||||||||
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.negotiation.objects.ForumAccessBean
This bean provides access to the FORUM table.
The following is a description of this table:
This table contains a list of valid forums. Forums are used to exchange messages between administrators and customers.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
ForumAccessBean()
Zero argument constructor used to initialize the access bean. |
|
ForumAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
ForumAccessBean(java.lang.Long id,
java.lang.Long ownerid,
java.lang.String name,
java.lang.String type)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
ForumAccessBean |
findByOwnerAndName(java.lang.Long ownerId,
java.lang.String name)
Retrieves the forum, owned by the specified owner, with the specified name. |
ForumAccessBean |
findByOwnerAndSubjectType(java.lang.Long ownerId,
java.lang.String type)
Retrieves the forum, owned by the specified owner, with the specified type. |
java.lang.String |
getBannerURL()
This method provides access to the FORUM.BANNERURL column of DB2 type CHAR(254) NULL. |
java.lang.String |
getCreateTime()
This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getCreateTimeInEJBType()
This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getDescription()
This method provides access to the FORUM.DESCRIPTION column of DB2 type LONG NULL. |
java.lang.String |
getId()
This method provides access to the FORUM.FORUM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getIdInEJBType()
This method provides access to the FORUM.FORUM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getMemberGroupId()
This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getMemberGroupIdInEJBType()
This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT NULL. |
java.lang.String |
getName()
This method provides access to the FORUM.NAME column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getOwnerId()
This method provides access to the FORUM.OWNER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOwnerIdInEJBType()
This method provides access to the FORUM.OWNER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getStatus()
This method provides access to the FORUM.STATUS column of DB2 type CHAR(4) NULL. |
java.lang.String |
getSubjectType()
This method provides access to the FORUM.SUBJTYPE column of DB2 type CHAR(32) NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setBannerURL(java.lang.String aBannerURL1)
This method provides access to the FORUM.BANNERURL column of DB2 type CHAR(254) NULL. |
void |
setCreateTime(java.lang.String aCreateTime1)
This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP NULL. |
void |
setCreateTime(java.sql.Timestamp aCreateTime1)
This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP NULL. |
void |
setDescription(java.lang.String aDescription1)
This method provides access to the FORUM.DESCRIPTION column of DB2 type LONG NULL. |
void |
setId(java.lang.Long aId1)
This method provides access to the FORUM.FORUM_ID column of DB2 type BIGINT NOT NULL. |
void |
setId(java.lang.String aId1)
This method provides access to the FORUM.FORUM_ID column of DB2 type BIGINT NOT NULL. |
void |
setInitKey_id(java.lang.Long aInitKey_id1)
Set the primary key for this object |
void |
setMemberGroupId(java.lang.Long aMemberGroupId1)
This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT NULL. |
void |
setMemberGroupId(java.lang.String aMemberGroupId1)
This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT NULL. |
void |
setName(java.lang.String aName1)
This method provides access to the FORUM.NAME column of DB2 type VARCHAR(254) NULL. |
void |
setOwnerId(java.lang.Long aOwnerId1)
This method provides access to the FORUM.OWNER_ID column of DB2 type BIGINT NOT NULL. |
void |
setOwnerId(java.lang.String aOwnerId1)
This method provides access to the FORUM.OWNER_ID column of DB2 type BIGINT NOT NULL. |
void |
setStatus(java.lang.String aStatus1)
This method provides access to the FORUM.STATUS column of DB2 type CHAR(4) NULL. |
void |
setSubjectType(java.lang.String aSubjectType1)
This method provides access to the FORUM.SUBJTYPE column of DB2 type CHAR(32) 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 ForumAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method:
public abstract com.ibm.commerce.negotiation.objects.Forum com.ibm.commerce.negotiation.objimpl.ForumHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.ForumKey) throws java.rmi.RemoteException,javax.ejb.FinderException
The home interface method properties need to be set by calling the following setter methods before calling any business methods:
public ForumAccessBean(javax.ejb.EJBObject object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exception.public ForumAccessBean(java.lang.Long id, java.lang.Long ownerid, java.lang.String name, java.lang.String type) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
id
- The forum id.ownerid
- The owner of the forum.name
- The name of the forum.type
- The type of subjects to be discussed in the forum.Method 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 ForumAccessBean findByOwnerAndName(java.lang.Long ownerId, java.lang.String name) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the forum, owned by the specified owner, with the specified name.
The SQL query used to fetch all the required rows from the FORUM table is:
SELECT * FROM FORUM T1 WHERE T1.OWNER_ID=? AND T1.NAME=?
ownerId
- The id of the owner of the forum.name
- The name of the forum.public ForumAccessBean findByOwnerAndSubjectType(java.lang.Long ownerId, java.lang.String type) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the forum, owned by the specified owner, with the specified type.
The SQL query used to fetch all the required rows from the FORUM table is:
SELECT * FROM FORUM T1 WHERE T1.OWNER_ID=? AND T1.SUBJTYPE=?
ownerId
- The id of the owner of the forum.type
- The type of subjects to be discussed in the forum. .public java.lang.String getBannerURL() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.BANNERURL column of DB2 type CHAR(254) NULL.
The following is a description of this column:
The URL used as a banner for the forum.
getBannerURL
in interface ForumAccessBeanData
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 getCreateTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
.The date and time the forum was created.
getCreateTime
in interface ForumAccessBeanData
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.sql.Timestamp getCreateTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
.The date and time the forum was created.
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 FORUM.DESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
A description of the forum.
getDescription
in interface ForumAccessBeanData
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 getId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.FORUM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Forum ID. Primary key to the table.
getId
in interface ForumAccessBeanData
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 getIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.FORUM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Forum ID. Primary key to the 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 getMemberGroupId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Member group ID.
getMemberGroupId
in interface ForumAccessBeanData
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 getMemberGroupIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Member group ID.
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 FORUM.NAME column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Name of the forum.
getName
in interface ForumAccessBeanData
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 getOwnerId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.OWNER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Owner of the forum.
getOwnerId
in interface ForumAccessBeanData
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 getOwnerIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.OWNER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Owner of the forum.
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 getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.STATUS column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Valid values: A=active, D=deleted.
getStatus
in interface ForumAccessBeanData
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 getSubjectType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the FORUM.SUBJTYPE column of DB2 type CHAR(32) NULL.
The following is a description of this column:
Subject type. Type of subjects to be discussed in the forum.
getSubjectType
in interface ForumAccessBeanData
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 setBannerURL(java.lang.String aBannerURL1)
This method provides access to the FORUM.BANNERURL column of DB2 type CHAR(254) NULL.
The following is a description of this column:
The URL used as a banner for the forum.
setBannerURL
in interface ForumAccessBeanData
aBannerURL1
- java.lang.Stringpublic void setCreateTime(java.lang.String aCreateTime1)
This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
.The date and time the forum was created.
setCreateTime
in interface ForumAccessBeanData
aCreateTime1
- java.lang.Stringpublic void setCreateTime(java.sql.Timestamp aCreateTime1)
This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
.The date and time the forum was created.
aCreateTime1
- java.sql.Timestamppublic void setDescription(java.lang.String aDescription1)
This method provides access to the FORUM.DESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
A description of the forum.
setDescription
in interface ForumAccessBeanData
aDescription1
- java.lang.Stringpublic void setId(java.lang.Long aId1)
This method provides access to the FORUM.FORUM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Forum ID. Primary key to the table.
aId1
- java.lang.Longpublic void setId(java.lang.String aId1)
This method provides access to the FORUM.FORUM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Forum ID. Primary key to the table.
setId
in interface ForumAccessBeanData
aId1
- java.lang.Stringpublic void setInitKey_id(java.lang.Long aInitKey_id1)
Set the primary key for this object
aInitKey_id1
- java.lang.Longpublic void setMemberGroupId(java.lang.Long aMemberGroupId1)
This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Member group ID.
aMemberGroupId1
- java.lang.Longpublic void setMemberGroupId(java.lang.String aMemberGroupId1)
This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Member group ID.
setMemberGroupId
in interface ForumAccessBeanData
aMemberGroupId1
- java.lang.Stringpublic void setName(java.lang.String aName1)
This method provides access to the FORUM.NAME column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Name of the forum.
setName
in interface ForumAccessBeanData
aName1
- java.lang.Stringpublic void setOwnerId(java.lang.Long aOwnerId1)
This method provides access to the FORUM.OWNER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Owner of the forum.
aOwnerId1
- java.lang.Longpublic void setOwnerId(java.lang.String aOwnerId1)
This method provides access to the FORUM.OWNER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Owner of the forum.
setOwnerId
in interface ForumAccessBeanData
aOwnerId1
- java.lang.Stringpublic void setStatus(java.lang.String aStatus1)
This method provides access to the FORUM.STATUS column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Valid values: A=active, D=deleted.
setStatus
in interface ForumAccessBeanData
aStatus1
- java.lang.Stringpublic void setSubjectType(java.lang.String aSubjectType1)
This method provides access to the FORUM.SUBJTYPE column of DB2 type CHAR(32) NULL.
The following is a description of this column:
Subject type. Type of subjects to be discussed in the forum.
setSubjectType
in interface ForumAccessBeanData
aSubjectType1
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |