Interface LearningBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, LearningBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The learning batch manager provides access to learning batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
ObjectiveBatchAdminSession: a session to create, modify and delete availabilities in bulk -
ActivityBatchAdminSession: a session to create, modify and delete activities in bulk -
ProficiencyBatchAdminSession: a session to create, modify and delete proficiencies in bulk -
ObjectiveBankBatchAdminSession: a session to create, modify and delete objective banks in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk activity administration service.getActivityBatchAdminSessionForObjectiveBank(Id objectiveBankId) Gets theOsidSessionassociated with the bulk activity administration service for the given objective bank.Gets theOsidSessionassociated with the bulk objective bank administration service.Gets theOsidSessionassociated with the bulk objective administration service.getObjectiveBatchAdminSessionForObjectiveBank(Id objectiveBankId) Gets theOsidSessionassociated with the bulk objective administration service for the given objective bank.Gets theOsidSessionassociated with the bulk proficiency administration service.getProficiencyBatchAdminSessionForObjectiveBank(Id objectiveBankId) Gets theOsidSessionassociated with the bulk proficiency administration service for the given objective bank.Methods inherited from interface LearningBatchProfile
supportsActivityBatchAdmin, supportsObjectiveBankBatchAdmin, supportsObjectiveBatchAdmin, supportsProficiencyBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of activities is available.booleanTests if bulk administration of objective banks is available.booleanTests if bulk administration of availabilities is available.booleanTests if bulk administration of proficiencies 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
-
getObjectiveBatchAdminSession
Gets theOsidSessionassociated with the bulk objective administration service.- Returns:
- an
ObjectiveBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsObjectiveBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsObjectiveBatchAdmin()} is {@code true} .
-
getObjectiveBatchAdminSessionForObjectiveBank
ObjectiveBatchAdminSession getObjectiveBatchAdminSessionForObjectiveBank(Id objectiveBankId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk objective administration service for the given objective bank.- Parameters:
objectiveBankId- theIdof theObjectiveBank- Returns:
- an
ObjectiveBatchAdminSession - Throws:
NotFoundException- noObjectiveBankfound by the givenIdNullArgumentException-objectiveBankIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsObjectiveBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsObjectiveBatchAdmin()} 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} .
-
getActivityBatchAdminSessionForObjectiveBank
ActivityBatchAdminSession getActivityBatchAdminSessionForObjectiveBank(Id objectiveBankId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk activity administration service for the given objective bank.- Parameters:
objectiveBankId- theIdof theObjectiveBank- Returns:
- an
ActivityBatchAdminSession - Throws:
NotFoundException- noObjectiveBankfound by the givenIdNullArgumentException-objectiveBankIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsActivityBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getProficiencyBatchAdminSession
Gets theOsidSessionassociated with the bulk proficiency administration service.- Returns:
- a
ProficiencyBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsProficiencyBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProficiencyBatchAdmin()} is {@code true} .
-
getProficiencyBatchAdminSessionForObjectiveBank
ProficiencyBatchAdminSession getProficiencyBatchAdminSessionForObjectiveBank(Id objectiveBankId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk proficiency administration service for the given objective bank.- Parameters:
objectiveBankId- theIdof theObjectiveBank- Returns:
- a
ProficiencyBatchAdminSession - Throws:
NotFoundException- noObjectiveBankfound by the givenIdNullArgumentException-objectiveBankIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsProficiencyBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProficiencyBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getObjectiveBankBatchAdminSession
Gets theOsidSessionassociated with the bulk objective bank administration service.- Returns:
- an
ObjectiveBankBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsObjectiveBankBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsObjectiveBankBatchAdmin()} is {@code true} .
-