OSID Logo
OSID Specifications
installation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.installation.PackageSearchResults
Implementsosid.OsidSearchResults
Description

This interface provides a means to capture results of a search.

MethodgetPackages
Description

Gets the package list resulting from the search.

Returnosid.installation.PackageListthe package list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetPackageQueryInspector
Description

Gets the inspector for the query to examine the terms used in the search.

Returnosid.installation.PackageQueryInspectorthe package query inspector
CompliancemandatoryThis method must be implemented.
MethodgetPackageSearchResultsRecord
Description

Gets the package search results 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.PackageSearchResultsRecordthe package search results record
ErrorsNULL_ARGUMENT packageSearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(packageSearchRecordType) is false
CompliancemandatoryThis method must be implemented.