OSID Logo
OSID Specifications
rules check package
Version 3.0.0
Release Candidate Preview
Interfaceosid.rules.check.InstructionSearchOrder
Implementsosid.OsidRelationshipSearchOrder
osid.OsidEnablerSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByAgenda
Description

Orders the results by agenda.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsAgendaSearchOrder
Description

Tests if an agenda search order is available.

Returnboolean true if an agenda search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAgendaSearchOrder
Description

Gets the agenda search order.

Returnosid.rules.check.AgendaSearchOrderthe agenda search order
ErrorsILLEGAL_STATE supportsAgendaSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByCheck
Description

Orders the results by check.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCheckSearchOrder
Description

Tests if a check search order is available.

Returnboolean true if a check search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCheckSearchOrder
Description

Gets the check search order.

Returnosid.rules.check.CheckSearchOrderthe check search order
ErrorsILLEGAL_STATE supportsCheckSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByMessage
Description

Orders the results by message.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByWarning
Description

Orders the results by the warning flag.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByContinueOnFail
Description

Orders the results by the continue-on-fail flag.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetInstructionSearchOrderRecord
Description

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

Parametersosid.type.TypeinstructionRecordTypean instruction record type
Returnosid.rules.check.records.InstructionSearchOrderRecordthe instruction search order record
ErrorsNULL_ARGUMENT instructionRecordType is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED hasRecordType(instructionRecordType) is false
CompliancemandatoryThis method must be implemented.