Search
Schedule Methods
 


 Public Methods

  Name Description

CancelCompositeOperation

Stops recording undo/redo commands into a CompositeCommand and discards the records created so far.

Clear

Clears all items, tasks, locations, contacts and resources contained in this schedule.

CommitCompositeOperation

Stops recording undo/redo commands into a CompositeCommand and saves the composite in the history queue.

ExecuteCommand

Executes the specified command on this schedule.

GetAllItems

Overloaded. Retrieves a collection of all events, including recurrent item instances, scheduled to occur in the specified time interval.

GetFreePeriod

Overloaded. Returns the next period with the specified duration after the specified date, which is not occupied by items.

GetItemsToRemindOf

Overloaded. Retrieves a collection of all items that must be reminded of.

GetLargestFreePeriod

Returns the largest free period in the specified range.

GetTasksToRemindOf

Overloaded. Retrieves a collection of all tasks that must be reminded of.

IsClassRegistered

Overloaded. Checks whether a specified class identifier or type is registered for serialization.

IsClientClassRegistered

Checks whether an item or resource type with the specified id is registered for JSON serialization.

LoadFrom

Loads schedule data from a file.

LoadFromJson

Loads the schedule from a JSON-formatted string.

LoadFromJsonObject

Loads the schedule from a JsonObject.

LoadFromString

Decodes schedule data from a string previously created by SaveToString.

LoadFromXml

Loads schedule data from an XML document.

Redo

Executes again an action saved in the command history.

RegisterItemClass

Overloaded.  

RegisterResourceClass

Overloaded.  

SaveTo

Saves the schedule to a file.

SaveToJson

Saves the schedule to a JSON-formatted string.

SaveToJsonObject

Saves the schedule to a JsonObject.

SaveToString

Encodes the schedule into a string.

SaveToXml

Saves the schedule to an XML document.

StartCompositeOperation

Starts recording undo/redo commands into a CompositeCommand.

Undo

Undoes an action saved in the command history.

UnregisterClass

Overloaded. Unregisters the item or resource with the specified class identifier or type from the system.

 Protected Methods

  Name Description

OnActionRedone

Raises the ActionRedone event.

OnActionUndone

Raises the ActionUndone event.

OnDeserializeTag

Raises the DeserializeTag event.

OnExceptionCreated

Raises the ExceptionCreated event.

OnInstantiateItem

Raises the InstantiateItem event.

OnInstantiateResource

Raises the InstantiateResource event.

OnItemEndTimeChanged

Raises the ItemEndTimeChanged event.

OnItemEndTimeTriggered

Raises the ItemEndTimeTriggered event.

OnItemReminderTriggered

Raises the ItemReminderTriggered event.

OnItemResourceChanged

Raises the ItemResourceChanged event.

OnItemsEnded

Raises the ItemsEnded event.

OnItemsStarted

Raises the ItemsStarted event.

OnItemStartTimeChanged

Raises the ItemStartTimeChanged event.

OnItemVisualsChanged

Raises the ItemVisualsChanged event.

OnJsonDeserializeTag

Raises the DeserializeTag event.

OnJsonSerializeTag

Raises the JsonSerializeTag event.

OnRecurrenceReset

Raises the RecurrenceReset event.

OnSerializeTag

Raises the SerializeTag event.

OnTaskReminderTriggered

Raises the TaskReminderTriggered event.

 See Also