OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationManagementSession
Implementsosid.OsidSession
Used Byosid.installation.InstallationManager
osid.installation.InstallationProxyManager
Description

This session defines methods to manage installations.

MethodgetSiteId
Description

Gets the Site Id associated with this session.

Returnosid.id.Id the Site Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetSite
Description

Gets the Site associated with this session.

Returnosid.installation.Site the Site associated with this session
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageInstallations
Description

Tests if this user can manage installations A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer management operations to unauthorized users.

Returnboolean false if InstallationPackage installation is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodinstallInstallationPackage
Description

Installs a package at a default site.

Parametersosid.id.IdinstallationPackageId an Id of a InstallationPackage
Returnosid.installation.Installation the resulting Installation
ErrorsALREADY_EXISTS package is already installed
NOT_FOUND installationPackageId is not found
NULL_ARGUMENT installationPackageId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodremoveInstallation
Description

Removes an installation.

Parametersosid.id.IdinstallationId an Id of an Installation
ErrorsNOT_FOUND installationId is not found
NULL_ARGUMENT installationId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodremoveInstallations
Description

Removes all installations at the site.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.