Interface RepositoryBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, RepositoryBatchProfile, Sourceable
The repository batch proxy manager provides access to repository batch
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager support the passing of a Proxy
object. The sessions included in this manager are:
-
AssetBatchAdminSession: a session to manage assets in bulk -
AssetContentBatchAdminSession: a session to manage asset contents in bulk -
CompositionBatchAdminSession: a session to manage compositions in bulk -
RepositoryBatchAdminSession: a session to create, modify and deleteRepositoriesin bulk
-
Method Summary
Modifier and TypeMethodDescriptiongetAssetBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk asset administration service.getAssetBatchAdminSessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the bulk asset administration service for the given repository.Gets theOsidSessionassociated with the bulk asset content administration service.getAssetContentBatchAdminSessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the bulk asset content administration service for the given repository.Gets theOsidSessionassociated with the bulk composition administration service.getCompositionBatchAdminSessionForRepository(Id repositoryId, Proxy proxy) Gets theOsidSessionassociated with the bulk composition administration service for the given repository.Gets theOsidSessionassociated with the bulk repository administration service.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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface RepositoryBatchProfile
supportsAssetBatchAdmin, supportsAssetContentBatchAdmin, supportsCompositionBatchAdmin, supportsRepositoryBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of assets is available.booleanTests if bulk administration of asset contents is available.booleanTests if bulk administration of compositions is available.booleanTests if bulk administration of repositories is available.booleanTests if federation is visible.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
-
getAssetBatchAdminSession
Gets theOsidSessionassociated with the bulk asset administration service.- Parameters:
proxy- a proxy- Returns:
- an
AssetBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAssetBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssetBatchAdmin()} is {@code true} .
-
getAssetBatchAdminSessionForRepository
AssetBatchAdminSession getAssetBatchAdminSessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk asset administration service for the given repository.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- an
AssetBatchAdminSession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsAssetBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssetBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getAssetContentBatchAdminSession
AssetContentBatchAdminSession getAssetContentBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk asset content administration service.- Parameters:
proxy- a proxy- Returns:
- an
AssetContentBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAssetContentBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssetBatchAdmin()} is {@code true} .
-
getAssetContentBatchAdminSessionForRepository
AssetContentBatchAdminSession getAssetContentBatchAdminSessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk asset content administration service for the given repository.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- an
AssetContentBatchAdminSession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryId or proxy is nullOperationFailedException- unable to complete requestUnimplementedException-supportsAssetContentBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssetContentBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getCompositionBatchAdminSession
CompositionBatchAdminSession getCompositionBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk composition administration service.- Parameters:
proxy- a proxy- Returns:
- a
CompositionBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionBatchAdmin()} is {@code true} .
-
getCompositionBatchAdminSessionForRepository
CompositionBatchAdminSession getCompositionBatchAdminSessionForRepository(Id repositoryId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk composition administration service for the given repository.- Parameters:
repositoryId- theIdof theRepositoryproxy- a proxy- Returns:
- a
CompositionBatchAdminSession - Throws:
NotFoundException- noRepositoryfound by the givenIdNullArgumentException-repositoryIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCompositionBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompositionBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getRepositoryBatchAdminSession
RepositoryBatchAdminSession getRepositoryBatchAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the bulk repository administration service.- Parameters:
proxy- a proxy- Returns:
- a
RepositoryBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRepositoryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRepositoryBatchAdmin()} is {@code true} .
-