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

Tests if a dispatch order is available.

Returnboolean true if a dispatch order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDispatchSearchOrder
Description

Gets the dispatch order.

Returnosid.subscription.DispatchSearchOrder the dispatch search order
ErrorsUNIMPLEMENTED supportsDispatchSearchOrder() is false
Complianceoptional This method must be implemented if supportsDispatchSearchOrder() is true.
MethodorderBySubscriber
Description

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

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

Tests if a subscriber order is available.

Returnboolean true if a subscriber order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSubscriberSearchOrder
Description

Gets the subscriber order.

Returnosid.resource.ResourceSearchOrder the subscriber search order
ErrorsUNIMPLEMENTED supportsSubscriberSearchOrder() is false
Complianceoptional This method must be implemented if supportsSubscriberSearchOrder() is true.
MethodorderByAddress
Description

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

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

Tests if an address order is available.

Returnboolean true if an address order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAddressSearchOrder
Description

Gets the address order.

Returnosid.contact.AddressSearchOrder the address search order
ErrorsUNIMPLEMENTED supportsAddressSearchOrder() is false
Complianceoptional This 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.TypesubscriptionRecordType a subscription record type
Returnosid.subscription.records.SubscriptionSearchOrderRecord the subscription search order record
ErrorsNULL_ARGUMENT subscriptionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(subscriptionRecordType) is false
Compliancemandatory This method must be implemented.