OSID Logo
OSID Specifications
subscription package
Version 3.0.0
Interfaceosid.subscription.SubscriptionSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.subscription.SubscriptionSearchSession
osid.subscription.SubscriptionSmartPublisherSession
Description

An interface for specifying the ordering of search results.

MethodorderByDispatch
Description

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

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

Tests if a dispatch order is available.

Returnbooleantrue if a dispatch order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDispatchSearchOrder
Description

Gets the dispatch order.

Returnosid.subscription.DispatchSearchOrderthe dispatch search order
ErrorsUNIMPLEMENTEDsupportsDispatchSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsDispatchSearchOrder() is true .
MethodorderBySubscriber
Description

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

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

Tests if a subscriber order is available.

Returnbooleantrue if a subscriber order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetSubscriberSearchOrder
Description

Gets the subscriber order.

Returnosid.resource.ResourceSearchOrderthe subscriber search order
ErrorsUNIMPLEMENTEDsupportsSubscriberSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsSubscriberSearchOrder() is true .
MethodorderByAddress
Description

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

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

Tests if an address order is available.

Returnbooleantrue if an address order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAddressSearchOrder
Description

Gets the address order.

Returnosid.contact.AddressSearchOrderthe address search order
ErrorsUNIMPLEMENTEDsupportsAddressSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsAddressSearchOrder() is true .
MethodgetSubscriptionSearchOrderRecord
Description

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

Parametersosid.type.TypesubscriptionRecordTypea subscription record type
Returnosid.subscription.records.SubscriptionSearchOrderRecordthe subscription search order record
ErrorsNULL_ARGUMENTsubscriptionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(subscriptionRecordType) is false
CompliancemandatoryThis method must be implemented.