OSID Logo
OSID Specifications
mapping path package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.path.IntersectionSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidAggregateableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodsupportsPathSearchOrder
Description

Tests if a search order for the path is available.

Returnboolean true if a path search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPathSearchOrder
Description

Gets a path search order.

Returnosid.mapping.path.PathSearchOrderthe path search order
ErrorsUNIMPLEMENTED supportsPathSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsPathSearchOrder() is true.
MethodorderByRotary
Description

Specifies a preference for ordering the results by rotaries.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByFork
Description

Specifies a preference for ordering the results by forks.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetIntersectionSearchOrderRecord
Description

Gets the intersection search order record corresponding to the given intersection record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypeintersectionRecordTypea route record type
Returnosid.mapping.path.records.IntersectionSearchOrderRecordthe route search order record
ErrorsNULL_ARGUMENT intersectionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(intersectionRecordType) is false
CompliancemandatoryThis method must be implemented.