OSID Logo
OSID Specifications
offering package
Version 3.1.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.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsOfferingSearchOrder
Description

Tests if an offering search order is available.

Returnboolean true if an offering search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetOfferingSearchOrder
Description

Gets the offering search order.

Returnosid.offering.OfferingSearchOrder the offering search order
ErrorsUNIMPLEMENTED supportsOfferingSearchOrder() is false
Complianceoptional This method must be implemented if supportsOfferingSearchOrder() is true.
MethodorderByResource
Description

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

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

Tests if a resource search order is available.

Returnboolean true if an offering search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetResourceSearchOrder
Description

Gets the resource search order.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsResourceSearchOrder() is false
Complianceoptional This method must be implemented if supportsResourceSearchOrder() 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.
MethodgetParticipantSearchOrderRecord
Description

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

Parametersosid.type.TypeparticipantRecordType a participant record type
Returnosid.offering.records.ParticipantSearchOrderRecord the participant search order record
ErrorsNULL_ARGUMENT participantRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(participantRecordType) is false
Compliancemandatory This method must be implemented.