Interface DictionarySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
This interface defines search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetDictionarySearchRecord(Type dictionarySearchRecordType) Gets the dictionary search record corresponding to the given dictionary search recordType.This method is used to retrieve an object implementing the requested record interface.voidorderDictionaryResults(DictionarySearchOrder dictionarySearchOrder) Specify an ordering to the search results.voidsearchAmongDictionaries(IdList dictionaryIds) Execute this search among the given list of dictionaries.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongDictionaries
Execute this search among the given list of dictionaries.- Parameters:
dictionaryIds- list of dictionaries- Throws:
NullArgumentException-dictionaryIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderDictionaryResults
Specify an ordering to the search results.- Parameters:
dictionarySearchOrder- dictionary search order- Throws:
NullArgumentException-dictionarySearchOrderisnullUnsupportedException-dictionarySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getDictionarySearchRecord
DictionarySearchRecord getDictionarySearchRecord(Type dictionarySearchRecordType) throws OperationFailedException Gets the dictionary search record corresponding to the given dictionary search recordType.This method is used to retrieve an object implementing the requested record interface.- Parameters:
dictionarySearchRecordType- a dictionary search record type- Returns:
- the dictionary search record
- Throws:
NullArgumentException-dictionarySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(dictionarySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-