com.ibm.commerce.negotiation.objects
Class ForumMessageAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.negotiation.objects.ForumMessageAccessBean
All Implemented Interfaces:
ForumMessageAccessBeanData
Direct Known Subclasses:
ForumMessageDataBean

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

This table contains forum messages sent between an administrator and a customer. This access bean corresponds to the database table 'FORUMMSG'.

See Also:
Serialized Form

Constructor Summary
ForumMessageAccessBean()
Zero argument constructor used to initialize the access bean.
ForumMessageAccessBean(javax.ejb.EJBObject o)
constructor
ForumMessageAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.lang.Long arg3, java.lang.Long 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()
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).
java.lang.String getActionRemark()
This method provides access to the FORUMMSG.ACTREMARK column of DB2 type VARCHAR(4000).
java.lang.String getField1()
This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT.
java.lang.Long getField1InEJBType()
This method provides access to the FORUMMSG.FIELD1 column of DB2 type BIGINT.
java.lang.String getField2()
This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT.
java.lang.Long getField2InEJBType()
This method provides access to the FORUMMSG.FIELD2 column of DB2 type BIGINT.
java.lang.String getField3()
This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT.
java.lang.Long getField3InEJBType()
This method provides access to the FORUMMSG.FIELD3 column of DB2 type BIGINT.
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 accesses a non-CMP field
java.lang.String getMsgStatus()
This method provides access to the FORUMMSG.MSGSTATUS column of DB2 type CHAR(4).
java.lang.String getMsgSubject()
This method provides access to the FORUMMSG.MSGSUBJ column of DB2 type VARCHAR(254).
java.lang.String getParentMsgId()
This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT.
java.lang.Long getParentMsgIdInEJBType()
This method provides access to the FORUMMSG.PARENTMSG_ID column of DB2 type BIGINT.
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.
java.sql.Timestamp getPostTimeInEJBType()
This method provides access to the FORUMMSG.POSTTIME column of DB2 type TIMESTAMP.
java.lang.String getRootMsgId()
This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT.
java.lang.Long getRootMsgIdInEJBType()
This method provides access to the FORUMMSG.ROOTMSG_ID column of DB2 type BIGINT.
java.lang.String getTargetId()
This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT.
java.lang.Long getTargetIdInEJBType()
This method provides access to the FORUMMSG.TARGET_ID column of DB2 type BIGINT.
java.lang.String getViewStatus()
This method provides access to the FORUMMSG.VIEWSTATUS column of DB2 type CHAR(4).
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAction(java.lang.String newValue)
This method accesses a non-CMP field
void setActionRemark(java.lang.String newValue)
This method accesses a non-CMP field
void setField1(java.lang.Long newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setField2(java.lang.Long newValue)
This method accesses a non-CMP field
void setField2(java.lang.String newValue)
This method accesses a non-CMP field
void setField3(java.lang.Long newValue)
This method accesses a non-CMP field
void setField3(java.lang.String newValue)
This method accesses a non-CMP field
void setForumId(java.lang.Long newValue)
This method accesses a non-CMP field
void setForumId(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 setMsgBody(java.lang.String newValue)
This method accesses a non-CMP field
void setMsgStatus(java.lang.String newValue)
This method accesses a non-CMP field
void setMsgSubject(java.lang.String newValue)
This method accesses a non-CMP field
void setParentMsgId(java.lang.Long newValue)
This method accesses a non-CMP field
void setParentMsgId(java.lang.String newValue)
This method accesses a non-CMP field
void setPosterId(java.lang.Long newValue)
This method accesses a non-CMP field
void setPosterId(java.lang.String newValue)
This method accesses a non-CMP field
void setPostTime(java.lang.String newValue)
This method accesses a non-CMP field
void setPostTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setRootMsgId(java.lang.Long newValue)
This method accesses a non-CMP field
void setRootMsgId(java.lang.String newValue)
This method accesses a non-CMP field
void setTargetId(java.lang.Long newValue)
This method accesses a non-CMP field
void setTargetId(java.lang.String newValue)
This method accesses a non-CMP field
void setViewStatus(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

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: setInitKey_id( java.lang.Long )

ForumMessageAccessBean

public ForumMessageAccessBean(javax.ejb.EJBObject o)
                       throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

ForumMessageAccessBean

public ForumMessageAccessBean(java.lang.Long arg1,
                              java.lang.Long arg2,
                              java.lang.Long arg3,
                              java.lang.Long arg4)
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
arg1 - The forum to which this message belongs.
arg2 - The id of the user who posted the message.
arg3 - The id of the root of the message chain.
arg4 - The id of the parent message.
Method Detail

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.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

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.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

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.
Throws:
javax.ejb.FinderException
java.rmi.RemoteException
javax.naming.NamingException

setInitKey_id

public void setInitKey_id(java.lang.Long newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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).

The following is a description of this column:

Action performed by the administrator. Valid values are as follows:&l

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

setAction

public void setAction(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setAction in interface ForumMessageAccessBeanData

getMsgBody

public java.lang.String getMsgBody()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getMsgBody in interface ForumMessageAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMsgBody

public void setMsgBody(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMsgBody in interface ForumMessageAccessBeanData

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.

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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.

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTargetId

public void setTargetId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTargetId in interface ForumMessageAccessBeanData

setTargetId

public void setTargetId(java.lang.Long newValue)
This method accesses a non-CMP field

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).

The following is a description of this column:

View status. Valid values are as follows:&l

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

setViewStatus

public void setViewStatus(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setViewStatus in interface ForumMessageAccessBeanData

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 VARCHAR(4000).

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setActionRemark

public void setActionRemark(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setActionRemark in interface ForumMessageAccessBeanData

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.

The following is a description of this column:

Date and time of the message.

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

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.

The following is a description of this column:

Date and time of the message.

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

setPostTime

public void setPostTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPostTime in interface ForumMessageAccessBeanData

setPostTime

public void setPostTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPosterId

public void setPosterId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPosterId in interface ForumMessageAccessBeanData

setPosterId

public void setPosterId(java.lang.Long newValue)
This method accesses a non-CMP field

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.

The following is a description of this column:

Customizable.

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

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.

The following is a description of this column:

Customizable.

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

setField3

public void setField3(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField3 in interface ForumMessageAccessBeanData

setField3

public void setField3(java.lang.Long newValue)
This method accesses a non-CMP field

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.

The following is a description of this column:

Customizable.

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

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.

The following is a description of this column:

Customizable.

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

setField2

public void setField2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField2 in interface ForumMessageAccessBeanData

setField2

public void setField2(java.lang.Long newValue)
This method accesses a non-CMP field

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.

The following is a description of this column:

Customizable.

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

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.

The following is a description of this column:

Customizable.

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

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface ForumMessageAccessBeanData

setField1

public void setField1(java.lang.Long newValue)
This method accesses a non-CMP field

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).

The following is a description of this column:

Message subject.

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

setMsgSubject

public void setMsgSubject(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMsgSubject in interface ForumMessageAccessBeanData

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.

The following is a description of this column:

ID of the root of the message chain.

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

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.

The following is a description of this column:

ID of the root of the message chain.

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

setRootMsgId

public void setRootMsgId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setRootMsgId in interface ForumMessageAccessBeanData

setRootMsgId

public void setRootMsgId(java.lang.Long newValue)
This method accesses a non-CMP field

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setId

public void setId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setId in interface ForumMessageAccessBeanData

setId

public void setId(java.lang.Long newValue)
This method accesses a non-CMP field

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.

The following is a description of this column:

Parent message ID. The ID of the parent message.

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

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.

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setParentMsgId

public void setParentMsgId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setParentMsgId in interface ForumMessageAccessBeanData

setParentMsgId

public void setParentMsgId(java.lang.Long newValue)
This method accesses a non-CMP field

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 to which forum this message belongs.

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

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 to which forum this message belongs.

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

setForumId

public void setForumId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setForumId in interface ForumMessageAccessBeanData

setForumId

public void setForumId(java.lang.Long newValue)
This method accesses a non-CMP field

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).

The following is a description of this column:

Message status. Valid values are as follows:&l

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

setMsgStatus

public void setMsgStatus(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMsgStatus in interface ForumMessageAccessBeanData

Feedback