Interface Query
- All Superinterfaces:
OsidQuery, Suppliable
This is the query interface.
-
Method Summary
Modifier and TypeMethodDescriptiongetQueryRecord(Type queryRecordType) Gets the query record corresponding to the givenQueryrecordType.Multiple record retrievals produce a nested booleanORterm.Methods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeModifier and TypeMethodDescriptionvoidClears the match any terms.voidClears all keyword terms.Gets the string matching types supported.voidmatchAny(boolean match) Matches any object.voidmatchKeyword(String keyword, Type stringMatchType, boolean match) Adds a keyword to match.booleansupportsStringMatchType(Type stringMatchType) Tests if the given string matching type is supported.
-
Method Details
-
getQueryRecord
QueryRecord getQueryRecord(Type queryRecordType) throws OperationFailedException, PermissionDeniedException Gets the query record corresponding to the givenQueryrecordType.Multiple record retrievals produce a nested booleanORterm.- Parameters:
queryRecordType- a query record type- Returns:
- the query record
- Throws:
NullArgumentException-queryRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(queryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-