OSID Logo
OSID Specifications
offering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.offering.ParticipantSearchOrder
Implementsosid.OsidRelationshipSearchOrder
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_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsOfferingSearchOrder
Description

Tests if a offering search order is available.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsOfferingSearchOrder() 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_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsResourceSearchOrder
Description

Tests if a resource search order is available.

Returnboolean true if a 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
ErrorsUNIMPLEMENTED supportsResourceSearchOrder() 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_ARGUMENT style is null
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetTimePeriodSearchOrder
Description

Gets the time period order.

Returnosid.calendaring.TimePeriodSearchOrderthe time period search order
ErrorsUNIMPLEMENTED supportsTimePeriodSearchOrder() 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_ARGUMENT participantRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(participantRecordType) is false
CompliancemandatoryThis method must be implemented.