Interface | osid.calendaring.SupersedingEventAdminSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create a For updates, The delete operations delete This session includes an | ||
Method | getCalendarId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Calendar Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getCalendar | ||
Description |
Gets the | ||
Return | osid.calendaring.Calendar | the Calendar associated with this session | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canCreateSupersedingEvents | ||
Description |
Tests if this user can create | ||
Return | boolean | false if Event creation is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | canCreateSupersedingEventWithRecordTypes | ||
Description |
Tests if this user can create a single | ||
Parameters | osid.type.Type[] | supersdeingEventRecordTypes | array of superseding evnt record types |
Return | boolean | true if SupersedingEvent creation using the
specified record Types is supported, false
otherwise | |
Errors | NULL_ARGUMENT | supersedingEventRecordTypes is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getSupersedingEventFormForCreate | ||
Description |
Gets the superseding event form for creating new events. A new form should be requested for each create transaction. | ||
Parameters | osid.id.Id | supersededEventId | the Id of the superseded event |
osid.id.Id | supersedingEventId | the Id of the superseding event | |
osid.type.Type[] | supersdeingEventRecordTypes | array of superseding evnt record types | |
Return | osid.calendaring.SupersedingEventForm | the superseding event form | |
Errors | NOT_FOUND | supersededEventId or supersedingEventId not
found | |
NULL_ARGUMENT | supersededEventId, supersedingEventId, or
supersdeingEventRecordTypes is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | unable to get form for requested record types | ||
Compliance | mandatory | This method must be implemented. | |
Method | createSupersedingEvent | ||
Description |
Creates a new | ||
Parameters | osid.calendaring.SupersedingEventForm | supersedingEventForm | the form for this SupersedingEvent |
Return | osid.calendaring.SupersedingEvent | the new SupersedingEvent | |
Errors | ILLEGAL_STATE | supersdeingEventForm already used in a create transaction | |
INVALID_ARGUMENT | one or more of the form elements is invalid | ||
NULL_ARGUMENT | supersdeingEventForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | supersedingEventForm did not originate from
getSupersedingEventFormForCreate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canUpdateSupersedingEvents | ||
Description |
Tests if this user can update | ||
Return | boolean | false if superseding event modification is not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getSupersedingEventFormForUpdate | ||
Description |
Gets the superseding event form for updating an existing superseding event. A new superseding event form should be requested for each update transaction. | ||
Parameters | osid.id.Id | supersedingEventId | the Id of the SupersedingEvent |
Return | osid.calendaring.SupersedingEventForm | the superseding event form | |
Errors | NOT_FOUND | supersedingEventId is not found | |
NULL_ARGUMENT | supersedingEventId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateSupersedingEvent | ||
Description |
Updates an existing superseding event. | ||
Parameters | osid.calendaring.SupersedingEventForm | supersedingEventForm | the form containing the elements to be updated |
Errors | ILLEGAL_STATE | supersdeingEventForm already used in an update transaction | |
INVALID_ARGUMENT | the form contains an invalid value | ||
NULL_ARGUMENT | supersedingEventForm is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | supersedingEventForm did not originate from
getSupersedingEventFormForUpdate() | ||
Compliance | mandatory | This method must be implemented. | |
Method | canDeleteSupersedingEvents | ||
Description |
Tests if this user can delete | ||
Return | boolean | false if SupersedingEvent deletion is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | deleteSupersedingEvent | ||
Description |
Deletes the | ||
Parameters | osid.id.Id | supersedingEventId | the Id of the SupersedingEvent to delete |
Errors | NOT_FOUND | a SupersedingEvent was not found identified by the given
Id | |
NULL_ARGUMENT | supersedingEventId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canManageSupersedingEventAliases | ||
Description |
Tests if this user can manage | ||
Return | boolean | false if SupersedingEvent aliasing is not
authorized, true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | aliasSupersedingEvent | ||
Description |
Adds an | ||
Parameters | osid.id.Id | supersedingEventId | the Id of a SupersedingEvent |
osid.id.Id | aliasId | the alias Id | |
Errors | ALREADY_EXISTS | aliasId is already assigned | |
NOT_FOUND | supersedingEventId not found | ||
NULL_ARGUMENT | supersedingEventId or aliasId is null
| ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |