Package com.microstrategy.web.objects
Interface WebSubscriptionContentDocument
-
- All Superinterfaces:
EnumWebPersistableState,Persistable,StringKey,WebSubscriptionComponent,WebSubscriptionContent,WebSubscriptionContentProperties
public interface WebSubscriptionContentDocument extends WebSubscriptionContent
This interface extendsWebSubscriptionContentand represents a content wrapper for a document.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
Fields inherited from interface com.microstrategy.web.objects.WebSubscriptionContent
VIEW_MODE_GRAPH, VIEW_MODE_GRID, VIEW_MODE_GRID_GRAPH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.microstrategy.web.objects.RWExportSettingsImplgetExportSettings()This needs to be used to set Mode in case of File Bursting.As without setting the mode the backend fails the subscription.java.util.List<java.lang.String>getNodeKeys()Get the node keys of this subscription content.WebPromptsgetPrompts()Returns the prompts collection that is determined by the content that is setWebObjectInfogetTarget()Returns theWebObjectInfoof the document that this object representsbooleanisMultiLayout()Returnstrueif the document has multiple layouts.booleanisResolved()Returns a boolean indicating whether all the prompts have been resolvedvoidreprompt()Reopens the prompts if they have already been answered.voidsetKeepAnswersOpen()Sets whether we should keep the prompt answers open while creating the underlyingRWInstanceorWebDocumentInstanceBy default, we will close the answers.-
Methods inherited from interface com.microstrategy.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState, saveState, saveState
-
Methods inherited from interface com.microstrategy.utils.StringKey
getStringKey
-
Methods inherited from interface com.microstrategy.web.objects.WebSubscriptionComponent
getDescription, getID, getName, getSessionInfo, getType, isPopulated, populate
-
Methods inherited from interface com.microstrategy.web.objects.WebSubscriptionContent
getAddresses, getAvailableFormats, getBookmarkIds, getContentModes, getContentType, getLocations, getTriggerNonSchedulable, getTriggers, hasPageBy, isAlertContentDifferentFromSubscriptionContent, isPersonalized, removeMessage, setBookmarkIds, setContentModes
-
Methods inherited from interface com.microstrategy.web.objects.WebSubscriptionContentProperties
getFormat, getFormatMode, isFormatCompressed, setCompressed, setFormat, setFormatMode
-
-
-
-
Method Detail
-
getPrompts
WebPrompts getPrompts() throws WebObjectsException
Returns the prompts collection that is determined by the content that is set- Returns:
WebPromptscollection for the content set- Throws:
WebObjectsException
-
reprompt
void reprompt() throws WebObjectsExceptionReopens the prompts if they have already been answered. The underlying document instance needs to be in a result status for this to take effect. If the status is not result, then a WebObjectsException is thrown- Throws:
WebObjectsException- thrown if the underlying document instance is not in a ready status or if there is any other error while trying to reload the prompts- Since:
- MicroStrategy Web 8.0.0
-
isResolved
boolean isResolved() throws WebObjectsExceptionReturns a boolean indicating whether all the prompts have been resolved- Returns:
- boolean
- Throws:
WebObjectsException
-
getTarget
WebObjectInfo getTarget() throws WebObjectsException
Returns theWebObjectInfoof the document that this object represents- Specified by:
getTargetin interfaceWebSubscriptionContent- Returns:
- the
WebObjectInfoof the document that this object represents - Throws:
WebObjectsException
-
isMultiLayout
boolean isMultiLayout() throws WebObjectsExceptionReturnstrueif the document has multiple layouts. Otherwise returnsfalse- Throws:
WebObjectsException- Since:
- MicroStrategy Web 9.0.0
-
setKeepAnswersOpen
void setKeepAnswersOpen() throws WebObjectsExceptionSets whether we should keep the prompt answers open while creating the underlyingRWInstanceorWebDocumentInstanceBy default, we will close the answers. Note that this flag will only take effect if the underlyingRWInstanceorWebDocumentInstancehas not yet been created.- Throws:
WebObjectsException- Since:
- MicroStrategy Web 9.0.0
-
getExportSettings
com.microstrategy.web.objects.RWExportSettingsImpl getExportSettings()
This needs to be used to set Mode in case of File Bursting.As without setting the mode the backend fails the subscription.- Throws:
WebObjectsException- Since:
- MicroStrategy Web 9.4.1 Hotfix
-
getNodeKeys
java.util.List<java.lang.String> getNodeKeys()
Get the node keys of this subscription content.- Returns:
- the node keys
- Since:
- MicroStrategy Web 11.3.5
-
-