OSID Logo
OSID Specifications
billing package
Version 3.0.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.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCategorySearchOrder
Description

Tests if a category search order is available.

Returnbooleantrue if a category search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCategorySearchOrder
Description

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

Returnosid.billing.CategorySearchOrderthe category search order
ErrorsUNIMPLEMENTEDsupportsCategorySearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCategorySearchOrder() is true .
MethodorderByAccount
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsAccountSearchOrder
Description

Tests if an account search order is available.

Returnbooleantrue if an account search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAccountSearchOrder
Description

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

Returnosid.financials.AccountSearchOrderthe account search order
ErrorsUNIMPLEMENTEDsupportsAccountSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsAccountSearchOrder() is true .
MethodorderByProduct
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsProductSearchOrder
Description

Tests if a product search order is available.

Returnbooleantrue if a product search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetProductSearchOrder
Description

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

Returnosid.ordering.ProductSearchOrderthe product search order
ErrorsUNIMPLEMENTEDsupportsProductSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsProductSearchOrder() is true .
MethodorderByAmount
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByDebit
Description

Specifies a preference for ordering the result set by debit.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodorderByRecurringInterval
Description

Specifies a preference for ordering the result set by interval.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis 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.TypeitemRecordTypean item record type
Returnosid.billing.records.ItemSearchOrderRecordthe item search order record
ErrorsNULL_ARGUMENTitemRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(itemRecordType) is false
CompliancemandatoryThis method must be implemented.