OSID Logo
OSID Specifications
workflow package
Version 3.1.0
Interfaceosid.workflow.StepSearchOrder
Implementsosid.OsidRuleSearchOrder
osid.OsidSubjugateableSearchOrder
Used Byosid.workflow.ProcessSearchOrder
osid.workflow.StepSearchSession
osid.workflow.StepSmartOfficeSession
osid.workflow.event.WorkflowEventSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByProcess
Description

Orders the results by process.

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

Tests if a process search order is available.

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

Gets the process search order.

Returnosid.workflow.ProcessSearchOrder the process search order
ErrorsILLEGAL_STATE supportsProcessSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodorderByInitial
Description

Orders the results by initial steps.

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

Orders the results by terminal steps.

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

Orders the results by next state.

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

Tests if a next state search order is available.

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

Gets the next state search order.

Returnosid.process.StateSearchOrder the state search order
ErrorsILLEGAL_STATE supportsNextStateSearchOrder() is false
Compliancemandatory This method must be implemented.
MethodgetStepSearchOrderRecord
Description

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

Parametersosid.type.TypestepRecordType a step record type
Returnosid.workflow.records.StepSearchOrderRecord the step search order record
ErrorsNULL_ARGUMENT stepRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(stepRecordType) is false
Compliancemandatory This method must be implemented.