OSID Logo
OSID Specifications
billing package
Version 3.1.0
Interfaceosid.billing.ItemSearchOrder
Implementsosid.OsidObjectSearchOrder
Used Byosid.billing.EntrySearchOrder
osid.billing.ItemSearchSession
osid.billing.ItemSmartBusinessSession
Description

An interface for specifying the ordering of search results.

MethodorderByCategory
Description

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

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

Tests if a category search order is available.

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

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

Returnosid.billing.CategorySearchOrder the category search order
ErrorsUNIMPLEMENTED supportsCategorySearchOrder() is false
Complianceoptional This method must be implemented if supportsCategorySearchOrder() is true.
MethodorderByAccount
Description

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

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

Tests if an account search order is available.

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

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

Returnosid.financials.AccountSearchOrder the account search order
ErrorsUNIMPLEMENTED supportsAccountSearchOrder() is false
Complianceoptional This method must be implemented if supportsAccountSearchOrder() is true.
MethodorderByProduct
Description

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

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

Tests if a product search order is available.

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

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

Returnosid.ordering.ProductSearchOrder the product search order
ErrorsUNIMPLEMENTED supportsProductSearchOrder() is false
Complianceoptional This method must be implemented if supportsProductSearchOrder() is true.
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 debit.

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

Specifies a preference for ordering the result set by interval.

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

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

Parametersosid.type.TypeitemRecordType an item record type
Returnosid.billing.records.ItemSearchOrderRecord the item search order record
ErrorsNULL_ARGUMENT itemRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(itemRecordType) is false
Compliancemandatory This method must be implemented.