com.ibm.commerce.negotiation.beans
Class MessageCountDataBean
java.lang.Object
|
+--com.ibm.ivj.ejb.runtime.AbstractAccessBean
|
+--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
|
+--com.ibm.commerce.negotiation.objects.MessageCountAccessBean
|
+--com.ibm.commerce.negotiation.beans.MessageCountDataBean
- All Implemented Interfaces:
- DataBean, InputDataBean, MessageCountAccessBeanData, MessageCountInputDataBean, MessageCountSmartDataBean, java.io.Serializable, SmartDataBean
- public class MessageCountDataBean
- extends MessageCountAccessBean
- implements MessageCountInputDataBean, MessageCountSmartDataBean, SmartDataBean
Returns the total count of messages for the specified user and message status. The primary key is recipient Id and message status.
- See Also:
- 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.MessageCountAccessBean |
commitCopyHelper, findAll, findByRecipient, findByRecipientAndMultipleStatus, findByRecipientAndStatus, getCount, getCountInEJBType, getRecipientId, getRecipientIdInEJBType, getStatus, refreshCopyHelper, setInitKey_recipientId, setInitKey_status |
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 |
aString
protected java.lang.String aString
commandContext
protected CommandContext commandContext
msgRecipientId
protected java.lang.String msgRecipientId
msgStatus
protected java.lang.String msgStatus
requestProperties
protected TypedProperty requestProperties
MessageCountDataBean
public MessageCountDataBean()
- Constructs a MessageCountDataBean object.
MessageCountDataBean
public MessageCountDataBean(javax.ejb.EJBObject o)
throws java.rmi.RemoteException
- Constructs a MessageCountDataBean object.
- Parameters:
o
- javax.ejb.EJBObject- Throws:
java.rmi.RemoteException
- If an error occurs while processing an EJB request.
MessageCountDataBean
public MessageCountDataBean(MessageCountAccessBean anAccessBean)
throws java.lang.Exception
- Constructs a MessageCountDataBean object.
getCommandContext
public CommandContext getCommandContext()
- Get command context.
- Specified by:
getCommandContext
in interface SmartDataBean
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
- Retrieves message count and populates MessageCountDataBean object.
- Specified by:
populate
in interface SmartDataBean
setCommandContext
public void setCommandContext(CommandContext aCommandContext)
- Set command context.
- Specified by:
setCommandContext
in interface SmartDataBean
setMsgRecipientId
public void setMsgRecipientId(java.lang.String newRecipientId)
- Set message recipient id.
- Specified by:
setMsgRecipientId
in interface MessageCountInputDataBean
setMsgStatus
public void setMsgStatus(java.lang.String newMsgStatus)
- Set message status.
- Specified by:
setMsgStatus
in interface MessageCountInputDataBean
setRequestProperties
public void setRequestProperties(TypedProperty newRequestProperties)
- Copies the command input properties.
- Specified by:
setRequestProperties
in interface InputDataBean
- Parameters:
newRequestProperties
- com.ibm.commerce.datatype.TypedProperty