OSID Logo
OSID Specifications
metering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.metering.UtilitySearchResults
Implementsosid.OsidSearchResults
Description

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

MethodgetUtilities
Description

Gets the utility list resulting from a search.

Returnosid.metering.UtilityListthe utility list
ErrorsILLEGAL_STATElist already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetUtilityQueryInspector
Description

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

Returnosid.metering.UtilityQueryInspectorthe utility query inspector
CompliancemandatoryThis method must be implemented.
MethodgetUtilitySearchResultsRecord
Description

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

Parametersosid.type.TypeutilitySearchRecordTypea utility search record type
Returnosid.metering.records.UtilitySearchResultsRecordthe utility search results record
ErrorsNULL_ARGUMENT utilitySearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(utilitySearchRecordType) is false
CompliancemandatoryThis method must be implemented.