Interface ModuleSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing module searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetModuleSearchRecord(Type moduleSearchRecordType) Gets the module search record corresponding to the given module search recordType.voidorderModuleResults(ModuleSearchOrder moduleSearchOrder) Specify an ordering to the search results.voidsearchAmongModules(IdList moduleIds) Execute this search among the given list of modules.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
-
searchAmongModules
Execute this search among the given list of modules.- Parameters:
moduleIds- list of modules- Throws:
NullArgumentException-moduleIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderModuleResults
Specify an ordering to the search results.- Parameters:
moduleSearchOrder- module search order- Throws:
NullArgumentException-moduleSearchOrderisnullUnsupportedException-moduleSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getModuleSearchRecord
ModuleSearchRecord getModuleSearchRecord(Type moduleSearchRecordType) throws OperationFailedException Gets the module search record corresponding to the given module search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
moduleSearchRecordType- a module search record type- Returns:
- the module search record
- Throws:
NullArgumentException-moduleSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(moduleSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-