Appointment class
From Catglobe Wiki
More actions
Appointment
Represents an appointment on the time-planner.
Parent class
Inherits from Array
Constructors
Methods
- Empty Delete() - Removes this appointment from the database
- Empty Save() - Saves this appointment to the database
- string ToString() - The string representation of the object.
- object this[] { get; }(int index "Index") - Backward-compatible indexer
- Empty this[] { get; }(int index "Index", object value "Value to set") - Backward-compatible indexer
Properties
- number Average { get; } - Average of the objects in the Array object. Can only use if all the elements are of type Number
- DateTime EndDate { get; set; } - The appointment end date and time
- int Id { get; } - The appointment primary key (0 for unsaved)
- string Location { get; set; } - The appointment location
- number Max { get; } - Largest of all the objects in the Array object. Can only use if all the elements are of type Number
- number Min { get; } - Smallest of all the objects in the Array object. Can only use if all the elements are of type Number
- string Notes { get; set; } - The appointment notes
- string ObjectTypeName { get; } - The name of the type of object.
- int ResourceResourceId { get; set; } - Resource id of the associated resource
- DateTime StartDate { get; set; } - The appointment start date and time
- number Sum { get; } - Sum of all the objects in the Array object. Can only use if all the elements are of type Number
- TypeInformation TypeInformation { get; } - Get information about this class.
- int UserResourceId { get; set; } - Resource id of the associated user
Static Methods
- Array of Appointment Appointment_getAppointmentsInTimeSpanByResource(int Resource resource id "Resource unique id", DateTime startDate "Start of the time span", DateTime endDate "End of the time span") - Returns all appointments for a resource within a date range
- Array of Appointment Appointment_getAppointmentsInTimeSpanByUser(int User resource id "User resource unique id", DateTime startDate "Start of the time span", DateTime endDate "End of the time span") - Returns all appointments for a user within a date range