Interface InstallationBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, InstallationBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The installation batch manager provides access to installation batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
PackageBatchAdminSession: a session to create, modify and delete packages in bulk -
DepotBatchAdminSession: a session to create, modify and delete depots in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk depot administration service.Gets theOsidSessionassociated with the bulk package administration service.getPackageBatchAdminSessionForDepot(Id depotId) Gets theOsidSessionassociated with the bulk package administration service for the given depot.Methods inherited from interface InstallationBatchProfile
supportsDepotBatchAdmin, supportsPackageBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of depots is available.booleanTests if bulk administration of packages 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
-
getPackageBatchAdminSession
Gets theOsidSessionassociated with the bulk package administration service.- Returns:
- a
PackageBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPackageBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPackageBatchAdmin()} is {@code true} .
-
getPackageBatchAdminSessionForDepot
PackageBatchAdminSession getPackageBatchAdminSessionForDepot(Id depotId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk package administration service for the given depot.- Parameters:
depotId- theIdof theDepot- Returns:
- a
PackageBatchAdminSession - Throws:
NotFoundException- noDepotfound by the givenIdNullArgumentException-depotIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPackageBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPackageBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getDepotBatchAdminSession
Gets theOsidSessionassociated with the bulk depot administration service.- Returns:
- a
DepotBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDepotBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDepotBatchAdmin()} is {@code true} .
-