OSID Logo
OSID Specifications
assessment authoring package
Version 3.1.0
Interfaceosid.assessment.authoring.AssessmentPartSearchSession
Implementsosid.assessment.authoring.AssessmentPartQuerySession
Used Byosid.assessment.authoring.AssessmentAuthoringManager
osid.assessment.authoring.AssessmentAuthoringProxyManager
Description

This session provides methods for searching among AssessmentPart objects. The search query is constructed using the AssessmentPartyQuery.

getAssessmentPartsByQuery() is the basic search method and returns a list of AssessmentParts. A more advanced search may be performed with getAssessmentPartsBySearch(). It accepts an AssessmentPartSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as workflow. getAssessmentPartsBySearch() returns an AssessmentPartSearchResults that can be used to access the resulting AssessmentPartList or be used to perform a search within the result set through AssessmentPartSearch.

This session defines views that offer differing behaviors for searching.

  • federated bank view: searches include assessment part in bank of which this bank matchmaker is an ancestor in the bank hierarchy
  • isolated bank view: searches are restricted to assessment part in this bank
AssessmentParts may have a query record indicated by their respective record types. Thequery record is accessed via the AssessmentPartQuery.
MethodgetAssessmentPartSearch
Description

Gets an assessment part search.

Returnosid.assessment.authoring.AssessmentPartSearch the assessment part search
Compliancemandatory This method must be implemented.
MethodgetAssessmentPartSearchOrder
Description

Gets an assessment part search order. The AssessmentPartSearchOrder is supplied to an AssessmentPartSearch to specify the ordering of results.

Returnosid.assessment.authoring.AssessmentPartSearchOrder the assessment part search order
Compliancemandatory This method must be implemented.
MethodgetAssessmentPartsBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.assessment.authoring.AssessmentPartQueryassessmentPartQuery the assessment part query
osid.assessment.authoring.AssessmentPartSearchassessmentPartSearch the assessment part search
Returnosid.assessment.authoring.AssessmentPartSearchResults the returned search results
ErrorsNULL_ARGUMENT assessmentPartQuery or assessmentPartSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED assessmentPartQuery or assessmentPartSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetAssessmentPartQueryFromInspector
Description

Gets an assessment part query from an inspector. The inspector is available from an AssessmentPartSearchResults.

Parametersosid.assessment.authoring.AssessmentPartQueryInspectorassessmentPartQueryInspector an assessment part query inspector
Returnosid.assessment.authoring.AssessmentPartQuery the assessment part query
ErrorsNULL_ARGUMENT assessmentPartQueryInspector is null
UNSUPPORTED assessmentPartQueryInspector is not of this service
Compliancemandatory This method must be implemented.