Interface CourseBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, CourseBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The course batch manager provides access to course batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
CourseBatchAdminSession: a session to create, modify and delete courses in bulk -
ActivityUnitBatchAdminSession: a session to create, modify and delete activity units in bulk -
CourseOfferingBatchSession: a session to create, modify and delete course offerings in bulk -
ActivityBatchAdminSession: a session to create, modify and delete activities in bulk -
TermBatchAdminSession: a session to create, modify and delete terms in bulk -
CourseCatalogBatchAdminSession: a session to create, modify and delete course catalogs in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk activity administration service.getActivityBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk activity administration service for the given course catalogGets theOsidSessionassociated with the bulk activity unit administration service.getActivityUnitBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk activity unit administration service for the given course catalogGets theOsidSessionassociated with the bulk course administration service.getCourseBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk course administration service for the given course catalogGets theOsidSessionassociated with the bulk course catalog administration service.Gets theOsidSessionassociated with the bulk course offering administration service.getCourseOfferingBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk course offering administration service for the given course catalogGets theOsidSessionassociated with the bulk term administration service.getTermBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk term administration service for the given course catalog.Methods inherited from interface CourseBatchProfile
supportsActivityBatchAdmin, supportsActivityUnitBatchAdmin, supportsCourseBatchAdmin, supportsCourseCatalogBatchAdmin, supportsCourseOfferingBatchAdmin, supportsTermBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of activities is available.booleanTests if bulk administration of activity units is available.booleanTests if bulk administration of courses is available.booleanTests if bulk administration of course catalogs is available.booleanTests if bulk administration of course offerings is available.booleanTests if bulk administration of terms is available.booleanTests if federation is visible.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
-
getCourseBatchAdminSession
Gets theOsidSessionassociated with the bulk course administration service.- Returns:
- a
CourseBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCourseBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseBatchAdmin()} is {@code true} .
-
getCourseBatchAdminSessionForCourseCatalog
CourseBatchAdminSession getCourseBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk course administration service for the given course catalog- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
CourseBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCourseBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getActivityUnitBatchAdminSession
Gets theOsidSessionassociated with the bulk activity unit administration service.- Returns:
- an
ActivityUnitBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsActivityUnitBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityUnitBatchAdmin()} is {@code true} .
-
getActivityUnitBatchAdminSessionForCourseCatalog
ActivityUnitBatchAdminSession getActivityUnitBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk activity unit administration service for the given course catalog- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- an
ActivityUnitBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsActivityUnitBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityUnitBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getCourseOfferingBatchAdminSession
CourseOfferingBatchAdminSession getCourseOfferingBatchAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the bulk course offering administration service.- Returns:
- a
CourseOfferingBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCourseOfferingBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseOfferingBatchAdmin()} is {@code true} .
-
getCourseOfferingBatchAdminSessionForCourseCatalog
CourseOfferingBatchAdminSession getCourseOfferingBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk course offering administration service for the given course catalog- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
CourseOfferingBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCourseOfferingBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseOfferingBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getActivityBatchAdminSession
Gets theOsidSessionassociated with the bulk activity administration service.- Returns:
- an
ActivityBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsActivityBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityBatchAdmin()} is {@code true} .
-
getActivityBatchAdminSessionForCourseCatalog
ActivityBatchAdminSession getActivityBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk activity administration service for the given course catalog- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- an
ActivityBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsActivityBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getTermBatchAdminSession
Gets theOsidSessionassociated with the bulk term administration service.- Returns:
- a
TermBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsTermBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTermBatchAdmin()} is {@code true} .
-
getTermBatchAdminSessionForCourseCatalog
TermBatchAdminSession getTermBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk term administration service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
TermBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsTermBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTermBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getCourseCatalogBatchAdminSession
Gets theOsidSessionassociated with the bulk course catalog administration service.- Returns:
- a
CourseCatalogBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCourseCatalogBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseCatalogBatchAdmin()} is {@code true} .
-