public class MessageInfoListBean extends NegotiationListBean implements MessageInfoListInputDataBean, MessageInfoListSmartDataBean, Protectable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
sortingAtt
emptyString
Constructor and Description |
---|
MessageInfoListBean()
Constructs a message info list bean object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
Determines if a given member fulfills a given relationship with the resource.
|
java.lang.String |
getMessageId()
Gets message ID.
|
MessageInfoDataBean[] |
getMessages()
Returns a list of messages.
|
MessageInfoDataBean |
getMessge(int index)
Returns a specific message from a message list.
|
java.lang.String[] |
getMsgMultipleStatus()
Gets multiple message status.
|
java.lang.String |
getMsgRecipientId()
Gets recipient ID.
|
java.lang.String |
getMsgSenderId()
Gets sender ID.
|
java.lang.String |
getMsgSendStatus()
Gets message send status.
|
java.lang.Integer |
getMsgsNum()
Gets number of messages.
|
java.lang.String |
getMsgStatus()
Gets Message status.
|
java.lang.Long |
getOwner()
Returns the member reference number of the owner.
|
void |
populate()
Creates a sorted list of message info beans.
|
void |
setMessageId(java.lang.String newMessageId)
Sets Message ID.
|
void |
setMessages(MessageInfoDataBean[] newMessageVector)
Populates a message array with a message list.
|
void |
setMsgMultipleStatus(java.lang.String[] newMsgMultipleStatus)
Sets multiple message status.
|
void |
setMsgMultipleStatusStr(java.lang.String newMsgMultipleStatusStr)
Sets multiple message status.
|
void |
setMsgRecipientId(java.lang.String newMsgRecipientId)
Sets recipient ID.
|
void |
setMsgSenderId(java.lang.String newMsgSenderId)
Sets sender ID.
|
void |
setMsgSendStatus(java.lang.String newMsgSendStatus)
Sets message send status.
|
void |
setMsgStatus(java.lang.String newMsgStatus)
Sets message status.
|
getLength, getSortAtt, setSortAtt, setSortAttByString
getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public MessageInfoListBean()
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception
fulfills
in interface Protectable
fulfills
in class SmartDataBeanImpl
member
- Member ID of the memberrelationship
- The relationship the member has with respect to the resourcejava.lang.Exception
public java.lang.String getMessageId()
getMessageId
in interface MessageInfoListSmartDataBean
public MessageInfoDataBean[] getMessages()
getMessages
in interface MessageInfoListSmartDataBean
public MessageInfoDataBean getMessge(int index)
getMessge
in interface MessageInfoListSmartDataBean
index
- intpublic java.lang.String[] getMsgMultipleStatus()
getMsgMultipleStatus
in interface MessageInfoListSmartDataBean
public java.lang.String getMsgRecipientId()
getMsgRecipientId
in interface MessageInfoListSmartDataBean
public java.lang.String getMsgSenderId()
getMsgSenderId
in interface MessageInfoListSmartDataBean
public java.lang.String getMsgSendStatus()
getMsgSendStatus
in interface MessageInfoListSmartDataBean
public java.lang.String getMsgStatus()
getMsgStatus
in interface MessageInfoListSmartDataBean
public java.lang.Long getOwner() throws java.lang.Exception
getOwner
in interface Protectable
java.lang.Exception
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
- This method should never be thrown because there is no data retrieved to populate the data bean.public void setMessageId(java.lang.String newMessageId)
setMessageId
in interface MessageInfoListInputDataBean
newMessageId
- public void setMessages(MessageInfoDataBean[] newMessageVector)
setMessages
in interface MessageInfoListInputDataBean
newMessageVector
- public void setMsgMultipleStatus(java.lang.String[] newMsgMultipleStatus)
setMsgMultipleStatus
in interface MessageInfoListInputDataBean
newMsgMultipleStatus
- public void setMsgRecipientId(java.lang.String newMsgRecipientId)
setMsgRecipientId
in interface MessageInfoListInputDataBean
newMsgRecipientId
- public void setMsgSenderId(java.lang.String newMsgSenderId)
setMsgSenderId
in interface MessageInfoListInputDataBean
newMsgSenderId
- public void setMsgSendStatus(java.lang.String newMsgSendStatus)
setMsgSendStatus
in interface MessageInfoListInputDataBean
newMsgSendStatus
- public void setMsgStatus(java.lang.String newMsgStatus)
setMsgStatus
in interface MessageInfoListInputDataBean
newMsgStatus
- public void setMsgMultipleStatusStr(java.lang.String newMsgMultipleStatusStr)
newMsgMultipleStatus
- public java.lang.Integer getMsgsNum()