Interface LogSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing log searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetLogSearchRecord(Type logSearchRecordType) Gets the log search record corresponding to the given log search recordType.voidorderLogResults(LogSearchOrder logSearchOrder) Specify an ordering to the search results.voidsearchAmongLogs(IdList logIds) Execute this search among the given list of logs.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
-
searchAmongLogs
Execute this search among the given list of logs.- Parameters:
logIds- list of logs- Throws:
NullArgumentException-logIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderLogResults
Specify an ordering to the search results.- Parameters:
logSearchOrder- log search order- Throws:
NullArgumentException-logSearchOrderisnullUnsupportedException-logSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getLogSearchRecord
Gets the log search record corresponding to the given log search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
logSearchRecordType- a log search record type- Returns:
- the log search record
- Throws:
NullArgumentException-logSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(logSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-