OSID Logo
OSID Specifications
hierarchy package
Version 3.1.0
Interfaceosid.hierarchy.HierarchySearch
Implementsosid.OsidSearch
Used Byosid.hierarchy.HierarchySearchSession
Description

HierarchySearch defines the interface for specifying hierarchy search options.

MethodsearchAmongHierarchies
Description

Execute this search using a given list of hierarchies.

Parametersosid.id.IdListhierarchyIds list of hierarchies
ErrorsNULL_ARGUMENT hierarchyIds is null
Compliancemandatory This method must be implemented.
MethodorderHierarchyResults
Description

Specify an ordering to the search results.

Parametersosid.hierarchy.HierarchySearchOrderhierarchySearchOrder hierarchy search order
ErrorsNULL_ARGUMENT hierarchySearchOrder is null
UNSUPPORTED hierarchySearchOrder is not of this service
Compliancemandatory This method must be implemented.
MethodgetHierarchySearchRecord
Description

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

Parametersosid.type.TypehierarchySearchRecordType a hierarchy search record type
Returnosid.hierarchy.records.HierarchySearchRecord the hierarchy search record
ErrorsNULL_ARGUMENT hierarchySearchRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(hierarchyRecordType) is false
Compliancemandatory This method must be implemented.