java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.negotiation.objects.ForumAccessBean
This table contains a list of valid forums. Forums are used to exchange messages between administrators and customers. This access bean corresponds to the database table 'FORUM'.
Constructor Summary | |
ForumAccessBean() Zero argument constructor used to initialize the access bean. |
|
ForumAccessBean(javax.ejb.EJBObject o) constructor |
|
ForumAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.lang.String arg3, java.lang.String arg4) Creates an access bean with the specified attributes. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
ForumAccessBean | findByOwnerAndName(java.lang.Long ownerid, java.lang.String aName) Retrieves the forum, owned by the specified owner, with the specified aName. |
ForumAccessBean | findByOwnerAndSubjectType(java.lang.Long ownerid, java.lang.String subjtype) Retrieves the forum, owned by the specified owner, with the specified subjtype. |
java.lang.String | getBannerURL() This method provides access to the FORUM.BANNERURL column of DB2 type CHAR(254). |
java.lang.String | getCreateTime() This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getCreateTimeInEJBType() This method provides access to the FORUM.CREATETIME column of DB2 type TIMESTAMP. |
java.lang.String | getDescription() This method accesses a non-CMP field |
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. |
java.lang.Long | getMemberGroupIdInEJBType() This method provides access to the FORUM.MBRGRP_ID column of DB2 type BIGINT. |
java.lang.String | getName() This method provides access to the FORUM.NAME column of DB2 type VARCHAR(254). |
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). |
java.lang.String | getSubjectType() This method provides access to the FORUM.SUBJTYPE column of DB2 type CHAR(32). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setBannerURL(java.lang.String newValue) This method accesses a non-CMP field |
void | setCreateTime(java.lang.String newValue) This method accesses a non-CMP field |
void | setCreateTime(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_id(java.lang.Long newValue) Set the primary key for this object |
void | setMemberGroupId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberGroupId(java.lang.String newValue) This method accesses a non-CMP field |
void | setName(java.lang.String newValue) This method accesses a non-CMP field |
void | setOwnerId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOwnerId(java.lang.String newValue) This method accesses a non-CMP field |
void | setStatus(java.lang.String newValue) This method accesses a non-CMP field |
void | setSubjectType(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 ForumAccessBean()
public ForumAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ForumAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.lang.String arg3, java.lang.String arg4) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
Method Detail |
public ForumAccessBean findByOwnerAndName(java.lang.Long ownerid, java.lang.String aName) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the forum, owned by the specified owner, with the specified aName.
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=?
public ForumAccessBean findByOwnerAndSubjectType(java.lang.Long ownerid, java.lang.String subjtype) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the forum, owned by the specified owner, with the specified subjtype.
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=?
public void setInitKey_id(java.lang.Long 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
public void setDescription(java.lang.String newValue)
public 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.
public 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.
public void setOwnerId(java.lang.String newValue)
public void setOwnerId(java.lang.Long newValue)
public 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.
The following is a description of this column:
Member group ID.
public 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.
The following is a description of this column:
Member group ID.
public void setMemberGroupId(java.lang.String newValue)
public void setMemberGroupId(java.lang.Long newValue)
public 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.
The following is a description of this column:
The date and time the forum was created.
public 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.
The following is a description of this column:
The date and time the forum was created.
public void setCreateTime(java.lang.String newValue)
public void setCreateTime(java.sql.Timestamp newValue)
public 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).
The following is a description of this column:
The status of this forum. Valid values are as follows:&l
public void setStatus(java.lang.String newValue)
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).
The following is a description of this column:
The URL used as a banner for the forum.
public void setBannerURL(java.lang.String newValue)
public 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).
The following is a description of this column:
Subject type. Type of subjects to be discussed in the forum.
public void setSubjectType(java.lang.String newValue)
public 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.
public 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.
public void setId(java.lang.String newValue)
public void setId(java.lang.Long newValue)
public 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).
The following is a description of this column:
Name of the forum.
public void setName(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.