Interface | osid.offering.OfferingNotificationSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session defines methods to receive notifications on
adds/changes to | ||
Method | getCatalogueId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Catalogue Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogue | ||
Description |
Gets the | ||
Return | osid.offering.Catalogue | the catalogue | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canRegisterForOfferingNotifications | ||
Description |
Tests if this user can register for | ||
Return | boolean | false if notification methods are not authorized,
true otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useFederatedCatalogueView | ||
Description |
Federates the view for methods in this session. A federated view will include notifications for offeringss in catalogues which are children of this catalogue in the catalogue hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedCatalogueView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts notifications to this catalogue only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | registerForNewOfferings | ||
Description |
Register for notifications of new offerings. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewOfferingsForCanonicalUnit | ||
Description |
Registers for notification of new offerings for the
given canonical unit. | ||
Parameters | osid.id.Id | canonicalUnitId | the Id of the CanonicalUnit to monitor |
Errors | NULL_ARGUMENT | canonicalUnitId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForNewOfferingsForTimePeriod | ||
Description |
Registers for notification of new offerings for the
given time period. | ||
Parameters | osid.id.Id | timePeriodId | the Id of the TimePeriod to monitor |
Errors | NULL_ARGUMENT | timePeriodId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedOfferings | ||
Description |
Registers for notification of updated offerings. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedOfferingsForCanonicalUnit | ||
Description |
Registers for notification of updated offerings for the
given canonical unit. | ||
Parameters | osid.id.Id | canonicalUnitId | the Id of the CanonicalUnit to monitor |
Errors | NULL_ARGUMENT | canonicalUnitId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedOfferingsForTimePeriod | ||
Description |
Registers for notification of updated offerings for the
given time period. | ||
Parameters | osid.id.Id | timePeriodId | the Id of the TimePeriod to monitor |
Errors | NULL_ARGUMENT | timePeriodId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForChangedOffering | ||
Description |
Registers for notification of an updated offering.
| ||
Parameters | osid.id.Id | offeringId | the Id of the Offering to monitor |
Errors | NOT_FOUND | an offering was not found identified by the given Id | |
NULL_ARGUMENT | offeringId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedOfferings | ||
Description |
Registers for notification of deleted offerings. | ||
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedOfferingsForCanonicalUnit | ||
Description |
Registers for notification of deleted offerings for the
given canonical unit. | ||
Parameters | osid.id.Id | canonicalUnitId | the Id of the CanonicalUnit to monitor |
Errors | NULL_ARGUMENT | canonicalUnitId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedOfferingsForTimePeriod | ||
Description |
Registers for notification of updated offerings for the
given time period. | ||
Parameters | osid.id.Id | timePeriodId | the Id of the TimePeriod to monitor |
Errors | NULL_ARGUMENT | timePeriodId is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | registerForDeletedOffering | ||
Description |
Registers for notification of a deleted offering.
| ||
Parameters | osid.id.Id | offeringId | the Id of the Offering to monitor |
Errors | NOT_FOUND | an offering was not found identified by the given Id | |
NULL_ARGUMENT | offeringId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |