com.microstrategy.web.objects.WebScheduleSource |
This interface is deprecated.
Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions.
Please use WebSubscriptionsSource
instead.
This is the top-level scheduling SDK object. It serves as the entry point for the web scheduling functionality. It provides methods to retrieve, filter and sort existing schedules. It also provides support for adding new schedules to the Intelligence Server.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getBlockBegin()
Returns the value of blockBegin set on this object.
| ||||||||||
abstract int |
getBlockCount()
Returns the value of blockCount set on this object.
| ||||||||||
abstract WebSchedule |
getNewScheduleObject(WebObjectInfo object)
Returns a new
WebSchedule object with the schedule object passed. | ||||||||||
abstract WebSchedule |
getNewScheduleObject(WebObjectInfo object, WebScheduleTrigger trigger)
Returns a new
WebSchedule object with WebObjectInfo object passed as the target and WebScheduleTrigger trigger. | ||||||||||
abstract WebSchedules |
getNewSchedulesObject()
Returns a new
WebSchedules object which is empty. | ||||||||||
abstract WebSchedules |
getSchedules()
Gets all the schedules that the current user has privileges to see.
| ||||||||||
abstract WebSchedules |
getSchedules(WebObjectInfo object)
Gets the current schedules for the object passed.
| ||||||||||
abstract int |
getSortField()
Retrieves the sorting criterion for the schedules.
| ||||||||||
abstract WebFolder |
getTriggers()
Gets the current triggers within the project
| ||||||||||
abstract WebFolder |
getTriggers(String id, int type, String projectId)
Gets the current triggers within the project
| ||||||||||
abstract WebSchedule |
getUserSchedule(WebObjectInfo object, WebScheduleTrigger trigger, boolean populate)
Creates a
WebSchedule object for the user corresponding to an existing schedule on IServer. | ||||||||||
abstract WebSchedule |
getUserSchedule(WebObjectInfo object, WebScheduleTrigger trigger)
Creates a
WebSchedule object for the user corresponding an existing schedule on IServer. | ||||||||||
abstract WebSchedules |
getUserSchedules(WebObjectInfo object)
Gets only those schedules that were created by the current user that match the filtering
restriction placed by passing in a certain object.
| ||||||||||
abstract WebSchedules |
getUserSchedules()
Gets only those schedules that were created by the current user.
| ||||||||||
abstract boolean |
isSortAscending()
Returns true if the sorting is in ascending order.
| ||||||||||
abstract WebSchedule |
restoreScheduleFromState(SAXSupport parser, String uri, String localName, String qName, Attributes attrs)
Creates a new
WebSchedule object using the parser object passed. | ||||||||||
abstract WebSchedule |
restoreScheduleFromState(String state)
Creates a new
WebSchedule object corresponding to the state String passed. | ||||||||||
abstract void |
setBlockBegin(int blockBegin)
Sets the value of blockBegin on this object.
| ||||||||||
abstract void |
setBlockCount(int blockCount)
Sets the value of blockCount on this object.
| ||||||||||
abstract void |
setSortAscending(boolean asc)
Sets the sorting order.
| ||||||||||
abstract void |
setSortField(int flags)
Sets the sorting criterion for the schedules.
|
Returns the value of blockBegin set on this object. The blockBegin and blockCount parameters are used to incrementally fetch the schedules.
Returns the value of blockCount set on this object. The blockBegin and blockCount parameters are used to incrementally fetch the schedules.
Returns a new WebSchedule
object with the schedule object passed. Allowed object types are DssXmlTypeScheduleTrigger
,
DssXmlTypeReportDefinition
& DssXmlTypeDocumentDefinition
.
WebSchedule
objectIllegalArgumentException | if the target passed is invalid. |
---|
Returns a new WebSchedule
object with WebObjectInfo
object passed as the target and WebScheduleTrigger
trigger.
WebSchedule
objectIllegalArgumentException | if the target passed is invalid. |
---|
Returns a new WebSchedules
object which is empty. WebSchedule
objects can be added to it using the add(WebSchedule)
method
WebSchedules
object
Gets all the schedules that the current user has privileges to see. Note that some of these schedules may have been created by a different user The schedules are populated with details from IServer.
WebSchedules
objectwhenever there is an error in retrieving information from the Intelligence Server | |
WebObjectsException |
Gets the current schedules for the object passed. The schedules are populated with details from IServer. The returned list includes all the schedules that the current user has access to. Allowed object types for the objects that passed in as an argument are
WebSchedules
objectwhenever there is an error in retrieving information from the Intelligence Server | |
WebObjectsException |
Retrieves the sorting criterion for the schedules. The possible attributes for
sorting are enumerated in EnumWebScheduleSort
Gets the current triggers within the project
WebFolder
object containing the triggerswhenever there is an error in retrieving information from the Intelligence Server | |
WebObjectsException |
Gets the current triggers within the project
id | Object id for content |
---|---|
type | Object type for content |
projectId | Id of project |
WebFolder
object containing the triggerswhenever there is an error in retrieving information from the Intelligence Server | |
WebObjectsException |
Creates a WebSchedule
object for the user corresponding to an existing schedule on IServer. Thus, this
call is intended to be used only when the caller is sure that the user schedule with object and trigger passed exist on the
IServer. Also, based on the value of populate, a call is made to IServer to populate such a WebSchedule.
Allowed object types are DssXmlTypeScheduleTrigger
,
DssXmlTypeReportDefinition
& DssXmlTypeDocumentDefinition
WebSchedule
object with the passed information and populated with details based on the value of populate.if there is an error in populating the details from IServer. | |
IllegalArgumentException | if the object and trigger passed are invalid(null). |
WebObjectsException |
Creates a WebSchedule
object for the user corresponding an existing schedule on IServer. Thus, this
call is intended to be used only when the caller is sure that the user schedule with object and trigger passed exist on the
IServer. Also, no call is made to IServer to populate such a WebSchedule.
Allowed object types are DssXmlTypeScheduleTrigger
,
DssXmlTypeReportDefinition
& DssXmlTypeDocumentDefinition
WebSchedule
object with the passed information.whenever there is an error. | |
IllegalArgumentException | if the object and trigger passed are invalid(null). |
WebObjectsException |
Gets only those schedules that were created by the current user that match the filtering restriction placed by passing in a certain object. These schedules returned are only those that were created by the current user. The schedules are populated with details from IServer. Allowed object types for the objects that passed in as an argument are
WebSchedules
objectwhenever there is an error in retrieving information from the Intelligence Server | |
WebObjectsException |
Gets only those schedules that were created by the current user. The schedules are populated with details from IServer.
WebSchedules
objectwhenever there is an error in retrieving information from the Intelligence Server | |
WebObjectsException |
Returns true if the sorting is in ascending order.
Creates a new WebSchedule
object using the parser object passed.
parser | The parser from which to restore the state for the new WebSchedule object. |
---|
WebSchedule
objectIllegalArgumentException | if the schedule could not be restored. |
---|
Creates a new WebSchedule
object corresponding to the state String passed.
state | The state string from which to restore the state for the new WebSchedule object. |
---|
WebSchedule
objectIllegalArgumentException | if the schedule could not be restored using the state. |
---|
Sets the value of blockBegin on this object. The blockBegin and blockCount parameters are used to incrementally fetch the schedules.
blockBegin | The blockBegin to be set for this object. |
---|
Sets the value of blockCount on this object. The blockBegin and blockCount parameters are used to incrementally fetch the schedules.
blockCount | The blockCount to be set for this object. |
---|
Sets the sorting order.
asc | true if the sorting order is ascending. |
---|
Sets the sorting criterion for the schedules. The possible attributes for
sorting are listed in EnumWebScheduleSort
flags | the parameter to be used to sort the schedules |
---|