OSID Logo
OSID Specifications
offering package
Version 3.1.0
Interfaceosid.offering.OfferingSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.offering.OfferingSearchSession
osid.offering.OfferingSmartCatalogueSession
osid.offering.ParticipantSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByCanonicalUnit
Description

Specifies a preference for ordering the result set by canonical unit.

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

Tests if a canonical unit order is available.

Returnboolean true if a canonical unit order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCanonicalUnitSearchOrder
Description

Gets the canonical unit order.

Returnosid.offering.CanonicalUnitSearchOrder the canonical unit search order
ErrorsUNIMPLEMENTED supportsCanonicalUnitSearchOrder() is false
Complianceoptional This method must be implemented if supportsCanonicalUnitSearchOrder() is true.
MethodorderByTimePeriod
Description

Specifies a preference for ordering the result set by time period.

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

Tests if a time period order is available.

Returnboolean true if a time period order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTimePeriodSearchOrder
Description

Gets the time period order.

Returnosid.calendaring.TimePeriodSearchOrder the time period search order
ErrorsUNIMPLEMENTED supportsTimePeriodSearchOrder() is false
Complianceoptional This method must be implemented if supportsTimePeriodSearchOrder() is true.
MethodorderByTitle
Description

Specifies a preference for ordering the result set by offering title.

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

Specifies a preference for ordering the result set by offering code.

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

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

Parametersosid.type.TypeofferingRecordType an offering record type
Returnosid.offering.records.OfferingSearchOrderRecord the offering search order record
ErrorsNULL_ARGUMENT offeringRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(offeringRecordType) is false
Compliancemandatory This method must be implemented.