Package com.microstrategy.web.objects
Interface WebSchedule
- 
- All Superinterfaces:
- EditableObject,- EnumWebPersistableState,- Persistable
 
 public interface WebSchedule extends EditableObject, Persistable Deprecated.Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions. Hence please useWebSubscriptioninstead.This class holds the information regarding a Web Schedule. A Schedule object isEditableObjectandPersistable.A schedule object comprises of a schedule trigger object and a request object. The schedule trigger object ( WebScheduleTrigger) defines when the schedule is triggered and the request object (WebRequest) defines the command the server will execute. The request object consists of a statement which used to define the server command.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Field Summary- 
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableStateBARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description WebMessagesgetInboxMessages()Deprecated.Returns the list ofWebMessagesin Inbox corresponding to this schedule.WebRequestgetRequest()Deprecated.Retrieves the request for the scheduleWebScheduleTriggergetTrigger()Deprecated.Retrieves the trigger for the schedulebooleanisExisting()Deprecated.indicates whether the schedule is an existing onevoidsave(boolean overwrite)Deprecated.saves this schedulevoidsetTrigger(WebScheduleTrigger trigger)Deprecated.Adds a trigger for the schedule- 
Methods inherited from interface com.microstrategy.web.objects.EditableObjectdelete, save, save
 - 
Methods inherited from interface com.microstrategy.utils.serialization.PersistablerestoreState, restoreState, saveState, saveState, saveState, saveState
 
- 
 
- 
- 
- 
Method Detail- 
getTriggerWebScheduleTrigger getTrigger() Deprecated.Retrieves the trigger for the schedule- Returns:
- WebScheduleTriggerobject for the schedule
 
 - 
setTriggervoid setTrigger(WebScheduleTrigger trigger) throws java.lang.IllegalArgumentException Deprecated.Adds a trigger for the schedule- Throws:
- java.lang.IllegalArgumentException- if the trigger passed is invalid (null).
 
 - 
getRequestWebRequest getRequest() Deprecated.Retrieves the request for the schedule- Returns:
- WebRequestobject for the schedule
 
 - 
isExistingboolean isExisting() Deprecated.indicates whether the schedule is an existing one- Returns:
- whether the schedule is an existing one
 
 - 
getInboxMessagesWebMessages getInboxMessages() throws WebObjectsException Deprecated.Returns the list ofWebMessagesin Inbox corresponding to this schedule.- Returns:
- The messages in Inbox corresponding to this schedule.
- Throws:
- WebObjectsException- if an error is encountered while retrieving messages from Inbox.
 
 - 
savevoid save(boolean overwrite) throws WebObjectsException Deprecated.saves this schedule- Parameters:
- overwrite- boolean indicating whether or not to overwrite an existing schedule previously created with the same object and trigger
- Throws:
- WebObjectsException
- Since:
- MicroStrategy Web 8.0.0
 
 
- 
 
-