com.microstrategy.webapi.IDSSXMLScheduleServer |
The IDSSXMLScheduleServer interface is used to schedule, unschedule, and view the schedules of reports, documents, or cache expirations.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
GetScheduleDetail(String sessionID, String scheduleXML)
This method returns the detail of a schedule defined by the ScheduleXML passed in.
| ||||||||||
abstract String |
GetSchedules(String sessionID, String filterXML, int blockBegin, int blockCount)
This method retrieves existing schedules.
| ||||||||||
abstract String |
GetSchedules2(String sessionID, String filterXML, int flags, int blockBegin, int blockCount)
This method retrieves existing schedules while passing a flag parameter.
| ||||||||||
abstract String |
GetTriggerByTimePattern(String sessionID, int options, boolean includeExpired, int monthValue, int monthRecurrence, int weekValue, int weekRecurrence, int dayValue, int dayRecurrence, int dayOfWeekValue, int dayOfWeekRecurrence, int hourValue, int hourRecurrence)
This method return platform hidden time-based triggers defined in MD by the trigger time definition@return
| ||||||||||
abstract String |
GetTriggers(String sessionID, int options)
This method returns a list of triggers that can be used for scheduling purposes.
| ||||||||||
abstract String |
GetTriggers(String sessionID, int options, boolean includeExpired, String id, int type, String projectId)
This method returns a lit of triggers defined in the MD, with an option to include Expired triggers
| ||||||||||
abstract String |
GetTriggers(String sessionID, int options, boolean includeExpired)
This method returns a lit of triggers defined in the MD, with an option to include Expired triggers
| ||||||||||
abstract void |
Schedule(String sessionID, String scheduleXML)
This method creates the schedule(s) defined by the ScheduleXML.
| ||||||||||
abstract void |
Unschedule(String sessionID, String scheduleXML)
This method deletes the schedule(s) defined by the ScheduleXML.
| ||||||||||
abstract void |
deleteScheduledMaintenance(String sessionID, String id, String name, String userID, String userName, WebProject project, String triggerID, int cmdID, boolean mobile, String timeAndPara)
This method is to delete an existing scheduled maintenance.
| ||||||||||
abstract String |
getScheduledMaintenance(String sessionID, String userID, String projectID, String triggerID, String contentID, int flag, int sff)
This method retrieves existing scheduled maintenances.
| ||||||||||
abstract void |
saveScheduledMaintenance(String sessionID, String userID, String userName, WebProject project, String triggerID, int cmdID, boolean mobile, String timeAndPara)
This method is to create a new scheduled maintenance.
|
This method returns the detail of a schedule defined by the ScheduleXML passed in.
sessionID | A valid Session ID. |
---|---|
scheduleXML | An XML definition of a schedule. |
MSTRWebAPIException | Signals an error condition. |
---|
This method retrieves existing schedules. The schedules to be retrieved are restricted by the FilterXML parameter.
sessionID | A valid session ID. |
---|---|
filterXML | The filtering condition for the schedules to be retrieved in XML format. |
blockBegin | Defines the beginning of the schedule list being returned. This is used for incremental fetch. |
blockCount | Defines the number of items in the schedule list to return. This is used for incremental fetch. |
MSTRWebAPIException | Signals an error condition. |
---|
This method retrieves existing schedules while passing a flag parameter. The schedules to be retrieved are restricted by the FilterXML parameter.
sessionID | A valid session ID. |
---|---|
filterXML | The filtering condition for the schedules to be retrieved in XML format. |
flags | The flags to use when obtaining schedule details, from EnumDSSXMLGetScheduleFlags . |
blockBegin | Defines the beginning of the schedule list being returned. This is used for incremental fetch. |
blockCount | Defines the number of items in the schedule list to return. This is used for incremental fetch. |
MSTRWebAPIException | Signals an error condition. |
---|
This method return platform hidden time-based triggers defined in MD by the trigger time definition@return
sessionID | A valid session ID |
---|---|
options | Options to control the final result. This value comes from EnumDSSXMLTriggerOptions . |
includeExpired | Boolean to include expired triggers. |
monthValue | Month value of trigger definition |
monthRecurrence | Month recurrence type of trigger definition. This value comes form EnumDSSXMLTimeOccurrenceType . |
weekValue | Week value of trigger definition |
weekRecurrence | Week recurrence type of trigger definition. This value comes form EnumDSSXMLTimeOccurrenceType . |
dayValue | Day value of trigger definition |
dayRecurrence | Day recurrence type of trigger definition. This value comes form EnumDSSXMLTimeOccurrenceType . |
dayOfWeekValue | Day Of Week value of trigger definition |
dayOfWeekRecurrence | Day Of Week recurrence type of trigger definition. This value comes form EnumDSSXMLTimeOccurrenceType . |
hourValue | Hour value of trigger definition |
hourRecurrence | Hour recurrence type of trigger definition. This value comes form EnumDSSXMLTimeOccurrenceType . |
MSTRWebAPIException |
---|
This method returns a list of triggers that can be used for scheduling purposes.
sessionID | A valid Session ID. |
---|---|
options | Options to control the final result. This value comes from EnumDSSXMLTriggerOptions . |
MSTRWebAPIException | Signals an error condition. |
---|
This method returns a lit of triggers defined in the MD, with an option to include Expired triggers
sessionID | A valid Session ID. |
---|---|
options | Options to control the final result. This value comes from EnumDSSXMLTriggerOptions . |
includeExpired | Boolean to include expired triggers. |
id | project id |
type | Object type for the target |
MSTRWebAPIException | Signals an error condition. |
---|
This method returns a lit of triggers defined in the MD, with an option to include Expired triggers
sessionID | A valid Session ID. |
---|---|
options | Options to control the final result. This value comes from EnumDSSXMLTriggerOptions . |
includeExpired | Boolean to include expired triggers. |
MSTRWebAPIException | Signals an error condition. |
---|
This method creates the schedule(s) defined by the ScheduleXML.
sessionID | A valid session ID. |
---|---|
scheduleXML | Definition of the schedule to be added in XML format. |
MSTRWebAPIException | Signals an error condition. |
---|
This method deletes the schedule(s) defined by the ScheduleXML.
sessionID | A valid session ID. |
---|---|
scheduleXML | Definition of the schedule to be removed in XML format. To unschedule a request, a user does not have to pass all the information passed while scheduling the request. He only needs to pass what the GetSchedules request returns. For example, in the case of a report schedule, we dont need the personalization info to delete the schedule (personalization is not returned by the GetSchedules call). |
MSTRWebAPIException | Signals an error condition. |
---|
This method is to delete an existing scheduled maintenance.
MSTRWebAPIException | Signals an error condition. |
---|
This method retrieves existing scheduled maintenances. The schedule maintenances to be retrieved are restricted by the FilterXML parameter.
flag | comes from EnumDSSXMLGetScheduleFlags |
---|---|
sff | comes from EnumDSSXMLScheduleFilterFlags |
MSTRWebAPIException | Signals an error condition. |
---|
This method is to create a new scheduled maintenance.
MSTRWebAPIException | Signals an error condition. |
---|