OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationManager
Implementsosid.OsidManager
osid.installation.InstallationProfile
Used Byosid.orchestration.OrchestrationManager
Description

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

  • InstallationLookupSession: a session to look up local installations
  • InstallationQuerySession: a session to query local installations
  • InstallationSearchSession: a session to search local installations
  • InstallationManagementSession: a session to install and remove packages
  • InstallationUpdateSession: a session to get package updates
  • InstallationNotificationSession a session for subscribing to new or deleted installations
  • SiteLookupSession: a session for listing installation sites
  • InstallationPackageLookupSession: a session to look up packages
  • InstallationPackageQuerySession: a session to query packages
  • InstallationPackageSearchSession: a session to search packages
  • InstallationPackageAdminSession: a session to create, modify and delete packages
  • InstallationPackageNotificationSession: a session to receive messages pertaining to package changes
  • InstallationPackageDepotSession: a session for retrieving package and depot mappings
  • InstallationPackageDepotAssignmentSession: a session for managing package and depot mappings
  • InstallationPackageSmartDepotSession: a session for managing smart depots of packages
  • DepotLookupSession: a session to lookup depots
  • DepotQuerySession: a session to query depots
  • DepotSearchSession: a session to search depots
  • DepotAdminSession: a session to create, modify and delete depots
  • DepotNotificationSession: a session to receive messages pertaining to depot changes
  • DepotHierarchySession: a session to traverse the depot hierarchy
  • DepotHierarchyDesignSession: a session to manage the depot hierarchy
MethodgetInstallationLookupSession
Description

Gets the OsidSession associated with the installation lookup service.

Returnosid.installation.InstallationLookupSession an InstallationLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationLookup() is false
Complianceoptional This method must be implemented if supportsInstallationLookup() is true.
MethodgetInstallationLookupSessionForSite
Description

Gets the OsidSession associated with the installation lookup service for the given site.

Parametersosid.id.IdsiteId the Id of the site
Returnosid.installation.InstallationLookupSession an InstallationLookupSession
ErrorsNOT_FOUND siteId not found
NULL_ARGUMENT siteId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationLookup() and supportsVisibleFederation() are true.
MethodgetInstallationQuerySession
Description

Gets the OsidSession associated with the installation query service.

Returnosid.installation.InstallationQuerySession[] an InstallationQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationQuery() is false
Complianceoptional This method must be implemented if supportsInstallationQuery() is true.
MethodgetInstallationQuerySessionForSite
Description

Gets the OsidSession associated with the installation query service for the given site.

Parametersosid.id.IdsiteId the Id of the site
Returnosid.installation.InstallationQuerySession[] an InstallationQuerySession
ErrorsNOT_FOUND siteId not found
NULL_ARGUMENT siteId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationQuery() and supportsVisibleFederation() are true.
MethodgetInstallationSearchSession
Description

Gets the OsidSession associated with the installation search service.

Returnosid.installation.InstallationSearchSession an InstallationSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationSearch() is false
Complianceoptional This method must be implemented if supportsInstallationSearch() is true.
MethodgetInstallationSearchSessionForSite
Description

Gets the OsidSession associated with the installation search service for the given site.

Parametersosid.id.IdsiteId the Id of the site
Returnosid.installation.InstallationSearchSession an InstallationSearchSession
ErrorsNOT_FOUND siteId not found
NULL_ARGUMENT siteId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationSearch() and supportsVisibleFederation() are true.
MethodgetInstallationManagementSession
Description

Gets the OsidSession associated with the installation management service.

Returnosid.installation.InstallationManagementSession an InstallationAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationManagement() is false
Complianceoptional This method must be implemented if supportsInstallationManagement() is true.
MethodgetInstallationManagementSessionForSite
Description

Gets the OsidSession associated with the installation management service for the given site.

Parametersosid.id.IdsiteId the Id of the site
Returnosid.installation.InstallationManagementSession an InstallationAdminSession
ErrorsNOT_FOUND siteId not found
NULL_ARGUMENT siteId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationManagement() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationManagement() and supportsVisibleFederation() are true.
MethodgetInstallationUpdateSession
Description

Gets the OsidSession associated with the installation update service.

Returnosid.installation.InstallationUpdateSession an InstallationAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationUpdate() is false
Complianceoptional This method must be implemented if supportsInstallationUpdate() is true.
MethodgetInstallationUpdateSessionForSite
Description

Gets the OsidSession associated with the installation update service for the given site.

Parametersosid.id.IdsiteId the Id of the site
Returnosid.installation.InstallationUpdateSession an InstallationUpdateSession
ErrorsNOT_FOUND siteId not found
NULL_ARGUMENT siteId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationUpdate() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationUpdate() and supportsVisibleFederation() are true.
MethodgetInstallationNotificationSession
Description

Gets the notification session for notifications pertaining to installation changes.

Parametersosid.installation.InstallationReceiverinstallationReceiver the installation receiver
Returnosid.installation.InstallationNotificationSession an InstallationNotificationSession
ErrorsNULL_ARGUMENT installationReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationNotification() is false
Complianceoptional This method must be implemented if supportsInstallationNotification() is true.
MethodgetInstallationNotificationSessionForSite
Description

Gets the OsidSession associated with the installation notification service for the given site.

Parametersosid.installation.InstallationReceiverinstallationReceiver the installation receiver
osid.id.IdsiteId the Id of the site
Returnosid.installation.InstallationNotificationSession an InstallationNotificationSession
ErrorsNOT_FOUND siteId not found
NULL_ARGUMENT installationReceiver or siteId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationNotification() and supportsVisibleFederation() are true.
MethodgetSiteLookupSession
Description

Gets the OsidSession associated with the site lookup service.

Returnosid.installation.SiteLookupSession a SiteLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsSiteLookup() is false
Complianceoptional This method must be implemented if supportsSiteLookup() is true.
MethodgetInstallationPackageLookupSession
Description

Gets the OsidSession associated with the package lookup service.

Returnosid.installation.InstallationPackageLookupSession a InstallationPackageLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageLookup() is false
Complianceoptional This method must be implemented if supportsInstallationPackageLookup() is true.
MethodgetInstallationPackageLookupSessionForDepot
Description

Gets the OsidSession associated with the package lookup service for the given depot.

Parametersosid.id.IddepotId the Id of the depot
Returnosid.installation.InstallationPackageLookupSession a InstallationPackageLookupSession
ErrorsNOT_FOUND depotId not found
NULL_ARGUMENT depotId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationPackageLookup() and supportsVisibleFederation() are true.
MethodgetInstallationPackageQuerySession
Description

Gets the OsidSession associated with the package query service.

Returnosid.installation.InstallationPackageQuerySession a InstallationPackageQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageQuery() is false
Complianceoptional This method must be implemented if supportsInstallationPackageQuery() is true.
MethodgetInstallationPackageQuerySessionForDepot
Description

Gets the OsidSession associated with the package query service for the given depot.

Parametersosid.id.IddepotId the Id of the Depot
Returnosid.installation.InstallationPackageQuerySession a InstallationPackageQuerySession
ErrorsNOT_FOUND no Depot found by the given Id
NULL_ARGUMENT depotId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationPackageQuery() and supportsVisibleFederation() are true
MethodgetInstallationPackageSearchSession
Description

Gets the OsidSession associated with the package search service.

Returnosid.installation.InstallationPackageSearchSession a InstallationPackageSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageSearch() is false
Complianceoptional This method must be implemented if supportsInstallationPackageSearch() is true.
MethodgetInstallationPackageSearchSessionForDepot
Description

Gets the OsidSession associated with the package search service for the given depot.

Parametersosid.id.IddepotId the Id of the depot
Returnosid.installation.InstallationPackageSearchSession a InstallationPackageSearchSession
ErrorsNOT_FOUND depotId not found
NULL_ARGUMENT depotId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationPackageSearch() and supportsVisibleFederation() are true.
MethodgetInstallationPackageAdminSession
Description

Gets the OsidSession associated with the package administration service.

Returnosid.installation.InstallationPackageAdminSession a InstallationPackageAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageAdmin() is false
Complianceoptional This method must be implemented if supportsInstallationPackageAdmin() is true.
MethodgetInstallationPackageAdminSessionForDepot
Description

Gets the OsidSession associated with the package admin service for the given depot.

Parametersosid.id.IddepotId the Id of the depot
Returnosid.installation.InstallationPackageAdminSession a InstallationPackageAdminSession
ErrorsNOT_FOUND depotId not found
NULL_ARGUMENT depotId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationPackageAdmin() and supportsVisibleFederation() are true.
MethodgetInstallationPackageNotificationSession
Description

Gets the notification session for notifications pertaining to package changes.

Parametersosid.installation.InstallationPackageReceiverinstallationPackageReceiver the package receiver
Returnosid.installation.InstallationPackageNotificationSession a InstallationPackageNotificationSession
ErrorsNULL_ARGUMENT installationPackageReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageNotification() is false
Complianceoptional This method must be implemented if supportsInstallationPackageNotification() is true.
MethodgetInstallationPackageNotificationSessionForDepot
Description

Gets the OsidSession associated with the package notification service for the given depot.

Parametersosid.installation.InstallationPackageReceiverinstallationPackageReceiver the package receiver
osid.id.IddepotId the Id of the depot
Returnosid.installation.InstallationPackageNotificationSession a InstallationPackageNotificationSession
ErrorsNOT_FOUND depotId not found
NULL_ARGUMENT installationPackageReceiver or depotId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsInstallationPackageNotification() and supportsVisibleFederation() are true.
MethodgetInstallationPackageDepotSession
Description

Gets the session for retrieving package to depot mappings.

Returnosid.installation.InstallationPackageDepotSession a InstallationPackageDepotSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageDepot() is false
Complianceoptional This method must be implemented if supportsInstallationPackageDepot() is true.
MethodgetInstallationPackageDepotAssignmentSession
Description

Gets the session for assigning package to depot mappings.

Returnosid.installation.InstallationPackageDepotSession a InstallationPackageDepotAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageDepotAssignment() is false
Complianceoptional This method must be implemented if supportsInstallationPackageDepotAssignment() is true .
MethodgetInstallationPackageSmartDepotSession
Description

Gets the session for managing dynamic package depot.

Parametersosid.id.IddepotId the Id of the depot
Returnosid.installation.InstallationPackageSmartDepotSession a InstallationPackageSmartDepotSession
ErrorsNOT_FOUND depotId not found
NULL_ARGUMENT depotId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationPackageSmartDepot() is false
Complianceoptional This method must be implemented if supportsInstallationPackageSmartDepot() is true.
MethodgetDepotLookupSession
Description

Gets the OsidSession associated with the depot lookup service.

Returnosid.installation.DepotLookupSession a DepotLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDepotLookup() is false
Complianceoptional This method must be implemented if supportsDepotLookup() is true.
MethodgetDepotQuerySession
Description

Gets the depot query session.

Returnosid.installation.DepotQuerySession a DepotQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDepotQuery() is false
Complianceoptional This method must be implemented if supportsDepotQuery() is true.
MethodgetDepotSearchSession
Description

Gets the OsidSession associated with the depot search service.

Returnosid.installation.DepotSearchSession a DepotSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDepotSearch() is false
Complianceoptional This method must be implemented if supportsDepotSearch() is true.
MethodgetDepotAdminSession
Description

Gets the OsidSession associated with the depot administration service.

Returnosid.installation.DepotAdminSession a DepotAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDepotAdmin() is false
Complianceoptional This method must be implemented if supportsDepotAdmin() is true.
MethodgetDepotNotificationSession
Description

Gets the notification session for notifications pertaining to depot service changes.

Parametersosid.installation.DepotReceiverdepotReceiver the depot receiver
Returnosid.installation.DepotNotificationSession a DepotNotificationSession
ErrorsNULL_ARGUMENT depotReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDepotNotification() is false
Complianceoptional This method must be implemented if supportsDepotNotification() is true.
MethodgetDepotHierarchySession
Description

Gets the session traversing depot hierarchies.

Returnosid.installation.DepotHierarchySession a DepotHierarchySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDepotHierarchy() is false
Complianceoptional This method must be implemented if supportsDepotHierarchy() is true.
MethodgetDepotHierarchyDesignSession
Description

Gets the session designing depot hierarchies.

Returnosid.installation.DepotHierarchyDesignSession a DepotHierarchyDesignSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsDepotHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsDepotHierarchyDesign() is true.
MethodgetInstallationBatchManager
Description

Gets an InstallationBatchManager.

Returnosid.installation.batch.InstallationBatchManager an InstallationBatchManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInstallationBatch() is false
Complianceoptional This method must be implemented if supportsInstallationBatch() is true.