com.ibm.commerce.negotiation.objects
Class ForumMessageAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.negotiation.objects.ForumMessageAccessBean
All Implemented Interfaces:
ForumMessageAccessBeanData, java.io.Serializable
Direct Known Subclasses:
ForumMessageDataBean

public class ForumMessageAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ForumMessageAccessBeanData

This bean provides access to the FORUMMSG table.

The following is a description of this table:

This table contains forum messages sent between the administrator and a customer.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ForumMessageAccessBean()
          Zero argument constructor used to initialize the access bean.
ForumMessageAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
ForumMessageAccessBean(java.lang.Long forumId, java.lang.Long posterId, java.lang.Long rootId, java.lang.Long parentId)
          Creates an access bean with the specified attributes.
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByForumAndTarget(java.lang.Long forumId, java.lang.Long targetId, java.lang.String status, java.lang.String viewStatus, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all forum messages with the specified attributes.
 java.util.Enumeration findChildrenMsg(java.lang.Long parentMsgId, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all forum messages with the specified parent message.
 java.util.Enumeration findRootMsg(java.lang.Long forumId, java.lang.Long targetId, java.lang.String status, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all forum messages with the specified attributes.
 java.lang.String getAction()
          This method provides access to the FORUMMSG.ACTION column of DB2 type CHAR(4) NULL.
 java.lang.String getActionRemark()
          This method provides access to the FORUMMSG.ACTREMARK column of DB2 type LONG NULL.
 java.lang.String getField1()
          This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT NULL.
 java.lang.Long getField1InEJBType()
          This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT NULL.
 java.lang.String getField2()
          This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT NULL.
 java.lang.Long getField2InEJBType()
          This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT NULL.
 java.lang.String getField3()
          This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT NULL.
 java.lang.Long getField3InEJBType()
          This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT NULL.
 java.lang.String getForumId()
          This method provides access to the FORUMMSG.FORUM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getForumIdInEJBType()
          This method provides access to the FORUMMSG.FORUM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getId()
          This method provides access to the FORUMMSG.MSG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getIdInEJBType()
          This method provides access to the FORUMMSG.MSG_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getMsgBody()
          This method provides access to the FORUMMSG.MSGBODY column of DB2 type LONG NULL.
 java.lang.String getMsgStatus()
          This method provides access to the FORUMMSG.MSGSTATUS column of DB2 type CHAR(4) NULL.
 java.lang.String getMsgSubject()
          This method provides access to the FORUMMSG.MSGSUBJ column of DB2 type VARCHAR(254) NULL.
 java.lang.String getParentMsgId()
          This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT NULL.
 java.lang.Long getParentMsgIdInEJBType()
          This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT NULL.
 java.lang.String getPosterId()
          This method provides access to the FORUMMSG.POSTER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getPosterIdInEJBType()
          This method provides access to the FORUMMSG.POSTER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getPostTime()
          This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getPostTimeInEJBType()
          This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP NULL.
 java.lang.String getRootMsgId()
          This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT NULL.
 java.lang.Long getRootMsgIdInEJBType()
          This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT NULL.
 java.lang.String getTargetId()
          This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT NULL.
 java.lang.Long getTargetIdInEJBType()
          This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT NULL.
 java.lang.String getViewStatus()
          This method provides access to the FORUMMSG.VIEWSTATUS column of DB2 type CHAR(4) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAction(java.lang.String aAction1)
          This method provides access to the FORUMMSG.ACTION column of DB2 type CHAR(4) NULL.
 void setActionRemark(java.lang.String aActionRemark1)
          This method provides access to the FORUMMSG.ACTREMARK column of DB2 type LONG NULL.
 void setField1(java.lang.Long aField11)
          This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT NULL.
 void setField1(java.lang.String aField11)
          This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT NULL.
 void setField2(java.lang.Long aField21)
          This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT NULL.
 void setField2(java.lang.String aField21)
          This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT NULL.
 void setField3(java.lang.Long aField31)
          This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT NULL.
 void setField3(java.lang.String aField31)
          This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT NULL.
 void setForumId(java.lang.Long aForumId1)
          This method provides access to the FORUMMSG.FORUM_ID column of DB2 type BIGINT NOT NULL.
 void setForumId(java.lang.String aForumId1)
          This method provides access to the FORUMMSG.FORUM_ID column of DB2 type BIGINT NOT NULL.
 void setId(java.lang.Long aId1)
          This method provides access to the FORUMMSG.MSG_ID column of DB2 type BIGINT NOT NULL.
 void setId(java.lang.String aId1)
          This method provides access to the FORUMMSG.MSG_ID column of DB2 type BIGINT NOT NULL.
 void setInitKey_id(java.lang.Long aInitKey_id1)
          Set the primary key for this object
 void setMsgBody(java.lang.String aMsgBody1)
          This method provides access to the FORUMMSG.MSGBODY column of DB2 type LONG NULL.
 void setMsgStatus(java.lang.String aMsgStatus1)
          This method provides access to the FORUMMSG.MSGSTATUS column of DB2 type CHAR(4) NULL.
 void setMsgSubject(java.lang.String aMsgSubject1)
          This method provides access to the FORUMMSG.MSGSUBJ column of DB2 type VARCHAR(254) NULL.
 void setParentMsgId(java.lang.Long aParentMsgId1)
          This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT NULL.
 void setParentMsgId(java.lang.String aParentMsgId1)
          This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT NULL.
 void setPosterId(java.lang.Long aPosterId1)
          This method provides access to the FORUMMSG.POSTER_ID column of DB2 type BIGINT NOT NULL.
 void setPosterId(java.lang.String aPosterId1)
          This method provides access to the FORUMMSG.POSTER_ID column of DB2 type BIGINT NOT NULL.
 void setPostTime(java.lang.String aPostTime1)
          This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP NULL.
 void setPostTime(java.sql.Timestamp aPostTime1)
          This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP NULL.
 void setRootMsgId(java.lang.Long aRootMsgId1)
          This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT NULL.
 void setRootMsgId(java.lang.String aRootMsgId1)
          This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT NULL.
 void setTargetId(java.lang.Long aTargetId1)
          This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT NULL.
 void setTargetId(java.lang.String aTargetId1)
          This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT NULL.
 void setViewStatus(java.lang.String aViewStatus1)
          This method provides access to the FORUMMSG.VIEWSTATUS column of DB2 type CHAR(4) 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

ForumMessageAccessBean

public ForumMessageAccessBean()

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.ForumMessage com.ibm.commerce.negotiation.objimpl.ForumMessageHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.ForumMessageKey) 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:


ForumMessageAccessBean

public ForumMessageAccessBean(javax.ejb.EJBObject object)
                       throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.

ForumMessageAccessBean

public ForumMessageAccessBean(java.lang.Long forumId,
                              java.lang.Long posterId,
                              java.lang.Long rootId,
                              java.lang.Long parentId)
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
forumId - The forum to which this message belongs.
posterId - The id of the user who posted the message.
rootId - The id of the root of the message chain.
parentId - The id of the parent message.
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByForumAndTarget

public java.util.Enumeration findByForumAndTarget(java.lang.Long forumId,
                                                  java.lang.Long targetId,
                                                  java.lang.String status,
                                                  java.lang.String viewStatus,
                                                  com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Retrieves all forum messages with the specified attributes.

The SQL query used to fetch all the required rows from the FORUMMSG table is:

SELECT * FROM FORUMMSG T1 WHERE T1.FORUM_ID=? AND T1.TARGET_ID=? AND T1.MSGSTATUS=? AND T1.VIEWSTATUS=?

Parameters:
forumId - The forum to which this message belongs.
targetId - The target id. If this message relates to an auction, this will be an auction ID.
status - The message status. Valid values: A=active, D=deleted.
viewStatus - The view status.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the ForumMessageAccessBeans representing rows that match the search criteria.

findChildrenMsg

public java.util.Enumeration findChildrenMsg(java.lang.Long parentMsgId,
                                             com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Retrieves all forum messages with the specified parent message.

The SQL query used to fetch all the required rows from the FORUMMSG table is:

SELECT * FROM FORUMMSG T1 WHERE T1.PARENTMSG_ID=?

Parameters:
parentMsgId - The id of the parent message.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the ForumMessageAccessBeans representing rows that match the search criteria.

findRootMsg

public java.util.Enumeration findRootMsg(java.lang.Long forumId,
                                         java.lang.Long targetId,
                                         java.lang.String status,
                                         com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                  throws javax.ejb.FinderException,
                                         java.rmi.RemoteException,
                                         javax.naming.NamingException

Retrieves all forum messages with the specified attributes.

The SQL query used to fetch all the required rows from the FORUMMSG table is:

SELECT * FROM FORUMMSG T1 WHERE T1.FORUM_ID=? AND T1.TARGET_ID=? AND T1.MSGSTATUS=? AND T1.ROOTMSG_ID=T1.MSG_ID

Parameters:
forumId - The forum to which this message belongs.
targetId - The target id. If this message relates to an auction, this will be an auction ID.
status - The message status. Valid values: A=active, D=deleted.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the ForumMessageAccessBeans representing rows that match the search criteria.

getAction

public java.lang.String getAction()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the FORUMMSG.ACTION column of DB2 type CHAR(4) NULL.

The following is a description of this column:

Action performed by the administrator. Valid values: N=no action, A=administrator has responded, S=message changed to public.

Specified by:
getAction in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getActionRemark

public java.lang.String getActionRemark()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the FORUMMSG.ACTREMARK column of DB2 type LONG NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getActionRemark in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField1InEJBType

public java.lang.Long getField1InEJBType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField2

public java.lang.String getField2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField2InEJBType

public java.lang.Long getField2InEJBType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField3

public java.lang.String getField3()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getField3InEJBType

public java.lang.Long getField3InEJBType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getForumId

public java.lang.String getForumId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the FORUMMSG.FORUM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which to which forum this message belongs.

Specified by:
getForumId in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getForumIdInEJBType

public java.lang.Long getForumIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the FORUMMSG.FORUM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which to which forum this message belongs.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getId

public java.lang.String getId()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

This method provides access to the FORUMMSG.MSG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Forum message ID. Primary key to this table.

Specified by:
getId in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getIdInEJBType

public java.lang.Long getIdInEJBType()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the FORUMMSG.MSG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Forum message ID. Primary key to this table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMsgBody

public java.lang.String getMsgBody()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the FORUMMSG.MSGBODY column of DB2 type LONG NULL.

The following is a description of this column:

Message content.

Specified by:
getMsgBody in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMsgStatus

public java.lang.String getMsgStatus()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the FORUMMSG.MSGSTATUS column of DB2 type CHAR(4) NULL.

The following is a description of this column:

Message status. Valid values: A=active, D=deleted.

Specified by:
getMsgStatus in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMsgSubject

public java.lang.String getMsgSubject()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the FORUMMSG.MSGSUBJ column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Message subject.

Specified by:
getMsgSubject in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getParentMsgId

public java.lang.String getParentMsgId()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Parent message ID. The ID of the parent message.

Specified by:
getParentMsgId in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getParentMsgIdInEJBType

public java.lang.Long getParentMsgIdInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Parent message ID. The ID of the parent message.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPosterId

public java.lang.String getPosterId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the FORUMMSG.POSTER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the user who posted the message.

Specified by:
getPosterId in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPosterIdInEJBType

public java.lang.Long getPosterIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the FORUMMSG.POSTER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the user who posted the message.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPostTime

public java.lang.String getPostTime()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Date and time of the message.

Specified by:
getPostTime in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getPostTimeInEJBType

public java.sql.Timestamp getPostTimeInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Date and time of the message.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRootMsgId

public java.lang.String getRootMsgId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the root of the message chain.

Specified by:
getRootMsgId in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRootMsgIdInEJBType

public java.lang.Long getRootMsgIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the root of the message chain.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTargetId

public java.lang.String getTargetId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

If this message relates to an auction, this field will contain an auction ID.

Specified by:
getTargetId in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTargetIdInEJBType

public java.lang.Long getTargetIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

If this message relates to an auction, this field will contain an auction ID.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getViewStatus

public java.lang.String getViewStatus()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the FORUMMSG.VIEWSTATUS column of DB2 type CHAR(4) NULL.

The following is a description of this column:

View status. Valid values: P=message is public, I=message is private.

Specified by:
getViewStatus in interface ForumMessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setAction

public void setAction(java.lang.String aAction1)

This method provides access to the FORUMMSG.ACTION column of DB2 type CHAR(4) NULL.

The following is a description of this column:

Action performed by the administrator. Valid values: N=no action, A=administrator has responded, S=message changed to public.

Specified by:
setAction in interface ForumMessageAccessBeanData
Parameters:
aAction1 - java.lang.String
Returns:
void

setActionRemark

public void setActionRemark(java.lang.String aActionRemark1)

This method provides access to the FORUMMSG.ACTREMARK column of DB2 type LONG NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setActionRemark in interface ForumMessageAccessBeanData
Parameters:
aActionRemark1 - java.lang.String
Returns:
void

setField1

public void setField1(java.lang.Long aField11)

This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Parameters:
aField11 - java.lang.Long
Returns:
void

setField1

public void setField1(java.lang.String aField11)

This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface ForumMessageAccessBeanData
Parameters:
aField11 - java.lang.String
Returns:
void

setField2

public void setField2(java.lang.Long aField21)

This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Parameters:
aField21 - java.lang.Long
Returns:
void

setField2

public void setField2(java.lang.String aField21)

This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface ForumMessageAccessBeanData
Parameters:
aField21 - java.lang.String
Returns:
void

setField3

public void setField3(java.lang.Long aField31)

This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Parameters:
aField31 - java.lang.Long
Returns:
void

setField3

public void setField3(java.lang.String aField31)

This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT NULL.

The following is a description of this column:

Customizable.

Specified by:
setField3 in interface ForumMessageAccessBeanData
Parameters:
aField31 - java.lang.String
Returns:
void

setForumId

public void setForumId(java.lang.Long aForumId1)

This method provides access to the FORUMMSG.FORUM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which to which forum this message belongs.

Parameters:
aForumId1 - java.lang.Long
Returns:
void

setForumId

public void setForumId(java.lang.String aForumId1)

This method provides access to the FORUMMSG.FORUM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Indicates which to which forum this message belongs.

Specified by:
setForumId in interface ForumMessageAccessBeanData
Parameters:
aForumId1 - java.lang.String
Returns:
void

setId

public void setId(java.lang.Long aId1)

This method provides access to the FORUMMSG.MSG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Forum message ID. Primary key to this table.

Parameters:
aId1 - java.lang.Long
Returns:
void

setId

public void setId(java.lang.String aId1)

This method provides access to the FORUMMSG.MSG_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Forum message ID. Primary key to this table.

Specified by:
setId in interface ForumMessageAccessBeanData
Parameters:
aId1 - java.lang.String
Returns:
void

setInitKey_id

public void setInitKey_id(java.lang.Long aInitKey_id1)

Set the primary key for this object

Parameters:
aInitKey_id1 - java.lang.Long
Returns:
void

setMsgBody

public void setMsgBody(java.lang.String aMsgBody1)

This method provides access to the FORUMMSG.MSGBODY column of DB2 type LONG NULL.

The following is a description of this column:

Message content.

Specified by:
setMsgBody in interface ForumMessageAccessBeanData
Parameters:
aMsgBody1 - java.lang.String
Returns:
void

setMsgStatus

public void setMsgStatus(java.lang.String aMsgStatus1)

This method provides access to the FORUMMSG.MSGSTATUS column of DB2 type CHAR(4) NULL.

The following is a description of this column:

Message status. Valid values: A=active, D=deleted.

Specified by:
setMsgStatus in interface ForumMessageAccessBeanData
Parameters:
aMsgStatus1 - java.lang.String
Returns:
void

setMsgSubject

public void setMsgSubject(java.lang.String aMsgSubject1)

This method provides access to the FORUMMSG.MSGSUBJ column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Message subject.

Specified by:
setMsgSubject in interface ForumMessageAccessBeanData
Parameters:
aMsgSubject1 - java.lang.String
Returns:
void

setParentMsgId

public void setParentMsgId(java.lang.Long aParentMsgId1)

This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Parent message ID. The ID of the parent message.

Parameters:
aParentMsgId1 - java.lang.Long
Returns:
void

setParentMsgId

public void setParentMsgId(java.lang.String aParentMsgId1)

This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Parent message ID. The ID of the parent message.

Specified by:
setParentMsgId in interface ForumMessageAccessBeanData
Parameters:
aParentMsgId1 - java.lang.String
Returns:
void

setPosterId

public void setPosterId(java.lang.Long aPosterId1)

This method provides access to the FORUMMSG.POSTER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the user who posted the message.

Parameters:
aPosterId1 - java.lang.Long
Returns:
void

setPosterId

public void setPosterId(java.lang.String aPosterId1)

This method provides access to the FORUMMSG.POSTER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

ID of the user who posted the message.

Specified by:
setPosterId in interface ForumMessageAccessBeanData
Parameters:
aPosterId1 - java.lang.String
Returns:
void

setPostTime

public void setPostTime(java.lang.String aPostTime1)

This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Date and time of the message.

Specified by:
setPostTime in interface ForumMessageAccessBeanData
Parameters:
aPostTime1 - java.lang.String
Returns:
void

setPostTime

public void setPostTime(java.sql.Timestamp aPostTime1)

This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Date and time of the message.

Parameters:
aPostTime1 - java.sql.Timestamp
Returns:
void

setRootMsgId

public void setRootMsgId(java.lang.Long aRootMsgId1)

This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the root of the message chain.

Parameters:
aRootMsgId1 - java.lang.Long
Returns:
void

setRootMsgId

public void setRootMsgId(java.lang.String aRootMsgId1)

This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the root of the message chain.

Specified by:
setRootMsgId in interface ForumMessageAccessBeanData
Parameters:
aRootMsgId1 - java.lang.String
Returns:
void

setTargetId

public void setTargetId(java.lang.Long aTargetId1)

This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

If this message relates to an auction, this field will contain an auction ID.

Parameters:
aTargetId1 - java.lang.Long
Returns:
void

setTargetId

public void setTargetId(java.lang.String aTargetId1)

This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

If this message relates to an auction, this field will contain an auction ID.

Specified by:
setTargetId in interface ForumMessageAccessBeanData
Parameters:
aTargetId1 - java.lang.String
Returns:
void

setViewStatus

public void setViewStatus(java.lang.String aViewStatus1)

This method provides access to the FORUMMSG.VIEWSTATUS column of DB2 type CHAR(4) NULL.

The following is a description of this column:

View status. Valid values: P=message is public, I=message is private.

Specified by:
setViewStatus in interface ForumMessageAccessBeanData
Parameters:
aViewStatus1 - java.lang.String
Returns:
void