com.microstrategy.web.beans.MetadataPromptsSource |
This interface is used to represent a source of prompts that originates in the Intelligence Server metadata. This includes, most notably, reports and document objects. It manages three key pieces of information:
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getMessageID()
Returns a report message ID or a document message ID from which
prompts are originated.
| ||||||||||
abstract String |
getObjectID()
Returns the object ID of a report or a document associated with this
source object.
| ||||||||||
abstract int |
getObjectSubType()
Returns the subtype of the object from which prompts are originated.
| ||||||||||
abstract int |
getObjectType()
Returns the type of the object from which prompts are originated.
| ||||||||||
abstract WebSessionInfo |
getSessionInfo()
Returns the
WebSessionInfo object
associated with this source. | ||||||||||
abstract boolean |
isReprompted()
Returns a boolean value indicating whether the current
MetadataPromptSource
is in reprompted status. | ||||||||||
abstract void |
setMessageID(String messageID)
Sets a report message ID or a document message ID from which
prompts are originated.
| ||||||||||
abstract void |
setObjectID(String objectID)
Sets a report object ID or a document object ID on this source object
| ||||||||||
abstract void |
setObjectSubType(int objectSubType)
Sets the subtype of the object from which prompts are originated.
| ||||||||||
abstract void |
setObjectType(int objectType)
Sets the type of the object from which prompts are originated.
| ||||||||||
abstract void |
setSessionInfo(WebSessionInfo sessionInfo)
Sets a
WebSessionInfo object on this source. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns a report message ID or a document message ID from which prompts are originated.
Returns the object ID of a report or a document associated with this source object.
Returns the subtype of the object from which prompts are originated. This property
is relevant only for Report Writer documents.
Thus, if the object type is DssXmlTypeDocumentDefinition
this property can be used to distinguish whether the document type is an ordinary
document or Report Writing Document. In the latter case, the
subtype will be returned as
DssXmlSubTypeReportWritingDocument
EnumDSSXMLObjectSubTypes
.Returns the type of the object from which prompts are originated. The
possible value is either DssXmlTypeReportDefinition
or
DssXmlTypeDocumentDefinition
.
EnumDSSXMLObjectTypes
.
Returns the WebSessionInfo
object
associated with this source.
WebSessionInfo
object.
Returns a boolean value indicating whether the current MetadataPromptSource
is in reprompted status.
true
if the current MetadataPromptSource
is in reprompted
status. Sets a report message ID or a document message ID from which prompts are originated.
messageID | a report or document message ID. |
---|
UnsupportedOperationException | thrown if the object is read-only. |
---|
Sets a report object ID or a document object ID on this source object
objectID | a report object ID or a document object ID. |
---|
UnsupportedOperationException | thrown if the object is read-only. |
---|
Sets the subtype of the object from which prompts are originated. This property
needs to be set only for Report Writer documents.
Thus, if the object type is set to DssXmlTypeDocumentDefinition
this property will be used to distinguish whether the document type is an ordinary
document or Report Writing Document. In the latter case, the caller needs to make
sure that subtype is set to
DssXmlSubTypeReportWritingDocument
objectSubType | a value from EnumDSSXMLObjectSubTypes . |
---|
UnsupportedOperationException | thrown if the object is read-only. |
---|
Sets the type of the object from which prompts are originated. The
possible value is either DssXmlTypeReportDefinition
or
DssXmlTypeDocumentDefinition
.
objectType | a value from EnumDSSXMLObjectTypes . |
---|
UnsupportedOperationException | thrown if the object is read-only. |
---|
Sets a WebSessionInfo
object on this source.
sessionInfo | a WebSessionInfo object. |
---|
UnsupportedOperationException | thrown if the object is read-only. |
---|