java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.negotiation.objects.ForumMessageAccessBean
This table contains forum messages sent between an administrator and a customer. This access bean corresponds to the database table 'FORUMMSG'.
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 |
public ForumMessageAccessBean()
public ForumMessageAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
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.
Method Detail |
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=?
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=?
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
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 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
public void setAction(java.lang.String newValue)
public java.lang.String getMsgBody() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMsgBody(java.lang.String newValue)
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.
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.
public void setTargetId(java.lang.String newValue)
public void setTargetId(java.lang.Long newValue)
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
public void setViewStatus(java.lang.String newValue)
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.
public void setActionRemark(java.lang.String newValue)
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.
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.
public void setPostTime(java.lang.String newValue)
public void setPostTime(java.sql.Timestamp newValue)
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.
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.
public void setPosterId(java.lang.String newValue)
public void setPosterId(java.lang.Long newValue)
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.
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.
public void setField3(java.lang.String newValue)
public void setField3(java.lang.Long newValue)
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.
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.
public void setField2(java.lang.String newValue)
public void setField2(java.lang.Long newValue)
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.
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.
public void setField1(java.lang.String newValue)
public void setField1(java.lang.Long newValue)
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.
public void setMsgSubject(java.lang.String newValue)
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.
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.
public void setRootMsgId(java.lang.String newValue)
public void setRootMsgId(java.lang.Long 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 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.
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.
public void setId(java.lang.String newValue)
public void setId(java.lang.Long newValue)
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.
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.
public void setParentMsgId(java.lang.String newValue)
public void setParentMsgId(java.lang.Long newValue)
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.
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.
public void setForumId(java.lang.String newValue)
public void setForumId(java.lang.Long newValue)
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
public void setMsgStatus(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.