Interface AssessmentBatchManager
- All Superinterfaces:
AssessmentBatchProfile, AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable
The assessment batch manager provides access to assessment batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
ItemBatchAdminSession: a session to create, modify and delete items in bulk -
AssessmentBatchAdminSession: a session to create, modify and delete assessments in bulk -
AssessmentOfferedBatchAdminSession: a session to create, modify and delete assessments offered in bulk -
AssessmentTakenBatchAdminSession: a session to create, modify and delete assessments taken in bulk -
BankBatchAdminSession: a session to create, modify and delete banks in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk assessment administration service.Gets theOsidSessionassociated with the bulk assessment administration service for the given bank.Gets theOsidSessionassociated with the bulk assessment offered administration service.Gets theOsidSessionassociated with the bulk assessment offered administration service for the given bank.Gets theOsidSessionassociated with the bulk assessment taken administration service.Gets theOsidSessionassociated with the bulk assessment taken administration service for the given bank.Gets theOsidSessionassociated with the bulk bank administration service.Gets theOsidSessionassociated with the bulk item administration service.getItemBatchAdminSessionForBank(Id bankId) Gets theOsidSessionassociated with the bulk item administration service for the given bank.Methods inherited from interface AssessmentBatchProfile
supportsAssessmentBatchAdmin, supportsAssessmentOfferedBatchAdmin, supportsAssessmentTakenBatchAdmin, supportsBankBatchAdmin, supportsItemBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of assessments is available.booleanTests if bulk administration of assessments offered is available.booleanTests if bulk administration of assessments taken is available.booleanTests if bulk administration of banks is available.booleanTests if bulk administration of items 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
-
getItemBatchAdminSession
Gets theOsidSessionassociated with the bulk item administration service.- Returns:
- an
ItemBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsItemBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemBatchAdmin()} is {@code true} .
-
getItemBatchAdminSessionForBank
ItemBatchAdminSession getItemBatchAdminSessionForBank(Id bankId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk item administration service for the given bank.- Parameters:
bankId- theIdof theBank- Returns:
- an
ItemBatchAdminSession - Throws:
NotFoundException- noBankfound by the givenIdNullArgumentException-bankIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsItemBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getAssessmentBatchAdminSession
Gets theOsidSessionassociated with the bulk assessment administration service.- Returns:
- an
AssessmentBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAssessmentBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentBatchAdmin()} is {@code true} .
-
getAssessmentBatchAdminSessionForBank
AssessmentBatchAdminSession getAssessmentBatchAdminSessionForBank(Id bankId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk assessment administration service for the given bank.- Parameters:
bankId- theIdof theBank- Returns:
- an
AssessmentBatchAdminSession - Throws:
NotFoundException- noBankfound by the givenIdNullArgumentException-bankIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAssessmentBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getAssessmentOfferedBatchAdminSession
AssessmentOfferedBatchAdminSession getAssessmentOfferedBatchAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the bulk assessment offered administration service.- Returns:
- an
AssessmentOfferedBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAssessmentOfferedBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentOfferedBatchAdmin()} is {@code true} .
-
getAssessmentOfferedBatchAdminSessionForBank
AssessmentOfferedBatchAdminSession getAssessmentOfferedBatchAdminSessionForBank(Id bankId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk assessment offered administration service for the given bank.- Parameters:
bankId- theIdof theBank- Returns:
- an
AssessmentOfferedBatchAdminSession - Throws:
NotFoundException- noBankfound by the givenIdNullArgumentException-bankIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAssessmentOfferedBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentOfferedBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getAssessmentTakenBatchAdminSession
AssessmentTakenBatchAdminSession getAssessmentTakenBatchAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the bulk assessment taken administration service.- Returns:
- an
AssessmentTakenBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAssessmentTakenBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentTakenBatchAdmin()} is {@code true} .
-
getAssessmentTakenBatchAdminSessionForBank
AssessmentTakenBatchAdminSession getAssessmentTakenBatchAdminSessionForBank(Id bankId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk assessment taken administration service for the given bank.- Parameters:
bankId- theIdof theBank- Returns:
- an
AssessmentTakenBatchAdminSession - Throws:
NotFoundException- noBankfound by the givenIdNullArgumentException-bankIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAssessmentTakenBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentTakenBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getBankBatchAdminSession
Gets theOsidSessionassociated with the bulk bank administration service.- Returns:
- a
BankBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBankBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBankBatchAdmin()} is {@code true} .
-