|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.negotiation.objects.MessageInfoAccessBean | +--com.ibm.commerce.negotiation.beans.MessageInfoDataBean
Retrieves information about a message. The primary key is message id and recipient id.
Field Summary | |
protected java.lang.String |
aString
|
protected CommandContext |
commandContext
|
protected java.lang.String |
messageId
|
protected java.lang.String |
msgRecipientId
|
protected TypedProperty |
requestProperties
|
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Fields inherited from interface com.ibm.commerce.security.Protectable |
COPYRIGHT |
Constructor Summary | |
MessageInfoDataBean()
Constructs a MessageInfoDataBean object. |
|
MessageInfoDataBean(javax.ejb.EJBObject o)
Constructs a MessageInfoDataBean object. |
|
MessageInfoDataBean(MessageInfoAccessBean anAccess)
Constructs a MessageInfoDataBean object. |
Method Summary | |
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
Determines if a given member fulfills a given relationship with the resource. |
CommandContext |
getCommandContext()
Get command context. |
java.lang.String |
getMessageId()
Fetches the message id. |
java.lang.String |
getMsgDelayDate()
Get message delay date. |
java.lang.String |
getMsgDelayTime()
Get message delay time. |
java.lang.String |
getMsgPostDate()
Get message post date. |
java.lang.String |
getMsgPostTime()
Get message post time. |
java.lang.Long |
getOwner()
Return the member reference number of the owner. |
TypedProperty |
getRequestProperties()
Fetches the request properties. |
void |
populate()
Retrieves message information and populates MessageInfoDataBean object. |
void |
setCommandContext(CommandContext aCommandContext)
Set command context. |
void |
setMessageId(java.lang.String newMessageId)
Set message id. |
void |
setMsgRecipientId(java.lang.String newRecipientId)
Set message recipient id. |
void |
setRequestProperties(TypedProperty newRequestProperties)
Copies the request properties. |
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 |
Field Detail |
protected java.lang.String aString
protected CommandContext commandContext
protected java.lang.String messageId
protected java.lang.String msgRecipientId
protected TypedProperty requestProperties
Constructor Detail |
public MessageInfoDataBean()
public MessageInfoDataBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
- If an error occurs while processing an EJB request.public MessageInfoDataBean(MessageInfoAccessBean anAccess) throws java.lang.Exception
Method Detail |
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception, java.rmi.RemoteException
fulfills
in interface Protectable
member
- Member id of the memberrelationship
- The relationship the member has with respect to the resourcepublic CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public java.lang.String getMessageId()
getMessageId
in interface MessageInfoSmartDataBean
public java.lang.String getMsgDelayDate()
getMsgDelayDate
in interface MessageInfoSmartDataBean
public java.lang.String getMsgDelayTime()
getMsgDelayTime
in interface MessageInfoSmartDataBean
public java.lang.String getMsgPostDate()
getMsgPostDate
in interface MessageInfoSmartDataBean
public java.lang.String getMsgPostTime()
getMsgPostTime
in interface MessageInfoSmartDataBean
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException
getOwner
in interface Protectable
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
public void setMessageId(java.lang.String newMessageId)
setMessageId
in interface MessageInfoInputDataBean
public void setMsgRecipientId(java.lang.String newRecipientId)
setMsgRecipientId
in interface MessageInfoInputDataBean
public void setRequestProperties(TypedProperty newRequestProperties)
setRequestProperties
in interface InputDataBean
newRequestProperties
- com.ibm.commerce.datatype.TypedProperty
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |