OSID Logo
OSID Specifications
hierarchy package
Version 3.0.0
Release Candidate Preview
Interfaceosid.hierarchy.HierarchySearchResults
Implementsosid.OsidSearchResults
Description

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

MethodgetHierarchies
Description

Gets the hierarchy list resulting from the search.

Returnosid.hierarchy.HierarchyListthe hierarchy list
ErrorsILLEGAL_STATEthe hierarchy list was already retrieved
CompliancemandatoryThis method must be implemented.
MethodgetHierarchyQueryInspector
Description

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

Returnosid.hierarchy.HierarchyQueryInspectorthe hierarchy query inspector
CompliancemandatoryThis method must be implemented.
MethodgetHierarchySearchResultsRecord
Description

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

Parametersosid.type.TypehierarchySearchRecordTypea hierarchy search record type
Returnosid.hierarchy.records.HierarchySearchResultsRecordthe hierarchy search results record
ErrorsNULL_ARGUMENT hierarchySearchRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(hierarchySearchRecordType) is false
CompliancemandatoryThis method must be implemented.