OSID Logo
OSID Specifications
resource demographic package
Version 3.0.0
Release Candidate Preview
Interfaceosid.resource.demographic.DemographicEnablerSearchResults
Implementsosid.OsidSearchResults
Description

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

MethodgetDemographicEnablers
Description

Gets the DemographicEnablerList resulting from a search.

Returnosid.resource.demographic.DemographicEnablerListthe demographic enabler list
ErrorsILLEGAL_STATElist has already been retrieved
CompliancemandatoryThis method must be implemented.
MethodgetDemographicEnablerQueryInspector
Description

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

Returnosid.resource.demographic.DemographicEnablerQueryInspectorthe demographic enabler query inspector
CompliancemandatoryThis method must be implemented.
MethodgetDemographicEnablerSearchResultsRecord
Description

Gets the demographic enabler search results record corresponding to the given demographic enabler search record Type. This method must be used to retrieve an object implementing the requested record.

Parametersosid.type.TypedemographicEnablerSearchRecordTypea demographic enabler search record type
Returnosid.resource.demographic.records.DemographicEnablerSearchResultsRecordthe demographic enabler search results record
ErrorsNULL_ARGUMENT demographicEnablerSearchRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(demographicEnablerSearchRecordType) is false
CompliancemandatoryThis method must be implemented.