com.microstrategy.web.objects.WebSubscriptionContent |
![]() |
This object encapsulates the report/document that the user subscribes to. It has methods to retrieve the addresses and triggers that are relevant to that particular report/document. This object can also be used to read/change the personalization (prompt answers).
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | VIEW_MODE_GRAPH | Constant value indicating that the view is Graph | |||||||||
String | VIEW_MODE_GRID | Constant value indicating that the view is Grid | |||||||||
String | VIEW_MODE_GRID_GRAPH | Constant value indicating that the view is Grid and Graph |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract SimpleList | getAddresses() | ||||||||||
abstract SimpleList | getAvailableFormats() | ||||||||||
abstract int |
getContentType()
Indicates the type of content.
| ||||||||||
abstract SimpleList | getLocations() | ||||||||||
abstract WebObjectInfo | getTarget() | ||||||||||
abstract boolean |
getTriggerNonSchedulable()
return whether the trigger is nonSchedulable.
| ||||||||||
abstract SimpleList | getTriggers() | ||||||||||
abstract boolean |
hasPageBy()
Returns if the content has a page by (in the case of reports) or a group by
(in the case of documents)
| ||||||||||
abstract boolean |
isAlertContentDifferentFromSubscriptionContent()
Returns if the content that is delivered in an alert subscription is different from the
content on which the alert is based on.
| ||||||||||
abstract boolean | isPersonalized() | ||||||||||
abstract void |
removeMessage()
Remove the message if there's any.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constant value indicating that the view is Graph
Constant value indicating that the view is Grid
Constant value indicating that the view is Grid and Graph
SimpleList
of user addresses relevant for this content (report/document).WebObjectsException | Thrown if there is an error reading the list of addresses from the metadata |
---|
WebSubscriptionContentFormat
objectsWebObjectsException | if there is an error retrieving the list of format objects |
---|
Indicates the type of content.
This is a value from EnumWebSubscriptionContentTypes
EnumWebSubscriptionContentTypes
return whether the trigger is nonSchedulable.
WebObjectsException |
---|
SimpleList
of triggers relevant for this content (report/document).WebObjectsException | Thrown if there is an error reading the list of triggers from the metadata |
---|
Returns if the content has a page by (in the case of reports) or a group by (in the case of documents)
WebObjectsException | |
WebObjectsException |
Returns if the content that is delivered in an alert subscription is different from the content on which the alert is based on. This is the case when the alerting condition is created on report R1, but the subscription is set up to send a different report or document
WebObjectsException | Thrown if there is an error reading information about the prompts collection |
---|