Supported Bean: DocumentBean
WebBean
and ObjectBean
interfaces. It reuses the ObjectBean
interface to allow a document to: (a) be
retrieved by name (and with wildcard) (b) retrieve its parent folder bean.
The main methods it provides in this interface are:
transform
, but only when the document is retrieved
from the Intelligence Server. In this way, the Document Bean may be instructed on
when to release its XML and re-execute the document. This is done using a simple
expiration time period, in hours.
Event handler: com.microstrategy.web.beans.EnumEventHandlerTypes.HANDLER_TYPE_DOCUMENT (32)
Events
browseEvent | ||||
event for browsing a given object. |
1001 | |||
*objectID | objectID -- argument using for browsing objects. |
1001 | ||
executionFlags | flags -- integer argument specifying the flags (from EnumDSSXMLObjectFlags ) to be used while performing
object browse operations. |
1003 | ||
cancelRepromptRequestEvent | ||||
Specifies an event to cancel the request. |
32006 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_CANCEL_REPROMPT_REQUEST |
||
cancelRequestEvent | ||||
Specifies an event to cancel the request. |
32003 | |||
ExecuteDocument | ||||
Specifies an event to execute a Document. The possible parameters that can be sent in are |
32001 | |||
documentID | objectID -- argument using for browsing objects. |
1001 | ||
documentName | objectName |
1004 | ||
elementsPromptAnswers | Specifies an argument for the new prompt answer for
WebElementsPrompt in
document drilling. |
32339 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_PLAIN_ELEMENT_PROMPT_ANSWER |
|
executionFlags | Specifies an argument for the object id of a Document. |
32201 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_EXECUTION_FLAGS |
|
linkAnswers |
32351 | |||
messageID | Specifies an argument for the message id of a Document instance. |
32202 | ||
objectsPromptAnswers | Specifies an argument for the new prompt answer for
WebObjectsPrompt in
document drilling. |
32350 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_PLAIN_OBJECT_PROMPT_ANSWER |
|
originMessageID | Specifies an argument for the original document message id in document drilling. |
32337 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_ORIGIN_MESSAGE_ID |
|
promptAnswerMode | An integer prompt answer mode from EnumWebPromptAnswerMode |
32352 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_PROMPT_ANSWER_MODE_OPTION |
|
promptsAnswerXML | Specifies an argument for the original document's prompt answer XML in document drilling. |
32338 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_ORIGIN_SHORT_ANSWER_XML |
|
valuePromptAnswers | Specifies an argument for the new prompt answer for
WebConstantPrompt in
document drilling. |
32349 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_PLAIN_VALUE_PROMPT_ANSWER |
|
initializeFromSchedule | ||||
Specifies an event to initialize the document bean using a schedule. |
32007 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_INITIALIZE_FROM_SCHEDULE |
||
*triggerID | String argument indicating the trigger to be used. |
32203 | ||
saveToInbox | Specifies whether to save the message to inbox. |
32317 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SAVE_TO_INBOX |
|
targetID | The target document ID for the schedule using which a document can be initialized |
32315 | ||
initializeFromSubscription | ||||
Specifies an event to initialize the document bean using a subscription. |
32008 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_INITIALIZE_FROM_SUBSCRIPTION |
||
*_subscriptionID | The subscription ID for the subscription using which a document can be initialized |
32316 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_ID |
|
saveToInbox | Specifies whether to save the message to inbox. |
32317 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SAVE_TO_INBOX |
|
refreshDocument | ||||
Event for refreshing a report. |
32310 | |||
fresh | Argument indicating whether the document to be executed with fresh-execution related execution flags. |
32312 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_REEXECUTE_FRESH |
|
rePrompt | Reprompting option for refreshing a report. |
32311 | ||
saveEmailSubscriptionEvent | ||||
event for saving an email subsription.
|
32005 | |||
*triggerID | String argument indicating the trigger to be used. |
32203 | ||
addressID | String argument indicating the address ID. |
32305 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_ADDRESS_ID |
|
addressValues | String argument indicating the physical addresses to be used for subscription. |
32306 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_ADDRESS_VALUES |
|
cmsg | Message to be saved along with the email subscription |
32314 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_CUSTOM_MESSAGE |
|
deviceID | String argument indicating the deviceID. |
32307 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_DEVICE_ID |
|
emailSubject | String argument indicating the email subject to be used for subscription. |
32308 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_EMAIL_SUBJECT |
|
locKey | Location key for scheduled file and print export |
32330 | ||
sendNow | String argument indicating sendnow property for subscription. |
32309 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_SEND_NOW |
|
zip | Specifies an argument for subscription zip. |
32341 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_ZIP |
|
saveFileSubscriptionEvent | ||||
Specifies an event to save subscription to a file. |
32020 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_SAVE_FILE_SUBSCRIPTION |
||
*locKey | Location key for scheduled file and print export |
32330 | ||
*triggerID | String argument indicating the trigger to be used. |
32203 | ||
addressValues | String argument indicating the physical addresses to be used for subscription. |
32306 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_ADDRESS_VALUES |
|
cmsg | Message to be saved along with the email subscription |
32314 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_CUSTOM_MESSAGE |
|
fileName | File name for scheduled file export |
32331 | ||
notifyAddressID | Subscription notification is sent to this existing address. |
32345 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_NOTIFICATION_ADDRESS_ID |
|
notifyAddressValue | Subscription notification is sent to this new address. If this is supplied, it
takes precedence over
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_NOTIFICATION_ADDRESS_ID . |
32346 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_NOTIFICATION_ADDRESS_VALUE |
|
notifyDeviceID | Specifies an argument for subscription device id. |
32347 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_NOTIFICATION_DEVICE_ID |
|
sendNow | String argument indicating sendnow property for subscription. |
32309 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_SEND_NOW |
|
zip | Specifies an argument for subscription zip. |
32341 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_ZIP |
|
savePrintSubscriptionEvent | ||||
Specifies an event to print subscription. |
32021 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_SAVE_PRINT_SUBSCRIPTION |
||
*locKey | Location key for scheduled file and print export |
32330 | ||
*triggerID | String argument indicating the trigger to be used. |
32203 | ||
addressValue | String argument indicating the physical addresses to be used for subscription. |
32306 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_ADDRESS_VALUES |
|
cmsg | Message to be saved along with the email subscription |
32314 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_CUSTOM_MESSAGE |
|
copies | Specifies an argument for the number of copies. |
32332 | ||
isCollated | Specifies an argument indicating whether it is collated in printer. |
32334 | ||
isPortrait | Specifies an argument indicating whether it is a portait in printer. |
32333 | ||
notifyAddressID | Subscription notification is sent to this existing address. |
32345 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_NOTIFICATION_ADDRESS_ID |
|
notifyAddressValue | Subscription notification is sent to this new address. If this is supplied, it
takes precedence over
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_NOTIFICATION_ADDRESS_ID . |
32346 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_NOTIFICATION_ADDRESS_VALUE |
|
notifyDeviceID | Specifies an argument for subscription device id. |
32347 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_NOTIFICATION_DEVICE_ID |
|
printAll | Specifies an argument whether to print all subscriptions. |
32348 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_PRINT_ALL |
|
rangeEnd | Specifies an argument for range end in printing. |
32336 | ||
rangeStart | Specifies an argument for range start in printing. |
32335 | ||
sendNow | String argument indicating sendnow property for subscription. |
32309 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SUBSCRIPTION_SEND_NOW |
|
saveScheduleEvent | ||||
event for saving the schedule. |
32004 | |||
*triggerID | String argument indicating the trigger to be used. |
32203 | ||
overWrite | Argument indicating whether to overwrite a current schedule, if existing. |
32313 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SCHEDULE_OVERWRITE |
|
reuseMsg | Integer argument indicating whether the message should be reused while scheduling. A value of 1 indicates that it should be reused. |
32304 |
EnumDocumentBeanEvents.DOCUMENT_EVENT_ARGUMENT_SCHEDULE_REUSE_MESSAGE |
|
SaveToInbox | ||||
Specifies an event to save the a Document message into Inbox. |
32002 |
Notes
* denotes required field.