OSID Logo
OSID Specifications
repository batch package
Version 3.0.0
Release Candidate Preview
Interfaceosid.repository.batch.RepositoryBatchManager
Implementsosid.OsidManager
osid.repository.batch.RepositoryBatchProfile
Description

The repository batch manager provides access to repository batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • AssetBatchAdminSession: a session to create, modify and delete Assets in bulk
  • CompositionBatchAdminSession: a session to create, modify and delete Compositions in bulk
  • RepositoryBatchAdminSession: a session to create, modify and delete Repositories in bulk
MethodgetAssetBatchAdminSession
Description

Gets the OsidSession associated with the bulk asset administration service.

Returnosid.repository.batch.AssetBatchAdminSessionan AssetBatchAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsAssetBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsAssetBatchAdmin() is true.
MethodgetAssetBatchAdminSessionForRepository
Description

Gets the OsidSession associated with the bulk asset administration service for the given repository.

Parametersosid.id.IdrepositoryIdthe Id of the Repository
Returnosid.repository.batch.AssetBatchAdminSessionan AssetBatchAdminSession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsAssetBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsAssetBatchAdmin() and supportsVisibleFederation() are true
MethodgetCompositionBatchAdminSession
Description

Gets the OsidSession associated with the bulk composition administration service.

Returnosid.repository.batch.CompositionBatchAdminSessiona CompositionBatchAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsCompositionBatchAdmin() is true.
MethodgetCompositionBatchAdminSessionForRepository
Description

Gets the OsidSession associated with the bulk composition administration service for the given repository.

Parametersosid.id.IdrepositoryIdthe Id of the Repository
Returnosid.repository.batch.CompositionBatchAdminSessiona CompositionBatchAdminSession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionBatchAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCompositionBatchAdmin() and supportsVisibleFederation() are true
MethodgetRepositoryBatchAdminSession
Description

Gets the OsidSession associated with the bulk repository administration service.

Returnosid.repository.batch.RepositoryBatchAdminSessiona RepositoryBatchAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRepositoryBatchAdmin() is false
ComplianceoptionalThis method must be implemented if supportsRepositoryBatchAdmin() is true.