OSID Logo
OSID Specifications
ordering package
Version 3.1.0
Interfaceosid.ordering.PriceSearchOrder
Implementsosid.OsidRuleSearchOrder
osid.OsidSubjugateableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByPriceSchedule
Description

Specifies a preference for ordering the result set by the price schedule.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsPriceScheduleSearchOrder
Description

Tests if a price schedule order is available.

Returnboolean true if a price schedule order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPriceScheduleSearchOrder
Description

Gets the price schedule order.

Returnosid.ordering.PriceScheduleSearchOrder the price schedule search order
ErrorsUNIMPLEMENTED supportsPriceScheduleSearchOrder() is false
Complianceoptional This method must be implemented if supportsPriceScheduleSearchOrder() is true.
MethodorderByMinimumQuantity
Description

Specifies a preference for ordering the result set by the minimum quantity.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByMaximumQuantity
Description

Specifies a preference for ordering the result set by the maximum quanttity.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByDemographic
Description

Specifies a preference for ordering the result set by the demographic.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsDemographicSearchOrder
Description

Tests if a resource search order is available.

Returnboolean true if a demographic order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDemographicSearchOrder
Description

Gets the resource order.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsDemographicSearchOrder() is false
Complianceoptional This method must be implemented if supportsDemographicSearchOrder() is true.
MethodorderByAmount
Description

Specifies a preference for ordering the result set by the amount.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByRecurringInterval
Description

Specifies a preference for ordering the result set by the recurring interval.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodgetPriceSearchOrderRecord
Description

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

Parametersosid.type.TypepriceRecordType a price record type
Returnosid.ordering.records.PriceSearchOrderRecord the price search order record
ErrorsNULL_ARGUMENT priceRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(priceRecordType) is false
Compliancemandatory This method must be implemented.