Interface CourseRequisiteProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, CourseRequisiteProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The course requisite manager provides access to course requisite
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager support the passing of a Proxy
for the purposes of passing information within a server application
environment. 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 TypeMethodDescriptiongetRequisiteAdminSession(Proxy proxy) Gets theOsidSessionassociated with the requisite administration service.getRequisiteAdminSessionForCourseCatalog(Id courseCatalogId, Proxy proxy) 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.getRequisiteLookupSession(Proxy proxy) Gets theOsidSessionassociated with the requisite lookup service.getRequisiteLookupSessionForCourseCatalog(Id courseCatalogId, Proxy proxy) Gets theOsidSessionassociated with the requisite lookup service for the given course catalog.getRequisiteNotificationSession(RequisiteReceiver requisiteReceiver, Proxy proxy) Gets theOsidSessionassociated with the requisite notification service.getRequisiteNotificationSessionForCourseCatalog(RequisiteReceiver requisiteReceiver, Id courseCatalogId, Proxy proxy) Gets theOsidSessionassociated with the requisite notification service for the given course catalog.getRequisiteQuerySession(Proxy proxy) Gets theOsidSessionassociated with the requisite query service.getRequisiteQuerySessionForCourseCatalog(Id courseCatalogId, Proxy proxy) Gets theOsidSessionassociated with the requisite query service for the given course catalog.getRequisiteSearchSession(Proxy proxy) Gets theOsidSessionassociated with the requisite search service.getRequisiteSearchSessionForCourseCatalog(Id courseCatalogId, Proxy proxy) Gets theOsidSessionassociated with the requisite search service for the given course catalog.getRequisiteSmartCourseCatalogSession(Id courseCatalogId, Proxy proxy) 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 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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.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.- Parameters:
proxy- proxy- Returns:
- a
RequisiteLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteLookup()} is {@code true} .
-
getRequisiteLookupSessionForCourseCatalog
RequisiteLookupSession getRequisiteLookupSessionForCourseCatalog(Id courseCatalogId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite lookup service for the given course catalog.- Parameters:
courseCatalogId- theIdof the course catalogproxy- proxy- Returns:
- a
RequisiteLookupSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-proxyorcourseCatalogIdisnullOperationFailedException- 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.- Parameters:
proxy- proxy- Returns:
- a
RequisiteQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteQuery()} is {@code true} .
-
getRequisiteQuerySessionForCourseCatalog
RequisiteQuerySession getRequisiteQuerySessionForCourseCatalog(Id courseCatalogId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite query service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalogproxy- proxy- Returns:
- a
RequisiteQuerySession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-proxyorcourseCatalogIdisnullOperationFailedException- 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.- Parameters:
proxy- proxy- Returns:
- a
RequisiteSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteSearch()} is {@code true} .
-
getRequisiteSearchSessionForCourseCatalog
RequisiteSearchSession getRequisiteSearchSessionForCourseCatalog(Id courseCatalogId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite search service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalogproxy- proxy- Returns:
- a
RequisiteSearchSession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-proxyorcourseCatalogIdisnullOperationFailedException- 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.- Parameters:
proxy- proxy- Returns:
- a
RequisiteAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteAdmin()} is {@code true} .
-
getRequisiteAdminSessionForCourseCatalog
RequisiteAdminSession getRequisiteAdminSessionForCourseCatalog(Id courseCatalogId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite administration service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalogproxy- proxy- Returns:
- a
RequisiteAdminSession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-proxyorcourseCatalogIdisnullOperationFailedException- 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, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the requisite notification service.- Parameters:
requisiteReceiver- the notification callbackproxy- proxy- Returns:
- a
RequisiteNotificationSession - Throws:
NullArgumentException-requisiteReceiverorproxyisnullOperationFailedException- 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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite notification service for the given course catalog.- Parameters:
requisiteReceiver- the notification callbackcourseCatalogId- theIdof theCourseCatalogproxy- proxy- Returns:
- a
RequisiteNotificationSession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-requisiteReceiver, courseCatalogIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getRequisiteCourseCatalogSession
RequisiteCourseCatalogSession getRequisiteCourseCatalogSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionto lookup requisite/catalog mappings.- Parameters:
proxy- proxy- Returns:
- a
RequisiteCourseCatalogSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteCourseCatalog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteCourseCatalog()} is {@code true} .
-
getRequisiteCourseCatalogAssignmentSession
RequisiteCourseCatalogAssignmentSession getRequisiteCourseCatalogAssignmentSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with assigning requisites to course catalogs.- Parameters:
proxy- proxy- Returns:
- a
RequisiteCourseCatalogAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteCourseCatalogAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteCourseCatalogAssignment()} is {@code true} .
-
getRequisiteSmartCourseCatalogSession
RequisiteSmartCourseCatalogSession getRequisiteSmartCourseCatalogSession(Id courseCatalogId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the requisite smart course catalog service.- Parameters:
courseCatalogId- theIdof theCourseCatalogproxy- proxy- Returns:
- a
RequisiteSmartCourseCatalogSession - Throws:
NotFoundException- no course catalog found by the givenIdNullArgumentException-courseCatalogIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRequisiteSmartCourseCatalog()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequisiteSmartCourseCatalog()} and {@code supportsVisibleFederation()} are {@code true}
-