OSID Logo
OSID Specifications
installation package
Version 3.1.0
Interfaceosid.installation.InstallationPackage
Implementsosid.OsidObject
osid.Sourceable
Used Byosid.installation.Installation
osid.installation.InstallationContent
osid.installation.InstallationPackageAdminSession
osid.installation.InstallationPackageList
osid.installation.InstallationPackageLookupSession
Description

A InstallationPackage represents an installation bundle in a depot.

MethodgetVersion
Description

Gets the version of this package.

Returnosid.installation.Version the package version
Compliancemandatory This method must be implemented.
MethodgetCopyright
Description

Gets the copyright of this package.

Returnosid.locale.DisplayText the copyright
Compliancemandatory This method must be implemented.
MethodrequestsLicenseAcknowledgement
Description

Tests if the provider requests acknowledgement of the license.

Returnboolean true if the consumer should acknowledge the terms in the license, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCreatorId
Description

Gets the creator or author of this package.

Returnosid.id.Id the creator Id
Compliancemandatory This method must be implemented.
MethodgetCreator
Description

Gets the creator Id of this package.

Returnosid.resource.Resource the creator
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetReleaseDate
Description

Gets the release date of this package.

Returnosid.calendaring.DateTime the timestamp of this package
Compliancemandatory This method must be implemented.
MethodgetDependencyIds
Description

Gets the package Ids on which this package directly depends.

Returnosid.id.IdList the package dependency Ids
Compliancemandatory This method must be implemented.
MethodgetDependencies
Description

Gets the packages on which this package directly depends.

Returnosid.installation.InstallationPackageList the package dependencies
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetURL
Description

Gets a url for this package. The url may point to an external project or product site. If no url is available an empty string is returned.

Returnstring the url for this package
Compliancemandatory This method must be implemented.
MethodgetInstallationContentIds
Description

Gets the installation content Ids.

Returnosid.id.IdList the installation content Ids
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetInstallationContents
Description

Gets the installation contents.

Returnosid.installation.InstallationContentList the installation contents
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetInstallationPackageRecord
Description

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

Parametersosid.type.TypeinstallationPackageRecordType the type of the record to retrieve
Returnosid.installation.records.InstallationPackageRecord the package record
ErrorsNULL_ARGUMENT installationPackageRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(packageRecordType) is false
Compliancemandatory This method must be implemented.