Interface InstallationBatchProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, InstallationBatchProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The installation batch proxy manager provides access to installation
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:
-
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 TypeMethodDescriptiongetDepotBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk depot administration service.getPackageBatchAdminSession(Proxy proxy) Gets theOsidSessionassociated with the bulk package administration service.getPackageBatchAdminSessionForDepot(Id depotId, Proxy proxy) 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 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 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.- Parameters:
proxy- a proxy- Returns:
- a
PackageBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPackageBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPackageBatchAdmin()} is {@code true} .
-
getPackageBatchAdminSessionForDepot
PackageBatchAdminSession getPackageBatchAdminSessionForDepot(Id depotId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk package administration service for the given depot.- Parameters:
depotId- theIdof theDepotproxy- a proxy- Returns:
- a
PackageBatchAdminSession - Throws:
NotFoundException- noDepotfound by the givenIdNullArgumentException-depotIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
DepotBatchAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDepotBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDepotBatchAdmin()} is {@code true} .
-