OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.Installation
Implementsosid.OsidObject
Used Byosid.installation.InstallationList
osid.installation.InstallationLookupSession
osid.installation.InstallationManagementSession
Description

A Installation represents a InstallationPackage installed on a Site.

MethodgetSiteId
Description

Gets the Site Id in which this installation is installed.

Returnosid.id.Id the site Id
Compliancemandatory This method must be implemented.
MethodgetSite
Description

Gets the Site in which this installation is installed.

Returnosid.installation.Site the package site
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetInstallationPackageId
Description

Gets the package Id of this installation.

Returnosid.id.Id the package Id
Compliancemandatory This method must be implemented.
MethodgetInstallationPackage
Description

Gets the package.

Returnosid.installation.InstallationPackage the package
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetDepotId
Description

Gets the Id of depot from which the package was installed.

Returnosid.id.Id the depot Id
Compliancemandatory This method must be implemented.
MethodgetDepot
Description

Gets the depot from which the package was installed.

Returnosid.installation.Depot the depot
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetInstallDate
Description

Gets the date the package was installed.

Returnosid.calendaring.DateTime the installation date
Compliancemandatory This method must be implemented.
MethodgetAgentId
Description

Gets the Id of the agent who installed this package.

Returnosid.id.Id the agent Id
Compliancemandatory This method must be implemented.
MethodgetAgent
Description

Gets the agent who installed this package.

Returnosid.authentication.Agent the agent
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetLastCheckDate
Description

Gets the date the installation was last checked for updates.

Returnosid.calendaring.DateTime the last check date
Compliancemandatory This method must be implemented.
MethodgetInstallationRecord
Description

Gets the installation record corresponding to the given Installation record Type. This method is used to retrieve an object implementing the requested record. The installationRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(installationRecordType) is true.

Parametersosid.type.TypeinstallationRecordType the type of the record to retrieve
Returnosid.installation.records.InstallationRecord the installation record
ErrorsNULL_ARGUMENT installationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(installationRecordType) is false
Compliancemandatory This method must be implemented.