OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.0
Interfaceosid.assessment.authoring.AssessmentPartSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidContainableSearchOrder
osid.OsidOperableSearchOrder
Used Byosid.assessment.authoring.AssessmentPartSearchSession
osid.assessment.authoring.AssessmentPartSmartBankSession
osid.assessment.authoring.SequenceRuleSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByAssessment
Description

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

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

Tests if an assessment search order is available.

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

Gets the assessment order.

Returnosid.assessment.AssessmentSearchOrder the assessment search order
ErrorsUNIMPLEMENTED supportsAssessmentSearchOrder() is false
Complianceoptional This method must be implemented if supportsAssessmentSearchOrder() is true.
MethodorderBySection
Description

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

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

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

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

Specifies a preference for ordering the result set by the allocated time.

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

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

Parametersosid.type.TypeassessmentPartRecordType an assessment part record type
Returnosid.assessment.authoring.records.AssessmentPartSearchOrderRecord the assessment part search order record
ErrorsNULL_ARGUMENT assessmentPartRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentPartRecordType) is false
Compliancemandatory This method must be implemented.