public class ForumMessageAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements ForumMessageAccessBeanData
Constructor and Description |
---|
ForumMessageAccessBean()
Zero argument constructor used to initialize the access bean.
|
ForumMessageAccessBean(javax.ejb.EJBObject o) |
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.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
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() |
java.lang.String | getActionRemark() |
java.lang.String | getField1() |
java.lang.Long | getField1InEJBType() |
java.lang.String | getField2() |
java.lang.Long | getField2InEJBType() |
java.lang.String | getField3() |
java.lang.Long | getField3InEJBType() |
java.lang.String | getForumId() |
java.lang.Long | getForumIdInEJBType() |
java.lang.String | getId() |
java.lang.Long | getIdInEJBType() |
java.lang.String | getMsgBody() |
java.lang.String | getMsgStatus() |
java.lang.String | getMsgSubject() |
java.lang.String | getParentMsgId() |
java.lang.Long | getParentMsgIdInEJBType() |
java.lang.String | getPosterId() |
java.lang.Long | getPosterIdInEJBType() |
java.lang.String | getPostTime() |
java.sql.Timestamp | getPostTimeInEJBType() |
java.lang.String | getRootMsgId() |
java.lang.Long | getRootMsgIdInEJBType() |
java.lang.String | getTargetId() |
java.lang.Long | getTargetIdInEJBType() |
java.lang.String | getViewStatus() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setAction(java.lang.String newValue) |
void | setActionRemark(java.lang.String newValue) |
void | setField1(java.lang.Long newValue) |
void | setField1(java.lang.String newValue) |
void | setField2(java.lang.Long newValue) |
void | setField2(java.lang.String newValue) |
void | setField3(java.lang.Long newValue) |
void | setField3(java.lang.String newValue) |
void | setForumId(java.lang.Long newValue) |
void | setForumId(java.lang.String newValue) |
void | setId(java.lang.Long newValue) |
void | setId(java.lang.String newValue) |
void | setInitKey_id(java.lang.Long newValue) |
void | setMsgBody(java.lang.String newValue) |
void | setMsgStatus(java.lang.String newValue) |
void | setMsgSubject(java.lang.String newValue) |
void | setParentMsgId(java.lang.Long newValue) |
void | setParentMsgId(java.lang.String newValue) |
void | setPosterId(java.lang.Long newValue) |
void | setPosterId(java.lang.String newValue) |
void | setPostTime(java.lang.String newValue) |
void | setPostTime(java.sql.Timestamp newValue) |
void | setRootMsgId(java.lang.Long newValue) |
void | setRootMsgId(java.lang.String newValue) |
void | setTargetId(java.lang.Long newValue) |
void | setTargetId(java.lang.String newValue) |
void | setViewStatus(java.lang.String newValue) |
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.
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)
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
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getAction() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getTargetIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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
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
public java.sql.Timestamp getPostTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getPosterIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getField3InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getField2InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getField1InEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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
public java.lang.Long getRootMsgIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getParentMsgIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public java.lang.Long getForumIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
public void setMsgStatus(java.lang.String newValue)