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

This session manages queries and sequencing to create "smart" dynamic catalogs. A InstallationPackageQuery can be retrieved from this session and mapped to this Depot to create a virtual collection of InstallationPackages. The packages may be sequenced using the InstallationPackageSearchOrder from this session.

This Depot has a default query that matches any package and a default search order that specifies no sequencing. The queries may be examined using a InstallationPackageQueryInspector. The query may be modified by converting the inspector back to a InstallationPackageQuery.

MethodgetDepotId
Description

Gets the Depot Id associated with this session.

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

Gets the Depot associated with this session.

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

Tests if this user can manage smart depot. A return of true does not guarantee successful authorization. A return of false indicates that it is known 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 operations to unauthorized users.

Returnboolean false if smart depot management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetInstallationPackageQuery
Description

Gets a package query.

Returnosid.installation.InstallationPackageQuery the package query
Compliancemandatory This method must be implemented.
MethodgetInstallationPackageSearchOrder
Description

Gets a package search order.

Returnosid.installation.InstallationPackageSearchOrder the package search order
Compliancemandatory This method must be implemented.
MethodapplyInstallationPackageQuery
Description

Applies a package query to this depot.

Parametersosid.installation.InstallationPackageQueryinstallationPackageQuery the package query
ErrorsNULL_ARGUMENT installationPackageQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED installationPackageQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectInstallationPackageQuery
Description

Gets a package query inspector for this depot.

Returnosid.installation.InstallationPackageQueryInspector the package query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyInstallationPackageSequencing
Description

Applies a package search order to this depot.

Parametersosid.installation.InstallationPackageSearchOrderinstallationPackageSearchOrder the package search order
ErrorsNULL_ARGUMENT installationPackageSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED installationPackageSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetInstallationPackageQueryFromInspector
Description

Gets a package query from an inspector.

Parametersosid.installation.InstallationPackageQueryInspectorinstallationPackageQueryInspector a package query inspector
Returnosid.installation.InstallationPackageQuery the package query
ErrorsNULL_ARGUMENT installationPackageQueryInspector is null
UNSUPPORTED installationPackageQueryInspector is not of this service
Compliancemandatory This method must be implemented.