Interface | osid.assessment.BankQuery | ||
---|---|---|---|
Implements | osid.OsidCatalogQuery | ||
Description |
This is the query for searching banks Each method specifies
an | ||
Method | matchItemId | ||
Description |
Sets the item | ||
Parameters | osid.id.Id | itemId | an item Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | itemId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearItemIdTerms | ||
Description |
Clears all item | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsItemQuery | ||
Description |
Tests if a | ||
Return | boolean | true if an item query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getItemQuery | ||
Description |
Gets the query for an item. Multiple retrievals produce
a nested | ||
Return | osid.assessment.ItemQuery | the item query | |
Errors | UNIMPLEMENTED | supportsItemQuery() is false | |
Compliance | optional | This method must be implemented if supportsItemQuery() is
true. | |
Method | matchAnyItem | ||
Description |
Matches assessment banks that have any item assigned. | ||
Parameters | boolean | match | true to match banks with any item, false to
match assessments with no item |
Compliance | mandatory | This method must be implemented. | |
Method | clearItemTerms | ||
Description |
Clears all item terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchAssessmentId | ||
Description |
Sets the assessment | ||
Parameters | osid.id.Id | assessmentId | an assessment Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | assessmentId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearAssessmentIdTerms | ||
Description |
Clears all assessment | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsAssessmentQuery | ||
Description |
Tests if an | ||
Return | boolean | true if an assessment query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getAssessmentQuery | ||
Description |
Gets the query for an assessment. Multiple retrievals
produce a nested | ||
Return | osid.assessment.AssessmentQuery | the assessment query | |
Errors | UNIMPLEMENTED | supportsAssessmentQuery() is false | |
Compliance | optional | This method must be implemented if supportsAssessmentQuery()
is true. | |
Method | matchAnyAssessment | ||
Description |
Matches assessment banks that have any assessment assigned. | ||
Parameters | boolean | match | true to match banks with any assessment, false
to match banks with no assessment |
Compliance | mandatory | This method must be implemented. | |
Method | clearAssessmentTerms | ||
Description |
Clears all assessment terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchAssessmentOfferedId | ||
Description |
Sets the assessment offered | ||
Parameters | osid.id.Id | assessmentOfferedId | an assessment Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | assessmentOfferedId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearAssessmentOfferedIdTerms | ||
Description |
Clears all assessment offered | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsAssessmentOfferedQuery | ||
Description |
Tests if an | ||
Return | boolean | true if an assessment offered query is available,
false otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getAssessmentOfferedQuery | ||
Description |
Gets the query for an assessment offered. Multiple
retrievals produce a nested | ||
Return | osid.assessment.AssessmentOfferedQuery | the assessment offered query | |
Errors | UNIMPLEMENTED | supportsAssessmentOfferedQuery() is false | |
Compliance | optional | This method must be implemented if supportsAssessmentOfferedQuery()
is true. | |
Method | matchAnyAssessmentOffered | ||
Description |
Matches assessment banks that have any assessment offering assigned. | ||
Parameters | boolean | match | true to match banks with any assessment offering,
false to match banks with no offering |
Compliance | mandatory | This method must be implemented. | |
Method | clearAssessmentOfferedTerms | ||
Description |
Clears all assessment offered terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchAncestorBankId | ||
Description |
Sets the bank | ||
Parameters | osid.id.Id | bankId | a bank Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | bankId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearAncestorBankIdTerms | ||
Description |
Clears all ancestor bank | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsAncestorBankQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a bank query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getAncestorBankQuery | ||
Description |
Gets the query for an ancestor bank. Multiple
retrievals produce a nested | ||
Return | osid.assessment.BankQuery | the bank query | |
Errors | UNIMPLEMENTED | supportsAncestorBankQuery() is false | |
Compliance | optional | This method must be implemented if supportsAncestorBankQuery()
is true. | |
Method | matchAnyAncestorBank | ||
Description |
Matches a bank that has any ancestor. | ||
Parameters | boolean | match | true to match banks with any ancestor banks, false
to match root banks |
Compliance | mandatory | This method must be implemented. | |
Method | clearAncestorBankTerms | ||
Description |
Clears all ancestor bank terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchDescendantBankId | ||
Description |
Sets the bank | ||
Parameters | osid.id.Id | bankId | a bank Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | bankId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearDescendantBankIdTerms | ||
Description |
Clears all descendant bank | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsDescendantBankQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a bank query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getDescendantBankQuery | ||
Description |
Gets the query for a descendant bank. Multiple
retrievals produce a nested | ||
Return | osid.assessment.BankQuery | the bank query | |
Errors | UNIMPLEMENTED | supportsDescendantBankQuery() is false | |
Compliance | optional | This method must be implemented if supportsDescendantBankQuery()
is true. | |
Method | matchAnyDescendantBank | ||
Description |
Matches a bank that has any descendant. | ||
Parameters | boolean | match | true to match banks with any descendant banks, false
to match leaf banks |
Compliance | mandatory | This method must be implemented. | |
Method | clearDescendantBankTerms | ||
Description |
Clears all descendant bank terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | getBankQueryRecord | ||
Description |
Gets the bank query record corresponding to the given
| ||
Parameters | osid.type.Type | bankRecordType | a bank record type |
Return | osid.assessment.records.BankQueryRecord | the bank query record | |
Errors | NULL_ARGUMENT | bankRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(bankRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |