OSID Logo
OSID Specifications
installation package
Version 3.0.0
Interfaceosid.installation.PackageSearch
Implementsosid.OsidSearch
Used Byosid.installation.PackageSearchSession
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_ARGUMENTpackageIds is null
CompliancemandatoryThis method must be implemented.
MethodorderPackageResults
Description

Specify an ordering to the search results.

Parametersosid.installation.PackageSearchOrderpackageSearchOrderpackage search order
ErrorsNULL_ARGUMENTpackageSearchOrder is null
UNSUPPORTEDpackageSearchOrder 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_ARGUMENTpackageSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(packageSearchRecordType) is false
CompliancemandatoryThis method must be implemented.