com.ibm.commerce.negotiation.beans
Class ForumMessageDataBean
java.lang.Object
|
+--com.ibm.ivj.ejb.runtime.AbstractAccessBean
|
+--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
|
+--com.ibm.commerce.negotiation.objects.ForumMessageAccessBean
|
+--com.ibm.commerce.negotiation.beans.ForumMessageDataBean
- All Implemented Interfaces:
- DataBean, ForumMessageAccessBeanData, ForumMessageInputDataBean, ForumMessageSmartDataBean, InputDataBean, java.io.Serializable, SmartDataBean
- public class ForumMessageDataBean
- extends ForumMessageAccessBean
- implements ForumMessageInputDataBean, ForumMessageSmartDataBean, SmartDataBean
Provides access to data fields of ForumMessageAccessBean.
- See Also:
ForumMessageAccessBean
,
SmartDataBean
, Serialized Form
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Methods inherited from class com.ibm.commerce.negotiation.objects.ForumMessageAccessBean |
commitCopyHelper, findByForumAndTarget, findChildrenMsg, findRootMsg, getAction, getActionRemark, getField1, getField1InEJBType, getField2, getField2InEJBType, getField3, getField3InEJBType, getForumId, getForumIdInEJBType, getId, getIdInEJBType, getMsgBody, getMsgStatus, getMsgSubject, getParentMsgId, getParentMsgIdInEJBType, getPosterId, getPosterIdInEJBType, getPostTime, getPostTimeInEJBType, getRootMsgId, getRootMsgIdInEJBType, getTargetId, getTargetIdInEJBType, getViewStatus, refreshCopyHelper, setAction, setActionRemark, setField1, setField1, setField2, setField2, setField3, setField3, setForumId, setForumId, setId, setId, setInitKey_id, setMsgBody, setMsgStatus, setMsgSubject, setParentMsgId, setParentMsgId, setPosterId, setPosterId, setPostTime, setPostTime, setRootMsgId, setRootMsgId, setTargetId, setTargetId, setViewStatus |
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 |
commandContext
protected CommandContext commandContext
COPYRIGHT
public static final java.lang.String COPYRIGHT
requestProperties
protected TypedProperty requestProperties
ForumMessageDataBean
public ForumMessageDataBean()
- Constructs a ForumMessageDataBean.
ForumMessageDataBean
public ForumMessageDataBean(javax.ejb.EJBObject o)
throws java.rmi.RemoteException
- Constructs a ForumMessageDataBean.
- Parameters:
o
- javax.ejb.EJBObject- Throws:
RemoteException
-
ForumMessageDataBean
public ForumMessageDataBean(ForumMessageAccessBean anAccessBean)
throws java.lang.Exception
- Constructs a ForumMessageDataBean.
- Parameters:
anAccessBean
- com.ibm.commerce.negotiation.objects.ForumMessageAccessBean- Throws:
ECException
-
getCommandContext
public CommandContext getCommandContext()
- Gets the active commandContext.
- Specified by:
getCommandContext
in interface SmartDataBean
- Returns:
- the active commandContext.
getMsgId
public java.lang.String getMsgId()
- Gets the msgId.
- Specified by:
getMsgId
in interface ForumMessageSmartDataBean
- Returns:
- the message id.
getRequestProperties
public TypedProperty getRequestProperties()
- Fetches the command properties.
- Specified by:
getRequestProperties
in interface InputDataBean
- Returns:
- com.ibm.commerce.datatype.TypedProperty
populate
public void populate()
throws java.lang.Exception
- Fetches field values from the access bean.
- Specified by:
populate
in interface SmartDataBean
- Throws:
java.lang.Exception
- On any access bean error.
setCommandContext
public void setCommandContext(CommandContext newCommandContext)
- Sets the active commandContext.
- Specified by:
setCommandContext
in interface SmartDataBean
- Parameters:
newCommandContext
- the active command context.
setMsgId
public void setMsgId(java.lang.String newMsgId)
- Sets the msgId, uses it to set key field of access bean.
- Specified by:
setMsgId
in interface ForumMessageInputDataBean
- Parameters:
newMsgId
- the id of the next message to be manipulated.
setRequestProperties
public void setRequestProperties(TypedProperty newRequestProperties)
- Copies the input command properties.
- Specified by:
setRequestProperties
in interface InputDataBean
- Parameters:
newRequestProperties
- The request properties.