OSID Logo
OSID Specifications
billing package
Version 3.1.0
Interfaceosid.billing.EntrySearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.billing.EntrySearchSession
osid.billing.EntrySmartBusinessSession
Description

An interface for specifying the ordering of search results.

MethodorderByCustomer
Description

Specifies a preference for ordering the result set by customer.

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

Tests if a customer search order is available.

Returnboolean true if a customer search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCustomerSearchOrder
Description

Gets the customer order.

Returnosid.billing.CustomerSearchOrder the customer search order
ErrorsUNIMPLEMENTED supportsCustomerSearchOrder() is false
Complianceoptional This method must be implemented if supportsCustomerSearchOrder() is true.
MethodorderByItem
Description

Specifies a preference for ordering the result set by item.

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

Tests if an item search order is available.

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

Gets the item search order.

Returnosid.billing.ItemSearchOrder the item search order
ErrorsUNIMPLEMENTED supportsItemSearchOrder() is false
Complianceoptional This method must be implemented if supportsItemSearchOrder() is true.
MethodorderByPeriod
Description

Specifies a preference for ordering the result set by billing period.

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

Tests if a billing period search order is available.

Returnboolean true if a term search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPeriodSearchOrder
Description

Gets the billing period search order.

Returnosid.billing.PeriodSearchOrder the period search order
ErrorsUNIMPLEMENTED supportsPeriodSearchOrder() is false
Complianceoptional This method must be implemented if supportsPeriodSearchOrder() is true.
MethodorderByQuantity
Description

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

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

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

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

Specifies a preference for ordering the result set by the debit flag.

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

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

Parametersosid.type.TypeentryRecordType an entry record type
Returnosid.billing.records.EntrySearchOrderRecord the entry search order record
ErrorsNULL_ARGUMENT entryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(entryRecordType) is false
Compliancemandatory This method must be implemented.