Interface CourseRequisiteManager
- All Superinterfaces:
AutoCloseable, Closeable, CourseRequisiteProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The course requisite manager provides access to course requisite sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
RequisiteLookupSession: a session to retrieve requisites -
RequisiteQuerySession: a session to query requisites -
RequisiteSearchSession: a session to search for requisites -
RequisiteAdminSession: a session to create and delete requisites -
RequisiteNotificationSession: a session to receive notifications pertaining to requisite changes -
RequisiteCourseCatalogSession: a session to look up requisite to course catalog mappings -
RequisiteCourseCatalogAssignmentSession: a session to manage requisite to course catalog mappings -
RequisiteSmartCourseCatalogSession: a session to manage dynamic course catalogs of requisites
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the requisite administration service.getRequisiteAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the requisite administration service for the given course catalog.Gets theOsidSessionassociated with assigning requisites to course catalogs.Gets theOsidSessionto lookup requisite/catalog mappings.Gets theOsidSessionassociated with the requisite lookup service.getRequisiteLookupSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the requisite lookup service for the given course catalog.getRequisiteNotificationSession(RequisiteReceiver requisiteReceiver) Gets theOsidSessionassociated with the requisite notification service.getRequisiteNotificationSessionForCourseCatalog(RequisiteReceiver requisiteReceiver, Id courseCatalogId) Gets theOsidSessionassociated with the course notification service for the given course catalog.Gets theOsidSessionassociated with the requisite query service.getRequisiteQuerySessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the requisite query service for the given course catalog.Gets theOsidSessionassociated with the requisite search service.getRequisiteSearchSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the requisite search service for the given course catalog.getRequisiteSmartCourseCatalogSession(Id courseCatalogId) Gets theOsidSessionassociated with the requisite smart course catalog service.Methods inherited from interface CourseRequisiteProfile
getAssessmentRequirementRecordTypes, getAwardRequirementRecordTypes, getCourseRequirementRecordTypes, getCredentialRequirementRecordTypes, getLearningObjectiveRequirementRecordTypes, getProgramRequirementRecordTypes, getRequisiteRecordTypes, getRequisiteSearchRecordTypes, supportsAssessmentRequirementRecordType, supportsAwardRequirementRecordType, supportsCourseRequirementRecordType, supportsCredentialRequirementRecordType, supportsLearningObjectiveRequirementRecordType, supportsProgramRequirementRecordType, supportsRequisiteAdmin, supportsRequisiteCourseCatalog, supportsRequisiteCourseCatalogAssignment, supportsRequisiteLookup, supportsRequisiteNotification, supportsRequisiteQuery, supportsRequisiteRecordType, supportsRequisiteSearch, supportsRequisiteSearchRecordType, supportsRequisiteSmartCourseCatalog, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedAsessmentRequirementrecord types.Gets the supportedAsessmentRequirementrecord types.Gets the supportedCourseRequirementrecord types.Gets the supportedCredentialRequirementrecord types.Gets the supportedLearningObjectiveRequirementrecord types.Gets the supportedProgramRequirementrecord types.Gets the supportedRequisiterecord types.Gets the supportedRequisitesearch record types.booleansupportsAssessmentRequirementRecordType(Type assessmentRequirementRecordType) Tests if the givenAsessmentRequirementrecord type is supported.booleansupportsAwardRequirementRecordType(Type awardRequirementRecordType) Tests if the givenAsessmentRequirementrecord type is supported.booleansupportsCourseRequirementRecordType(Type courseRequirementRecordType) Tests if the givenCourseRequirementrecord type is supported.booleansupportsCredentialRequirementRecordType(Type credentialRequirementRecordType) Tests if the givenCredentialRequirementrecord type is supported.booleansupportsLearningObjectiveRequirementRecordType(Type learningObjectiveRequirementRecordType) Tests if the givenLearningObjectiveRequirementrecord type is supported.booleansupportsProgramRequirementRecordType(Type programRequirementRecordType) Tests if the givenProgramRequirementrecord type is supported.booleanTests if requisite administrative service is supported.booleanTests if a requisite cataloging service is supported.booleanTests if a course cataloging service is supported.booleanTests if looking up requisites is supported.booleanTests if a requisite notification service is supported.booleanTests if querying requisites is supported.booleansupportsRequisiteRecordType(Type requisiteRecordType) Tests if the givenRequisiterecord type is supported.booleanTests if searching requisites is supported.booleansupportsRequisiteSearchRecordType(Type requisiteSearchRecordType) Tests if the givenRequisitesearch record type is supported.booleanTests if a requisite smart course catalog session is available.booleanTests if any course catalog federation is exposed.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getRequisiteLookupSession
Gets theOsidSessionassociated with the requisite lookup service.- Returns:
- a
RequisiteLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteLookup()} is {@code true} .
-
getRequisiteLookupSessionForCourseCatalog
RequisiteLookupSession getRequisiteLookupSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite lookup service for the given course catalog.- Parameters:
courseCatalogId- theIdof the course catalog- Returns:
- a
RequisiteLookupSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getRequisiteQuerySession
Gets theOsidSessionassociated with the requisite query service.- Returns:
- a
RequisiteQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteQuery()} is {@code true} .
-
getRequisiteQuerySessionForCourseCatalog
RequisiteQuerySession getRequisiteQuerySessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite query service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
RequisiteQuerySession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getRequisiteSearchSession
Gets theOsidSessionassociated with the requisite search service.- Returns:
- a
RequisiteSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteSearch()} is {@code true} .
-
getRequisiteSearchSessionForCourseCatalog
RequisiteSearchSession getRequisiteSearchSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite search service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
RequisiteSearchSession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getRequisiteAdminSession
Gets theOsidSessionassociated with the requisite administration service.- Returns:
- a
RequisiteAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteAdmin()} is {@code true} .
-
getRequisiteAdminSessionForCourseCatalog
RequisiteAdminSession getRequisiteAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite administration service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
RequisiteAdminSession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getRequisiteNotificationSession
RequisiteNotificationSession getRequisiteNotificationSession(RequisiteReceiver requisiteReceiver) throws OperationFailedException Gets theOsidSessionassociated with the requisite notification service.- Parameters:
requisiteReceiver- the notification callback- Returns:
- a
RequisiteNotificationSession - Throws:
NullArgumentException-requisiteReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteNotification()} is {@code true} .
-
getRequisiteNotificationSessionForCourseCatalog
RequisiteNotificationSession getRequisiteNotificationSessionForCourseCatalog(RequisiteReceiver requisiteReceiver, Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the course notification service for the given course catalog.- Parameters:
requisiteReceiver- the notification callbackcourseCatalogId- theIdof theCourseCatalog- Returns:
- a
RequisiteNotificationSession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-requisiteReceiverorcourseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getRequisiteCourseCatalogSession
Gets theOsidSessionto lookup requisite/catalog mappings.- Returns:
- a
RequisiteCourseCatalogSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteCourseCatalog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteCourseCatalog()} is {@code true} .
-
getRequisiteCourseCatalogAssignmentSession
RequisiteCourseCatalogAssignmentSession getRequisiteCourseCatalogAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning requisites to course catalogs.- Returns:
- a
RequisiteCourseCatalogAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteCourseCatalogAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteCourseCatalogAssignment()} is {@code true} .
-
getRequisiteSmartCourseCatalogSession
RequisiteSmartCourseCatalogSession getRequisiteSmartCourseCatalogSession(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite smart course catalog service.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
RequisiteSmartCourseCatalogSession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteSmartCourseCatalog()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteSmartCourseCatalog()} and {@code supportsVisibleFederation()} are {@code true}
-