OSID Logo
OSID Specifications
checklist mason package
Version 3.1.0
Interfaceosid.checklist.mason.TodoProducerSearchOrder
Implementsosid.OsidRuleSearchOrder
Used Byosid.checklist.mason.TodoProducerSearchSession
osid.checklist.mason.TodoProducerSmartChecklistSession
Description

An interface for specifying the ordering of search results.

MethodorderByCreationRule
Description

Specifies a preference for ordering the result set by the creation rule flag.

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

Specifies a preference for ordering the result set by the cyclic event.

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

Tests if a cyclic event search order is available.

Returnboolean true if a cyclic event search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCyclicEventSearchOrder
Description

Gets the cyclic event search order.

Returnosid.calendaring.cycle.CyclicEventSearchOrder the cyclic event search order
ErrorsUNIMPLEMENTED supportsCyclicEventSearchOrder() is false
Complianceoptional This method must be implemented if supportsCyclicEventSearchOrder() is true.
MethodorderByStock
Description

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

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

Tests if a stock search order is available.

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

Gets the stock search order.

Returnosid.inventory.StockSearchOrder the stock search order
ErrorsUNIMPLEMENTED supportsStockSearchOrder() is false
Complianceoptional This method must be implemented if supportsStockSearchOrder() is true.
MethodorderByStockLevel
Description

Specifies a preference for ordering the result set by the stock level.

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

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

Parametersosid.type.TypetodoProducerRecordType a todo producer record type
Returnosid.checklist.mason.records.TodoProducerSearchOrderRecord the todo producer search order record
ErrorsNULL_ARGUMENT todoProducerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(todoProducerRecordType) is false
Compliancemandatory This method must be implemented.