Supported Bean: ScheduleBean
WebBeanFactory.newScheduleBean()
Once created, the bean needs to associated with a content and a trigger before it can be saved
The content is defined using a valid report/document. This is set using ScheduleBean.setContent(String, int)
.
The trigger to be used with this schedule is defined by adding a new trigger ID to the list retrieved using
ScheduleBean.getTriggers()
.Event handler: com.microstrategy.web.beans.EnumEventHandlerTypes.HANDLER_TYPE_SCHEDULE (512)
Events
cancel | ||||
Calls cancel on the ScheduleBean . |
512004 | |||
deleteSchedule | ||||
Deletes the current schedule. |
512002 | |||
*objectID | Argument specifying the content object ID. |
512003 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_CONTENT_OBJECT_ID |
|
*objectType | Argument specifying the content object type. |
512004 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_CONTENT_OBJECT_TYPE |
|
*triggerID | Argument specifying the trigger ID. |
512005 | ||
saveSchedule | ||||
Saves the current schedule. This accepts all arguments that are accepted by
EnumScheduleBeanEvents.SCHEDULE_EVENT_SET_STATE . |
512001 | |||
edit | Argument specifying that the bean represents an existing schedule. |
512007 | ||
execFlags | execution flags. |
5120013 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_EXECUTION_FLAGS |
|
mobile |
5120016 | |||
objectID | Argument specifying the content object ID. |
512003 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_CONTENT_OBJECT_ID |
|
objectType | Argument specifying the content object type. |
512004 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_CONTENT_OBJECT_TYPE |
|
overwrite | Argument specifying whether or not to overwrite an existing schedule that was created with the same content and trigger. |
512006 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_OVERWRITE_EXISTING |
|
reuse | Indicates whether the messageID should be reused or new messages should be created with each execution. |
512008 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_REUSE_MESSAGE |
|
stateID | Argument specifying the state ID. |
512002 | ||
triggerID | Argument specifying the trigger ID. |
512005 | ||
vmode | Indicates the view mode of the report. |
512009 | ||
setScheduleState | ||||
Initializes the state of the Schedule bean. The content parameters are used only if the content is not already set. |
512003 | |||
edit | Argument specifying that the bean represents an existing schedule. |
512007 | ||
elementsPromptAnswers | Plain element prompt answer. |
5120012 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_PLAIN_ELEMENT_PROMPT_ANSWER |
|
messageID | Argument specifying the message ID. |
512001 | ||
mobile |
5120016 | |||
objectID | Argument specifying the content object ID. |
512003 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_CONTENT_OBJECT_ID |
|
objectsPromptAnswers | Plain objects prompt answer. |
5120015 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_PLAIN_OBJECT_PROMPT_ANSWER |
|
objectType | Argument specifying the content object type. |
512004 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_CONTENT_OBJECT_TYPE |
|
originMessageID | Origin message ID. |
5120010 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_ORIGIN_MESSAGE_ID |
|
overwrite | Argument specifying whether or not to overwrite an existing schedule that was created with the same content and trigger. |
512006 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_OVERWRITE_EXISTING |
|
promptsAnswerXML | Origin short answer XML. |
5120011 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_ORIGIN_SHORT_ANSWER_XML |
|
reuse | Indicates whether the messageID should be reused or new messages should be created with each execution. |
512008 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_REUSE_MESSAGE |
|
stateID | Argument specifying the state ID. |
512002 | ||
triggerID | Argument specifying the trigger ID. |
512005 | ||
valuePromptAnswers | Plain value prompt answer. |
5120014 |
EnumScheduleBeanEvents.SCHEDULE_EVENT_ARGUMENT_PLAIN_VALUE_PROMPT_ANSWER |
|
vmode | Indicates the view mode of the report. |
512009 |
Notes
* denotes required field.