java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.negotiation.objects.MessageCountAccessBean
com.ibm.commerce.negotiation.beans.MessageCountDataBean
Returns the total count of messages for the specified user and message status. The primary key is recipient Id and message status.
Field Summary | |
protected java.lang.String | aString |
protected CommandContext | commandContext |
protected java.lang.String | msgRecipientId |
protected java.lang.String | msgStatus |
protected TypedProperty | requestProperties |
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
MessageCountDataBean() Constructs a MessageCountDataBean object. |
|
MessageCountDataBean(MessageCountAccessBean anAccessBean) Constructs a MessageCountDataBean object. |
Method Summary | |
CommandContext | getCommandContext() Get command context. |
TypedProperty | getRequestProperties() Fetches the command properties. |
void | populate() Retrieves message count and populates MessageCountDataBean object. |
void | setCommandContext(CommandContext aCommandContext) Set command context. |
void | setMsgRecipientId(java.lang.String newRecipientId) Set message recipient id. |
void | setMsgStatus(java.lang.String newMsgStatus) Set message status. |
void | setRequestProperties(TypedProperty newRequestProperties) Copies the command input properties. |
Methods inherited from class com.ibm.commerce.negotiation.objects.MessageCountAccessBean |
commitCopyHelper, defaultJNDIName, findAll, findByRecipient, findByRecipientAndMultipleStatus, findByRecipientAndStatus, getCount, getCountInEJBType, getRecipientId, getRecipientIdInEJBType, getStatus, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, setInitKey_recipientId, setInitKey_status |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String msgRecipientId
protected java.lang.String msgStatus
protected java.lang.String aString
protected CommandContext commandContext
protected TypedProperty requestProperties
Constructor Detail |
public MessageCountDataBean()
public MessageCountDataBean(MessageCountAccessBean anAccessBean) throws java.lang.Exception
Method Detail |
public CommandContext getCommandContext()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext aCommandContext)
public void setMsgRecipientId(java.lang.String newRecipientId)
public void setMsgStatus(java.lang.String newMsgStatus)
public void setRequestProperties(TypedProperty newRequestProperties)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.