com.microstrategy.web.beans.InboxBean |
The InboxBean
interface allows the users to manage their
History List. The main functionalities it provides in this interface are:
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
cancelRename()
Cancels the message ID and name set via
setRenameEditable(String) | ||||||||||
abstract int |
getInboxFlags()
Returns a flag of
EnumDSSXMLInboxFlags indicating how much
details to include in the returned Inbox messages, as well as those
details about removing and saving Inbox messages. | ||||||||||
abstract String | getRenameEditable() | ||||||||||
abstract int |
getSortField()
Returns the sorting field of the Inbox messages.
| ||||||||||
abstract WebMessages |
getWebMessages()
Returns the Inbox messages in a
WebMessages instance. | ||||||||||
abstract boolean |
isSavedInInbox(String messageID)
Returns true if the specified message has already been saved in the
Inbox.
| ||||||||||
abstract boolean |
isSortAscending()
Returns true if the sorting is in ascending order.
| ||||||||||
abstract void |
removeInboxMessage(String messageID)
Removes a single message from the Inbox.
| ||||||||||
abstract void |
rename(String name)
Sets the new message name for
getRenameEditable() . | ||||||||||
abstract void |
saveToInbox(String messageID, int stateID)
Saves a message along with its specific state into Inbox.
| ||||||||||
abstract void |
saveToInbox(String messageID)
Saves a message with its latest state into Inbox.
| ||||||||||
abstract void |
setInboxFlags(int flags)
Sets the flag of
EnumDSSXMLInboxFlags indicating how much
details to include in the returned Inbox messages, as well as those
details about removing and saving Inbox messages. | ||||||||||
abstract void |
setRenameEditable(String messageID)
Marks a message for renaming.
| ||||||||||
abstract void |
setSortAscending(boolean asc)
Sets the Inbox message sorting order.
| ||||||||||
abstract void |
setSortField(int sortField)
Sets the sorting field of the Inbox messages.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Cancels the message ID and name set via setRenameEditable(String)
Returns a flag of EnumDSSXMLInboxFlags
indicating how much
details to include in the returned Inbox messages, as well as those
details about removing and saving Inbox messages.
Returns the sorting field of the Inbox messages.
EnumWebMessageSortByField
.
The default value is WebMessageSortByCreationTime.WebMessageSortByCreationTime
Returns the Inbox messages in a WebMessages
instance.
This method is affected by the Inbox flags which instructs the
Intelligence Server how much details to bring back.
WebBeanException | thrown if the Inbox messages can not be retrieved. |
---|
Returns true if the specified message has already been saved in the Inbox.
messageID | the message ID of an message. |
---|
WebBeanException | thrown if this information can not be retrieved from backend. |
---|
Returns true if the sorting is in ascending order.
Removes a single message from the Inbox.
messageID | the message ID of an Inbox message. |
---|
WebBeanException | thrown if the message can not be removed from the Inbox. |
---|
Sets the new message name for getRenameEditable()
.
name | new name. |
---|
WebBeanException |
---|
Saves a message along with its specific state into Inbox. The Inbox flags is used in this method to specify what to keep in the saved Inbox message.
messageID | the message ID of an message |
---|---|
stateID | the state id of an message. The default state id is -1, meaning the latest state. |
WebBeanException | thrown if the message can not be saved to the Inbox. |
---|
Saves a message with its latest state into Inbox. The Inbox flags is used in this method to specify what to keep in the saved Inbox message.
messageID | the message id of an message. |
---|
WebBeanException | thrown if the message can not be saved to the Inbox. |
---|
Sets the flag of EnumDSSXMLInboxFlags
indicating how much
details to include in the returned Inbox messages, as well as those
details about removing and saving Inbox messages.
flags | a flag indicating how much details. |
---|
Marks a message for renaming.
messageID | message marked for renaming. |
---|
Sets the Inbox message sorting order.
asc | true if the sorting order is ascending. |
---|
Sets the sorting field of the Inbox messages.
sortField | the sorting field specified in
EnumWebMessageSortByField .
|
---|