OSID Logo
OSID Specifications
offering package
Version 3.0.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.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCanonicalUnitSearchOrder
Description

Tests if a canonical unit order is available.

Returnbooleantrue if a canonical unit order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCanonicalUnitSearchOrder
Description

Gets the canonical unit order.

Returnosid.offering.CanonicalUnitSearchOrderthe canonical unit search order
ErrorsUNIMPLEMENTEDsupportsCanonicalUnitSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCanonicalUnitSearchOrder() is true .
MethodorderByTimePeriod
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsTimePeriodSearchOrder
Description

Tests if a time period order is available.

Returnbooleantrue if a time period order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetTimePeriodSearchOrder
Description

Gets the time period order.

Returnosid.calendaring.TimePeriodSearchOrderthe time period search order
ErrorsUNIMPLEMENTEDsupportsTimePeriodSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsTimePeriodSearchOrder() is true .
MethodorderByTitle
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByCode
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis 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.TypeofferingRecordTypean offering record type
Returnosid.offering.records.OfferingSearchOrderRecordthe offering search order record
ErrorsNULL_ARGUMENTofferingRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(offeringRecordType) is false
CompliancemandatoryThis method must be implemented.