Queries¶
Grade Query¶
-
class
dlkit.grading.queries.GradeQuery¶ Bases:
dlkit.osid.queries.OsidObjectQuery,dlkit.osid.queries.OsidSubjugateableQueryThis is the query for searching gradings.
Each method match request produces an
ANDterm while multiple invocations of a method produces a nestedOR.-
match_grade_system_id(grade_system_id, match)¶ Sets the grade system
Idfor this query.Parameters: - grade_system_id (
osid.id.Id) – a grade systemId - match (
boolean) –truefor a positive match,falsefor negative match
Raise: NullArgument–grade_system_idisnullcompliance: mandatory – This method must be implemented.
- grade_system_id (
-
grade_system_id_terms¶
-
supports_grade_system_query()¶ Tests if a
GradeSystemQueryis available for querying grade systems.Returns: trueif a grade system query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_system_query¶ Gets the query for a grade system.
Multiple retrievals produce a nested
ORterm.Returns: the grade system query Return type: osid.grading.GradeSystemQueryRaise: Unimplemented–supports_grade_system_query()isfalsecompliance: optional – This method must be implemented if ``supports_grade_system_query()`` is ``true``.
-
grade_system_terms¶
-
match_input_score_start_range(start, end, match)¶ Matches grades with the start input score inclusive.
Parameters: - start (
decimal) – start of range - end (
decimal) – end of range - match (
boolean) –truefor a positive match,falsefor negative match
Raise: InvalidArgument–startis greater thanendcompliance: mandatory – This method must be implemented.
- start (
-
input_score_start_range_terms¶
-
match_input_score_end_range(start, end, match)¶ Matches grades with the end input score inclusive.
Parameters: - start (
decimal) – start of range - end (
decimal) – end of range - match (
boolean) –truefor a positive match,falsefor negative match
Raise: InvalidArgument–startis greater thanendcompliance: mandatory – This method must be implemented.
- start (
-
input_score_end_range_terms¶
-
match_input_score(start, end, match)¶ Matches grades with the input score range contained within the given range inclusive.
Parameters: - start (
decimal) – start of range - end (
decimal) – end of range - match (
boolean) –truefor a positive match,falsefor negative match
Raise: InvalidArgument–startis greater thanendcompliance: mandatory – This method must be implemented.
- start (
-
input_score_terms¶
-
match_output_score(start, end, match)¶ Matches grades with the output score contained within the given range inclusive.
Parameters: - start (
decimal) – start of range - end (
decimal) – end of range - match (
boolean) –truefor a positive match,falsefor negative match
Raise: InvalidArgument–startis greater thanendcompliance: mandatory – This method must be implemented.
- start (
-
output_score_terms¶
-
match_grade_entry_id(grade_entry_id, match)¶ Sets the grade entry
Idfor this query.Parameters: - grade_entry_id (
osid.id.Id) – a grade entryId - match (
boolean) –truefor a positive match,falsefor negative match
Raise: NullArgument–grade_entry_idisnullcompliance: mandatory – This method must be implemented.
- grade_entry_id (
-
grade_entry_id_terms¶
-
supports_grade_entry_query()¶ Tests if a
GradeEntryQueryis available for querying grade entries.Returns: trueif a grade entry query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_entry_query¶ Gets the query for a grade entry.
Multiple retrievals produce a nested
ORterm.Returns: the grade entry query Return type: osid.grading.GradeEntryQueryRaise: Unimplemented–supports_grade_entry_query()isfalsecompliance: optional – This method must be implemented if ``supports_grade_entry_query()`` is ``true``.
-
match_any_grade_entry(match)¶ Matches grades that are assigned to any grade entry.
Parameters: match ( boolean) –trueto match grades used in any grade entry,falseto match grades that are not used in any grade entriescompliance: mandatory – This method must be implemented.
-
grade_entry_terms¶
-
match_gradebook_id(gradebook_id, match)¶ Sets the gradebook
Idfor this query.Parameters: - gradebook_id (
osid.id.Id) – a gradebookId - match (
boolean) –truefor a positive match,falsefor negative match
Raise: NullArgument–gradebook_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_id (
-
gradebook_id_terms¶
-
supports_gradebook_query()¶ Tests if a
GradebookQueryis available.Returns: trueif a gradebook query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_query¶ Gets the query for a gradebook.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook query Return type: osid.grading.GradebookQueryRaise: Unimplemented–supports_gradebook_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_column_query()`` is ``true``.
-
gradebook_terms¶
-
get_grade_query_record(grade_record_type)¶ Gets the grade query record corresponding to the given
GraderecordType.Multiple retrievals produce a nested
ORterm.Parameters: grade_record_type ( osid.type.Type) – a grade record typeReturns: the grade query record Return type: osid.grading.records.GradeQueryRecordRaise: NullArgument–grade_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Grade System Query¶
-
class
dlkit.grading.queries.GradeSystemQuery¶ Bases:
dlkit.osid.queries.OsidObjectQuery,dlkit.osid.queries.OsidAggregateableQueryThis is the query for searching grade systems.
Each method match request produces an
ANDterm while multiple invocations of a method produces a nestedOR.-
match_based_on_grades(match)¶ Matches grade systems based on grades.
Parameters: match ( boolean) –truefor a positive match,falsefor negative matchcompliance: mandatory – This method must be implemented.
-
based_on_grades_terms¶
-
match_grade_id(grade_id, match)¶ Sets the grade
Idfor this query.Parameters: - grade_id (
osid.id.Id) – a gradeId - match (
boolean) –truefor a positive match,falsefor negative match
Raise: NullArgument–grade_idisnullcompliance: mandatory – This method must be implemented.
- grade_id (
-
grade_id_terms¶
-
supports_grade_query()¶ Tests if a
GradeQueryis available for querying grades.Returns: trueif a grade query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_query¶ Gets the query for a grade.
Multiple retrievals produce a nested
ORterm.Returns: the grade query Return type: osid.grading.GradeQueryRaise: Unimplemented–supports_grade_query()isfalsecompliance: optional – This method must be implemented if ``supports_grade_query()`` is ``true``.
-
match_any_grade(match)¶ Matches grade systems with any grade.
Parameters: match ( boolean) –trueto match grade systems with any grade,falseto match systems with no gradecompliance: mandatory – This method must be implemented.
-
grade_terms¶
-
match_lowest_numeric_score(start, end, match)¶ Matches grade systems whose low end score falls in the specified range inclusive.
Parameters: - start (
decimal) – low end of range - end (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor negative match
Raise: InvalidArgument–endis less thanstartRaise: NullArgument–grade_idisnullcompliance: mandatory – This method must be implemented.
- start (
-
lowest_numeric_score_terms¶
-
match_numeric_score_increment(start, end, match)¶ Matches grade systems numeric score increment is between the specified range inclusive.
Parameters: - start (
decimal) – low end of range - end (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor negative match
Raise: InvalidArgument–endis less thanstartRaise: NullArgument–grade_idisnullcompliance: mandatory – This method must be implemented.
- start (
-
numeric_score_increment_terms¶
-
match_highest_numeric_score(start, end, match)¶ Matches grade systems whose high end score falls in the specified range inclusive.
Parameters: - start (
decimal) – low end of range - end (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor negative match
Raise: InvalidArgument–endis less thanstartRaise: NullArgument–grade_idisnullcompliance: mandatory – This method must be implemented.
- start (
-
highest_numeric_score_terms¶
-
match_gradebook_column_id(gradebook_column_id, match)¶ Sets the gradebook column
Idfor this query.Parameters: - gradebook_column_id (
osid.id.Id) – a gradebook columnId - match (
boolean) –truefor a positive match,falsefor negative match
Raise: NullArgument–gradebook_column_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_column_id (
-
gradebook_column_id_terms¶
-
supports_gradebook_column_query()¶ Tests if a
GradebookColumnQueryis available.Returns: trueif a gradebook column query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_column_query¶ Gets the query for a gradebook column.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook column query Return type: osid.grading.GradebookColumnQueryRaise: Unimplemented–supports_gradebook_column_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_column_query()`` is ``true``.
-
match_any_gradebook_column(match)¶ Matches grade systems assigned to any gradebook column.
Parameters: match ( boolean) –trueto match grade systems mapped to any column,falseto match systems mapped to no columnscompliance: mandatory – This method must be implemented.
-
gradebook_column_terms¶
-
match_gradebook_id(gradebook_id, match)¶ Sets the gradebook
Idfor this query.Parameters: - gradebook_id (
osid.id.Id) – a gradebookId - match (
boolean) –truefor a positive match,falsefor negative match
Raise: NullArgument–gradebook_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_id (
-
gradebook_id_terms¶
-
supports_gradebook_query()¶ Tests if a
GradebookQueryis available.Returns: trueif a gradebook query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_query¶ Gets the query for a gradebook.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook query Return type: osid.grading.GradebookQueryRaise: Unimplemented–supports_gradebook_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_query()`` is ``true``.
-
gradebook_terms¶
-
get_grade_system_query_record(grade_system_record_type)¶ Gets the grade system query record corresponding to the given
GradeSystemrecordType.Multiple retrievals produce a nested
ORterm.Parameters: grade_system_record_type ( osid.type.Type) – a grade system record typeReturns: the grade system query record Return type: osid.grading.records.GradeSystemQueryRecordRaise: NullArgument–grade_system_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_system_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Grade Entry Query¶
-
class
dlkit.grading.queries.GradeEntryQuery¶ Bases:
dlkit.osid.queries.OsidRelationshipQueryThis is the query for searching grade entries.
Each method match request produces an
ANDterm while multiple invocations of a method produces a nestedOR.-
match_gradebook_column_id(gradebook_column_id, match)¶ Sets the gradebook column
Idfor this query.Parameters: - gradebook_column_id (
osid.id.Id) – a gradebook columnId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–gradebook_column_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_column_id (
-
gradebook_column_id_terms¶
-
supports_gradebook_column_query()¶ Tests if a
GradebookColumnQueryis available for querying creators.Returns: trueif a gradebook column query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_column_query¶ Gets the query for a gradebook column.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook column query Return type: osid.grading.GradebookColumnQueryRaise: Unimplemented–supports_gradebook_column_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_column_query()`` is ``true``.
-
gradebook_column_terms¶
-
match_key_resource_id(resource_id, match)¶ Sets the key resource
Idfor this query.Parameters: - resource_id (
osid.id.Id) – a resourceId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–resource_idisnullcompliance: mandatory – This method must be implemented.
- resource_id (
-
key_resource_id_terms¶
-
supports_key_resource_query()¶ Tests if a
ResourceQUeryis available for querying key resources.Returns: trueif a resource query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
key_resource_query¶ Gets the query for a key resource.
Multiple retrievals produce a nested
ORterm.Returns: the resource query Return type: osid.resource.ResourceQueryRaise: Unimplemented–supports_key_resource_query()isfalsecompliance: optional – This method must be implemented if ``supports_key_resource_query()`` is ``true``.
-
match_any_key_resource(match)¶ Matches grade entries with any key resource.
Parameters: match ( boolean) –trueto match grade entries with any key resource,falseto match entries with no key resourcecompliance: mandatory – This method must be implemented.
-
key_resource_terms¶
-
match_derived(match)¶ Matches derived grade entries.
Parameters: match ( boolean) –trueto match derived grade entries ,falseto match manual entriescompliance: mandatory – This method must be implemented.
-
derived_terms¶
-
match_overridden_grade_entry_id(grade_entry_id, match)¶ Sets the grade entry
Idfor an overridden calculated grade entry.Parameters: - grade_entry_id (
osid.id.Id) – a grade entryId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–grade_entry_idisnullcompliance: mandatory – This method must be implemented.
- grade_entry_id (
-
overridden_grade_entry_id_terms¶
-
supports_overridden_grade_entry_query()¶ Tests if a
GradeEntryis available for querying overridden calculated grade entries.Returns: trueif a grade entry query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
overridden_grade_entry_query¶ Gets the query for an overridden derived grade entry.
Multiple retrievals produce a nested
ORterm.Returns: the grade entry query Return type: osid.grading.GradeEntryQueryRaise: Unimplemented–supports_overridden_grade_entry_query()isfalsecompliance: optional – This method must be implemented if ``supports_overridden_grade_entry_query()`` is ``true``.
-
match_any_overridden_grade_entry(match)¶ Matches grade entries overriding any calculated grade entry.
Parameters: match ( boolean) –trueto match grade entries overriding any grade entry,falseto match entries not overriding any entrycompliance: mandatory – This method must be implemented.
-
overridden_grade_entry_terms¶
-
match_ignored_for_calculations(match)¶ Matches grade entries ignored for calculations.
Parameters: match ( boolean) –trueto match grade entries ignored for calculations,falseto match entries used in calculationscompliance: mandatory – This method must be implemented.
-
ignored_for_calculations_terms¶
-
match_grade_id(grade_id, match)¶ Sets the grade
Idfor this query.Parameters: - grade_id (
osid.id.Id) – a gradeId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–grade_idisnullcompliance: mandatory – This method must be implemented.
- grade_id (
-
grade_id_terms¶
-
supports_grade_query()¶ Tests if a
GradeQueryis available for querying grades.Returns: trueif a grade query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_query¶ Gets the query for a grade.
Multiple retrievals produce a nested
ORterm.Returns: the grade query Return type: osid.grading.GradeQueryRaise: Unimplemented–supports_grade_query()isfalsecompliance: optional – This method must be implemented if ``supports_grade_query()`` is ``true``.
-
match_any_grade(match)¶ Matches grade entries with any grade.
Parameters: match ( boolean) –trueto match grade entries with any grade,falseto match entries with no gradecompliance: mandatory – This method must be implemented.
-
grade_terms¶
-
match_score(start, end, match)¶ Matches grade entries which score is between the specified score inclusive.
Parameters: - start (
decimal) – start of range - end (
decimal) – end of range - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: InvalidArgument–endis less thanstartcompliance: mandatory – This method must be implemented.
- start (
-
match_any_score(match)¶ Matches grade entries with any score.
Parameters: match ( boolean) –trueto match grade entries with any score,falseto match entries with no scorecompliance: mandatory – This method must be implemented.
-
score_terms¶
-
match_time_graded(start, end, match)¶ Matches grade entries which graded time is between the specified times inclusive.
Parameters: - start (
osid.calendaring.DateTime) – start of range - end (
osid.calendaring.DateTime) – end of range - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: InvalidArgument–endis less thanstartcompliance: mandatory – This method must be implemented.
- start (
-
time_graded_terms¶
-
match_grader_id(resource_id, match)¶ Sets the agent
Idfor this query.Parameters: - resource_id (
osid.id.Id) – a resourceId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–resource_idisnullcompliance: mandatory – This method must be implemented.
- resource_id (
-
grader_id_terms¶
-
supports_grader_query()¶ Tests if a
ResourceQueryis available for querying graders.Returns: trueif a resource query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grader_query¶ Gets the query for an agent.
Multiple retrievals produce a nested
ORterm.Returns: the resource query Return type: osid.resource.ResourceQueryRaise: Unimplemented–supports_resource_query()isfalsecompliance: optional – This method must be implemented if ``supports_resource_query()`` is ``true``.
-
match_any_grader(match)¶ Matches grade entries with any grader.
Parameters: match ( boolean) –trueto match grade entries with any grader,falseto match entries with no gradercompliance: mandatory – This method must be implemented.
-
grader_terms¶
-
match_grading_agent_id(agent_id, match)¶ Sets the grading agent
Idfor this query.Parameters: - agent_id (
osid.id.Id) – an agentId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–agent_idisnullcompliance: mandatory – This method must be implemented.
- agent_id (
-
grading_agent_id_terms¶
-
supports_grading_agent_query()¶ Tests if an
AgentQueryis available for querying grading agents.Returns: trueif an agent query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grading_agent_query¶ Gets the query for an agent.
Multiple retrievals produce a nested
ORterm.Returns: the agent query Return type: osid.authentication.AgentQueryRaise: Unimplemented–supports_grading_agent_query()isfalsecompliance: optional – This method must be implemented if ``supports_grading_agent_query()`` is ``true``.
-
match_any_grading_agent(match)¶ Matches grade entries with any grading agent.
Parameters: match ( boolean) –trueto match grade entries with any grading agent,falseto match entries with no grading agentcompliance: mandatory – This method must be implemented.
-
grading_agent_terms¶
-
match_gradebook_id(gradebook_id, match)¶ Sets the gradebook
Idfor this query.Parameters: - gradebook_id (
osid.id.Id) – a gradebookId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–gradebook_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_id (
-
gradebook_id_terms¶
-
supports_gradebook_query()¶ Tests if a
GradebookQueryis available for querying resources.Returns: trueif a gradebook query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_query¶ Gets the query for a gradebook.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook query Return type: osid.grading.GradebookQueryRaise: Unimplemented–supports_gradebook_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_query()`` is ``true``.
-
gradebook_terms¶
-
get_grade_entry_query_record(grade_entry_record_type)¶ Gets the grade entry query record corresponding to the given
GradeEntryrecordType.Multiple retrievals produce a nested
ORterm.Parameters: grade_entry_record_type ( osid.type.Type) – a grade entry record typeReturns: the grade entry query record Return type: osid.grading.records.GradeEntryQueryRecordRaise: NullArgument–grade_entry_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(grade_entry_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Gradebook Column Query¶
-
class
dlkit.grading.queries.GradebookColumnQuery¶ Bases:
dlkit.osid.queries.OsidObjectQueryThis is the query for searching gradings.
Each method match request produces an
ANDterm while multiple invocations of a method produces a nestedOR.-
match_grade_system_id(grade_system_id, match)¶ Sets the grade system
Idfor this query.Parameters: - grade_system_id (
osid.id.Id) – a grade systemId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–grade_system_idisnullcompliance: mandatory – This method must be implemented.
- grade_system_id (
-
grade_system_id_terms¶
-
supports_grade_system_query()¶ Tests if a
GradeSystemQueryis available for querying grade systems.Returns: trueif a grade system query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_system_query¶ Gets the query for a grade system.
Multiple retrievals produce a nested
ORterm.Returns: the grade system query Return type: osid.grading.GradeSystemQueryRaise: Unimplemented–supports_grade_system_query()isfalsecompliance: optional – This method must be implemented if ``supports_grade_system_query()`` is ``true``.
-
match_any_grade_system(match)¶ Matches gradebook columns with any grade system assigned.
Parameters: match ( boolean) –trueto match columns with any grade system,falseto match columns with no grade systemcompliance: mandatory – This method must be implemented.
-
grade_system_terms¶
-
match_grade_entry_id(grade_entry_id, match)¶ Sets the grade entry
Idfor this query.Parameters: - grade_entry_id (
osid.id.Id) – a grade entryId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–grade_entry_idisnullcompliance: mandatory – This method must be implemented.
- grade_entry_id (
-
grade_entry_id_terms¶
-
supports_grade_entry_query()¶ Tests if a
GradeEntryQueryis available for querying grade entries.Returns: trueif a grade entry query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_entry_query¶ Gets the query for a grade entry.
Multiple retrievals produce a nested
ORterm.Returns: the grade entry query Return type: osid.grading.GradeEntryQueryRaise: Unimplemented–supports_grade_entry_query()isfalsecompliance: optional – This method must be implemented if ``supports_grade_entry_query()`` is ``true``.
-
match_any_grade_entry(match)¶ Matches gradebook columns with any grade entry assigned.
Parameters: match ( boolean) –trueto match columns with any grade entry,falseto match columns with no grade entriescompliance: mandatory – This method must be implemented.
-
grade_entry_terms¶
-
supports_gradebook_column_summary_query()¶ Tests if a
GradebookColumnSummaryQueryis available for querying grade systems.Returns: trueif a gradebook column summary query interface is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_column_summary_query¶ Gets the query interface for a gradebook column summary.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook column summary query Return type: osid.grading.GradebookColumnSummaryQueryRaise: Unimplemented–supports_gradebook_column_summary_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_column_summary_query()`` is ``true``.
-
gradebook_column_summary_terms¶
-
match_gradebook_id(gradebook_id, match)¶ Sets the gradebook
Idfor this query.Parameters: - gradebook_id (
osid.id.Id) – a gradebookId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–gradebook_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_id (
-
gradebook_id_terms¶
-
supports_gradebook_query()¶ Tests if a
GradebookQueryis available for querying grade systems.Returns: trueif a gradebook query interface is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_query¶ Gets the query interface for a gradebook.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook query Return type: osid.grading.GradebookQueryRaise: Unimplemented–supports_gradebook_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_query()`` is ``true``.
-
gradebook_terms¶
-
get_gradebook_column_query_record(gradebook_column_record_type)¶ Gets the gradebook column query record corresponding to the given
GradebookColumnrecordType.Multiple retrievals produce a nested
ORterm.Parameters: gradebook_column_record_type ( osid.type.Type) – a gradebook column record typeReturns: the gradebook column query record Return type: osid.grading.records.GradebookColumnQueryRecordRaise: NullArgument–gradebook_column_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(gradebook_column_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Gradebook Column Summary Query¶
-
class
dlkit.grading.queries.GradebookColumnSummaryQuery¶ Bases:
dlkit.osid.queries.OsidRuleQueryThis is the query for searching gradebook column summaries.
Each method match request produces an
ANDterm while multiple invocations of a method produces a nestedOR.-
match_gradebook_column_id(gradebook_column_id, match)¶ Sets the gradebook column
Idfor this query.Parameters: - gradebook_column_id (
osid.id.Id) – a gradeboo columnId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–gradebook_column_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_column_id (
-
gradebook_column_id_terms¶
-
supports_gradebook_column_query()¶ Tests if a
GradebookColumnQueryis available for querying gradebook column.Returns: trueif a gradebook column query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_column_query¶ Gets the query for a gradebook column.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook column query Return type: osid.grading.GradebookColumnQueryRaise: Unimplemented–supports_gradebook_column_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_column_query()`` is ``true``.
-
match_any_gradebook_column(match)¶ Matches gradebook column derivations with any gradebookc olumn.
Parameters: match ( boolean) –trueto match gradebook column derivations with any gradebook column,falseto match gradebook column derivations with no gradebook columnscompliance: mandatory – This method must be implemented.
-
gradebook_column_terms¶
-
match_mean(low, high, match)¶ Matches a mean between the given values inclusive.
Parameters: - low (
decimal) – low end of range - high (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: InvalidArgument–lowis greater thanhighcompliance: mandatory – This method must be implemented.
- low (
-
mean_terms¶
-
match_minimum_mean(value, match)¶ Matches a mean greater than or equal to the given value.
Parameters: - value (
decimal) – minimum value - match (
boolean) –truefor a positive match,falsefor a negative match
compliance: mandatory – This method must be implemented.
- value (
-
minimum_mean_terms¶
-
match_median(low, high, match)¶ Matches a median between the given values inclusive.
Parameters: - low (
decimal) – low end of range - high (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: InvalidArgument–lowis greater thanhighcompliance: mandatory – This method must be implemented.
- low (
-
median_terms¶
-
match_minimum_median(value, match)¶ Matches a median greater than or equal to the given value.
Parameters: - value (
decimal) – minimum value - match (
boolean) –truefor a positive match,falsefor a negative match
compliance: mandatory – This method must be implemented.
- value (
-
minimum_median_terms¶
-
match_mode(low, high, match)¶ Matches a mode between the given values inclusive.
Parameters: - low (
decimal) – low end of range - high (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: InvalidArgument–lowis greater thanhighcompliance: mandatory – This method must be implemented.
- low (
-
mode_terms¶
-
match_minimum_mode(value, match)¶ Matches a mode greater than or equal to the given value.
Parameters: - value (
decimal) – minimum value - match (
boolean) –truefor a positive match,falsefor a negative match
compliance: mandatory – This method must be implemented.
- value (
-
minimum_mode_terms¶
-
match_rms(low, high, match)¶ Matches a root mean square between the given values inclusive.
Parameters: - low (
decimal) – low end of range - high (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: InvalidArgument–lowis greater thanhighcompliance: mandatory – This method must be implemented.
- low (
-
rms_terms¶
-
match_minimum_rms(value, match)¶ Matches a root mean square greater than or equal to the given value.
Parameters: - value (
decimal) – minimum value - match (
boolean) –truefor a positive match,falsefor a negative match
compliance: mandatory – This method must be implemented.
- value (
-
minimum_rms_terms¶
-
match_standard_deviation(low, high, match)¶ Matches a standard deviation mean square between the given values inclusive.
Parameters: - low (
decimal) – low end of range - high (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: InvalidArgument–lowis greater thanhighcompliance: mandatory – This method must be implemented.
- low (
-
standard_deviation_terms¶
-
match_minimum_standard_deviation(value, match)¶ Matches a standard deviation greater than or equal to the given value.
Parameters: - value (
decimal) – minimum value - match (
boolean) –truefor a positive match,falsefor a negative match
compliance: mandatory – This method must be implemented.
- value (
-
minimum_standard_deviation_terms¶
-
match_sum(low, high, match)¶ Matches a sum mean square between the given values inclusive.
Parameters: - low (
decimal) – low end of range - high (
decimal) – high end of range - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: InvalidArgument–lowis greater thanhighcompliance: mandatory – This method must be implemented.
- low (
-
sum_terms¶
-
match_minimum_sum(value, match)¶ Matches a sum greater than or equal to the given value.
Parameters: - value (
decimal) – minimum value - match (
boolean) –truefor a positive match,falsefor a negative match
compliance: mandatory – This method must be implemented.
- value (
-
minimum_sum_terms¶
-
match_gradebook_id(gradebook_id, match)¶ Sets the gradebook
Idfor this query.Parameters: - gradebook_id (
osid.id.Id) – a gradebookId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–gradebook_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_id (
-
gradebook_id_terms¶
-
supports_gradebook_query()¶ Tests if a
GradebookQueryis available.Returns: trueif a gradebook query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_query¶ Gets the query for a gradebook.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook query Return type: osid.grading.GradebookQueryRaise: Unimplemented–supports_gradebook_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_column_query()`` is ``true``.
-
gradebook_terms¶
-
get_gradebook_column_summary_query_record(gradebook_column_summary_record_type)¶ Gets the gradebook column summary query record corresponding to the given
GradebookColumnSummaryrecordType.Multiple retrievals produce a nested
ORterm.Parameters: gradebook_column_summary_record_type ( osid.type.Type) – a gradebook column summary record typeReturns: the gradebook column summary query record Return type: osid.grading.records.GradebookColumnSummaryQueryRecordRaise: NullArgument–gradebook_column_summary_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(gradebook_column_summary_record_type)isfalsecompliance: mandatory – This method must be implemented.
-
Gradebook Query¶
-
class
dlkit.grading.queries.GradebookQuery¶ Bases:
dlkit.osid.queries.OsidCatalogQueryThis is the query for searching gradebooks.
Each method specifies an
ANDterm while multiple invocations of the same method produce a nestedOR.-
match_grade_system_id(grade_system_id, match)¶ Sets the grade system
Idfor this query.Parameters: - grade_system_id (
osid.id.Id) – a grade systemId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–grade_system_idisnullcompliance: mandatory – This method must be implemented.
- grade_system_id (
-
grade_system_id_terms¶
-
supports_grade_system_query()¶ Tests if a
GradeSystemQueryis available.Returns: trueif a grade system query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_system_query¶ Gets the query for a grade system.
Multiple retrievals produce a nested
ORterm.Returns: the grade system query Return type: osid.grading.GradeSystemQueryRaise: Unimplemented–supports_grade_system_query()isfalsecompliance: optional – This method must be implemented if ``supports_grade_system_query()`` is ``true``.
-
match_any_grade_system(match)¶ Matches gradebooks that have any grade system.
Parameters: match ( boolean) –trueto match gradebooks with any grade system,falseto match gradebooks with no grade systemcompliance: mandatory – This method must be implemented.
-
grade_system_terms¶
-
match_grade_entry_id(grade_entry_id, match)¶ Sets the grade entry
Idfor this query.Parameters: - grade_entry_id (
osid.id.Id) – a grade entryId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–grade_entry_idisnullcompliance: mandatory – This method must be implemented.
- grade_entry_id (
-
grade_entry_id_terms¶
-
supports_grade_entry_query()¶ Tests if a
GradeEntryQueryis available.Returns: trueif a grade entry query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
grade_entry_query¶ Gets the query for a grade entry.
Multiple retrievals produce a nested
ORterm.Returns: the grade entry query Return type: osid.grading.GradeEntryQueryRaise: Unimplemented–supports_grade_entry_query()isfalsecompliance: optional – This method must be implemented if ``supports_grade_entry_query()`` is ``true``.
-
match_any_grade_entry(match)¶ Matches gradebooks that have any grade entry.
Parameters: match ( boolean) –trueto match gradebooks with any grade entry,falseto match gradebooks with no grade entrycompliance: mandatory – This method must be implemented.
-
grade_entry_terms¶
-
match_gradebook_column_id(gradebook_column_id, match)¶ Sets the gradebook column
Idfor this query.Parameters: - gradebook_column_id (
osid.id.Id) – a gradebook columnId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–gradebook_column_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_column_id (
-
gradebook_column_id_terms¶
-
supports_gradebook_column_query()¶ Tests if a
GradebookColumnQueryis available.Returns: trueif a gradebook column query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
gradebook_column_query¶ Gets the query for a gradebook column.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook column query Return type: osid.grading.GradebookColumnQueryRaise: Unimplemented–supports_gradebook_column_query()isfalsecompliance: optional – This method must be implemented if ``supports_gradebook_column_query()`` is ``true``.
-
match_any_gradebook_column(match)¶ Matches gradebooks that have any column.
Parameters: match ( boolean) –trueto match gradebooks with any column,falseto match gradebooks with no columncompliance: mandatory – This method must be implemented.
-
gradebook_column_terms¶
-
match_ancestor_gradebook_id(gradebook_id, match)¶ Sets the gradebook
Idfor this query to match gradebooks that have the specified gradebook as an ancestor.Parameters: - gradebook_id (
osid.id.Id) – a gradebookId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–gradebook_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_id (
-
ancestor_gradebook_id_terms¶
-
supports_ancestor_gradebook_query()¶ Tests if a
GradebookQueryis available.Returns: trueif a gradebook query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
ancestor_gradebook_query¶ Gets the query for a gradebook.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook query Return type: osid.grading.GradebookQueryRaise: Unimplemented–supports_ancestor_gradebook_query()isfalsecompliance: optional – This method must be implemented if ``supports_ancestor_gradebook_query()`` is ``true``.
-
match_any_ancestor_gradebook(match)¶ Matches gradebook with any ancestor.
Parameters: match ( boolean) –trueto match gradebooks with any ancestor,falseto match root gradebookscompliance: mandatory – This method must be implemented.
-
ancestor_gradebook_terms¶
-
match_descendant_gradebook_id(gradebook_id, match)¶ Sets the gradebook
Idfor this query to match gradebooks that have the specified gradebook as a descendant.Parameters: - gradebook_id (
osid.id.Id) – a gradebookId - match (
boolean) –truefor a positive match,falsefor a negative match
Raise: NullArgument–gradebook_idisnullcompliance: mandatory – This method must be implemented.
- gradebook_id (
-
descendant_gradebook_id_terms¶
-
supports_descendant_gradebook_query()¶ Tests if a
GradebookQueryis available.Returns: trueif a gradebook query is available,falseotherwiseReturn type: booleancompliance: mandatory – This method must be implemented.
-
descendant_gradebook_query¶ Gets the query for a gradebook.
Multiple retrievals produce a nested
ORterm.Returns: the gradebook query Return type: osid.grading.GradebookQueryRaise: Unimplemented–supports_descendant_gradebook_query()isfalsecompliance: optional – This method must be implemented if ``supports_descendant_gradebook_query()`` is ``true``.
-
match_any_descendant_gradebook(match)¶ Matches gradebook with any descendant.
Parameters: match ( boolean) –trueto match gradebooks with any descendant,falseto match leaf gradebookscompliance: mandatory – This method must be implemented.
-
descendant_gradebook_terms¶
-
get_gradebook_query_record(gradebook_record_type)¶ Gets the gradebook query record corresponding to the given
GradebookrecordType.Multiple record retrievals produce a nested
ORterm.Parameters: gradebook_record_type ( osid.type.Type) – a gradebook record typeReturns: the gradebook query record Return type: osid.grading.records.GradebookQueryRecordRaise: NullArgument–gradebook_record_typeisnullRaise: OperationFailed– unable to complete requestRaise: Unsupported–has_record_type(gradebook_record_type)isfalsecompliance: mandatory – This method must be implemented.
-