OSID Logo
OSID Specifications
installation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.installation.PackageSearch
Implementsosid.OsidSearch
Description

PackageSearch defines the interface for specifying package search options.

MethodsearchAmongPackages
Description

Execute this search among the given list of packages.

Parametersosid.id.IdListpackageIdslist of packages
ErrorsNULL_ARGUMENT packageIds is null
CompliancemandatoryThis method must be implemented.
MethodorderPackageResults
Description

Specify an ordering to the search results.

Parametersosid.installation.PackageSearchOrderpackageSearchOrderpackage search order
ErrorsNULL_ARGUMENT packageSearchOrder is null
UNSUPPORTED packageSearchOrder is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetPackageSearchRecord
Description

Gets the package search record corresponding to the given package search record Type. This method is used to retrieve an object implementing the requested record.

Parametersosid.type.TypepackageSearchRecordTypea package search record type
Returnosid.installation.records.PackageSearchRecordthe package search record
ErrorsNULL_ARGUMENT packageSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(packageSearchRecordType) is false
CompliancemandatoryThis method must be implemented.