Interface CourseProgramBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, CourseProgramBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The course program batch manager provides access to course program batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
ProgramBatchAdminSession: a session to create, modify and delete programs in bulk -
ProgramOfferingBatchAdminSession: a session to create, modify and delete program offerings in bulk -
CredentialBatchAdminSession: a session to create, modify and delete cerdentials in bulk -
EnrollmentBatchAdminSession: a session to create, modify and delete enrollments in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk credential administration service.getCredentialBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk credential administration service for the given course catalog.Gets theOsidSessionassociated with the bulk enrollment administration service.getEnrollmentBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk enrollment administration service for the given course catalog.Gets theOsidSessionassociated with the bulk program administration service.getProgramBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk program administration service for the given course catalog.Gets theOsidSessionassociated with the bulk program offering administration service.getProgramOfferingBatchAdminSessionForCourseCatalog(Id courseCatalogId) Gets theOsidSessionassociated with the bulk program offering administration service for the given course catalog.Methods inherited from interface CourseProgramBatchProfile
supportsCredentialBatchAdmin, supportsEnrollmentBatchAdmin, supportsProgramBatchAdmin, supportsProgramOfferingBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of credentials is available.booleanTests if bulk administration of enrollments is available.booleanTests if bulk administration of programs is available.booleanTests if bulk administration of program offerings 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
-
getProgramBatchAdminSession
Gets theOsidSessionassociated with the bulk program administration service.- Returns:
- a
ProgramBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProgramBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProgramBatchAdmin()} is {@code true} .
-
getProgramBatchAdminSessionForCourseCatalog
ProgramBatchAdminSession getProgramBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk program administration service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
ProgramBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProgramBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProgramBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getProgramOfferingBatchAdminSession
ProgramOfferingBatchAdminSession getProgramOfferingBatchAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the bulk program offering administration service.- Returns:
- a
ProgramOfferingBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProgramOfferingBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProgramOfferingBatchAdmin()} is {@code true} .
-
getProgramOfferingBatchAdminSessionForCourseCatalog
ProgramOfferingBatchAdminSession getProgramOfferingBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk program offering administration service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
ProgramOfferingBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProgramOfferingBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProgramOfferingBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getCredentialBatchAdminSession
Gets theOsidSessionassociated with the bulk credential administration service.- Returns:
- a
CredentialBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCredentialBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCredentialBatchAdmin()} is {@code true} .
-
getCredentialBatchAdminSessionForCourseCatalog
CredentialBatchAdminSession getCredentialBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk credential administration service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- a
CredentialBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCredentialBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCredentialBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getEnrollmentBatchAdminSession
Gets theOsidSessionassociated with the bulk enrollment administration service.- Returns:
- an
EnrollmentBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEnrollmentBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEnrollmentBatchAdmin()} is {@code true} .
-
getEnrollmentBatchAdminSessionForCourseCatalog
EnrollmentBatchAdminSession getEnrollmentBatchAdminSessionForCourseCatalog(Id courseCatalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk enrollment administration service for the given course catalog.- Parameters:
courseCatalogId- theIdof theCourseCatalog- Returns:
- an
EnrollmentBatchAdminSession - Throws:
NotFoundException- noCourseCatalogfound by the givenIdNullArgumentException-courseCatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEnrollmentBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEnrollmentBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-