OSID Logo
OSID Specifications
learning package
Version 3.1.0
Interfaceosid.learning.ObjectiveBankQuery
Implementsosid.OsidCatalogQuery
Used Byosid.learning.ActivityQuery
osid.learning.ObjectiveBankQuery
osid.learning.ObjectiveBankQuerySession
osid.learning.ObjectiveBankSearchSession
osid.learning.ObjectiveQuery
osid.learning.ProficiencyQuery
Description

This is the query for searching objective banks. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchObjectiveId
Description

Sets the objective Id for this query.

Parametersosid.id.IdobjectiveId an objective Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT objectiveId is null
Compliancemandatory This method must be implemented.
MethodclearObjectiveIdTerms
Description

Clears the objective Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsObjectiveQuery
Description

Tests if an ObjectiveQuery is available.

Returnboolean true if an objective query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetObjectiveQuery
Description

Gets the query for an objective. Multiple retrievals produce a nested OR term.

Returnosid.learning.ObjectiveQuery the objective query
ErrorsUNIMPLEMENTED supportsObjectiveQuery() is false
Complianceoptional This method must be implemented if supportsObjectiveQuery() is true.
MethodmatchAnyObjective
Description

Matches an objective bank that has any objective assigned.

Parametersbooleanmatch true to match objective banks with any objective, false to match objective banks with no objectives
Compliancemandatory This method must be implemented.
MethodclearObjectiveTerms
Description

Clears the objective terms.

Compliancemandatory This method must be implemented.
MethodmatchActivityId
Description

Sets the activity Id for this query.

Parametersosid.id.IdactivityId an activity Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT activityId is null
Compliancemandatory This method must be implemented.
MethodclearActivityIdTerms
Description

Clears the activity Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsActivityQuery
Description

Tests if a ActivityQuery is available for querying activities.

Returnboolean true if an activity query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetActivityQuery
Description

Gets the query for an activity. Multiple retrievals produce a nested OR term.

Returnosid.learning.ActivityQuery the activity query
ErrorsUNIMPLEMENTED supportsActivityQuery() is false
Complianceoptional This method must be implemented if supportsActivityQuery() is true.
MethodmatchAnyActivity
Description

Matches an objective bank that has any activity assigned.

Parametersbooleanmatch true to match objective banks with any activity, false to match objective banks with no activities
Compliancemandatory This method must be implemented.
MethodclearActivityTerms
Description

Clears the activity terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorObjectiveBankId
Description

Sets the objective bank Id for this query to match objective banks that have the specified objective bank as an ancestor.

Parametersosid.id.IdobjectiveBankId an objective bank Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT objectiveBankId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorObjectiveBankIdTerms
Description

Clears the ancestor objective bank Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorObjectiveBankQuery
Description

Tests if a ObjectiveBankQuery is available for querying ancestor objective banks.

Returnboolean true if an objective bank query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAncestorObjectiveBankQuery
Description

Gets the query for an objective bank. Multiple retrievals produce a nested OR term.

Returnosid.learning.ObjectiveBankQuery the objective bank query
ErrorsUNIMPLEMENTED supportsAncestorObjectiveBankQuery() is false
Complianceoptional This method must be implemented if supportsAncestorCalndarQuery() is true.
MethodmatchAnyAncestorObjectiveBank
Description

Matches an objective bank that has any ancestor.

Parametersbooleanmatch true to match objective banks with any ancestor, false to match root objective banks
Compliancemandatory This method must be implemented.
MethodclearAncestorObjectiveBankTerms
Description

Clears the ancestor objective bank terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantObjectiveBankId
Description

Sets the objective bank Id for this query to match objective banks that have the specified objective bank as a descendant.

Parametersosid.id.IdobjectiveBankId an objective bank Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT objectiveBankId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantObjectiveBankIdTerms
Description

Clears the descendant objective bank Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantObjectiveBankQuery
Description

Tests if a ObjectiveBankQuery is available for querying descendant objective banks.

Returnboolean true if an objective bank query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDescendantObjectiveBankQuery
Description

Gets the query for an objective bank. Multiple retrievals produce a nested OR term.

Returnosid.learning.ObjectiveBankQuery the objective bank query
ErrorsUNIMPLEMENTED supportsDescendantObjectiveBankQuery() is false
Complianceoptional This method must be implemented if supportsDescendantCalndarQuery() is true.
MethodmatchAnyDescendantObjectiveBank
Description

Matches an objective bank that has any descendant.

Parametersbooleanmatch true to match objective banks with any descendant, false to match leaf objective banks
Compliancemandatory This method must be implemented.
MethodclearDescendantObjectiveBankTerms
Description

Clears the descendant objective bank terms.

Compliancemandatory This method must be implemented.
MethodgetObjectiveBankQueryRecord
Description

Gets the objective bank query record corresponding to the given ObjectiveBank record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeobjectiveBankRecordType an objective bank record type
Returnosid.learning.records.ObjectiveBankQueryRecord the objective bank query record
ErrorsNULL_ARGUMENT objectiveBankRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(objectiveBankRecordType) is false
Compliancemandatory This method must be implemented.