OSID Logo
OSID Specifications
offering package
Version 3.0.0
Interfaceosid.offering.ParticipantSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.offering.ParticipantSearchSession
osid.offering.ParticipantSmartCatalogueSession
osid.offering.ResultSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByOffering
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsOfferingSearchOrder
Description

Tests if an offering search order is available.

Returnbooleantrue if an offering search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetOfferingSearchOrder
Description

Gets the offering search order.

Returnosid.offering.OfferingSearchOrderthe offering search order
ErrorsUNIMPLEMENTEDsupportsOfferingSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsOfferingSearchOrder() is true .
MethodorderByResource
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsResourceSearchOrder
Description

Tests if a resource search order is available.

Returnbooleantrue if an offering search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetResourceSearchOrder
Description

Gets the resource search order.

Returnosid.resource.ResourceSearchOrderthe resource search order
ErrorsUNIMPLEMENTEDsupportsResourceSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsResourceSearchOrder() 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 .
MethodgetParticipantSearchOrderRecord
Description

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

Parametersosid.type.TypeparticipantRecordTypea participant record type
Returnosid.offering.records.ParticipantSearchOrderRecordthe participant search order record
ErrorsNULL_ARGUMENTparticipantRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(participantRecordType) is false
CompliancemandatoryThis method must be implemented.