Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Summary

osid.OsidSession OsidManagers are the top level service endpoint interface interfaces into an OSID Provider. 

Table of Contents

OsidManagers

The job of an OsidManager is to:

  1. articulate what OsidSessions are supported
  2. access OsidSessions
  3. articulate what (sub) OsidManagers are supported
  4. access OsidManagers
  5. articulate what Types are supported
  6. articulate what Locales are supported
  7. identify the OSID Provider
  8. provide the ability to access versions of an OSID Provider

...

The specification groups the identity and support methods into OsidProfiles which are extended to become osid.an OsidManager.

Example

This is an example subset of the Learning OSID where two of the OsidSessions manage retrieval and querying of learning objectives.

MethodsupportsObjectiveLookup
DescriptionTests if an objective lookup service is supported. An objective lookup service defines methods to access objectives.
Returnbooleantrue if objective lookup is supported, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetObjectiveLookupSession
DescriptionGets the OsidSession associated with the objective lookup service.
Returnosid.learning.ObjectiveLookupSessionan ObjectiveLookupSession

Errors

OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsObjectiveLookup() is false
ComplianceoptionalThis method must be implemented if supportsObjectiveLookup() is true.

Method

supportsObjectiveQuery
DescriptionTests if an objective query service is supported.
Returnbooleantrue if objective query is supported, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetObjectiveQuerySession
DescriptionGets the OsidSession associated with the objective query service.
Returnosid.learning.ObjectiveQuerySessionan ObjectiveQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsObjectiveQuery() is false
ComplianceoptionalThis method must be implemented if supportsObjectiveQuery() is true.

...