Interface | osid.calendaring.SupersedingEvent | ||
---|---|---|---|
Implements | osid.OsidRule | ||
Description |
A | ||
Method | getSupersededEventId | ||
Description |
Gets the event | ||
Return | osid.id.Id | the superseding event Id | |
Compliance | mandatory | This method must be implemented. | |
Method | getSupersededEvent | ||
Description |
Gets the event that is to be superseded. | ||
Return | osid.calendaring.Event | the superseding event | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | getSupersedingEventId | ||
Description |
Gets the event | ||
Return | osid.id.Id | the superseding event Id | |
Compliance | mandatory | This method must be implemented. | |
Method | getSupersedingEvent | ||
Description |
Gets the event that is superseding another. | ||
Return | osid.calendaring.Event | the superseding event | |
Errors | OPERATION_FAILED | unable to complete request | |
Compliance | mandatory | This method must be implemented. | |
Method | supersedesByDate | ||
Description |
Tests if the superseding event replaces an event within
a recurring series offered at a specific date/time. If
| ||
Return | boolean | true if an event is superseded by date, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getSupersededDate | ||
Description |
Gets the date of an event to replace if a recurring event is offered on that date. | ||
Return | osid.calendaring.DateTime | the date of the event to replace | |
Errors | ILLEGAL_STATE | supersedesByDate() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | supersedesByPosition | ||
Description |
Tests if the superseding event replaces an event within
a recurring series identified by its denormalized position
in the series. A negative number counts from the end of
the series. If | ||
Return | boolean | true if an event is superseded by position, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getSupersededEventPosition | ||
Description |
Gets the position in the denormalized recurring series of the event to replace. Positive numbers count from the start and negative numbers count from the end. Zero is invalid. | ||
Return | integer | the position of the event to replace | |
Errors | ILLEGAL_STATE | supersedesByPosition() is false | |
Compliance | mandatory | This method must be implemented. | |
Method | getSupersedingEventRecord | ||
Description |
Gets the superseding event record corresponding to the
given | ||
Parameters | osid.type.Type | supersedingEventRecordType | the type of the record to retrieve |
Return | osid.calendaring.records.SupersedingEventRecord | the superseding event record | |
Errors | NULL_ARGUMENT | supersedingEventRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(supersedingEventRecordType) is false
| ||
Compliance | mandatory | This method must be implemented. |