OSID Logo
OSID Specifications
osid package
Version 3.0.0
Release Candidate Preview
Interfaceosid.OsidSourceableSearchOrder
Implementsosid.OsidSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByProvider
Description

Specifies a preference for ordering the results by provider. The element of the provider to order is not specified but may be managed through the provider ordering interface.

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

Tests if a ProviderSearchOrder interface is available.

Returnboolean true if a provider search order interface is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetProviderSearchOrder
Description

Gets the search order interface for a provider.

Returnosid.resource.ResourceSearchOrderthe provider search order interface
ErrorsUNIMPLEMENTED supportsProviderSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsProviderSearchOrder() is true.