Interface ReplySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing reply searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetReplySearchRecord(Type replySearchRecordType) Gets the reply search record corresponding to the given reply search recordType.voidorderReplyResults(ReplySearchOrder replySearchOrder) Specify an ordering to the search results.voidsearchAmongReplies(IdList replyIds) Execute this search among the given list of replies.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
-
searchAmongReplies
Execute this search among the given list of replies.- Parameters:
replyIds- list of replies- Throws:
NullArgumentException-replyIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderReplyResults
Specify an ordering to the search results.- Parameters:
replySearchOrder- reply search order- Throws:
NullArgumentException-replySearchOrderisnullUnsupportedException-replySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getReplySearchRecord
Gets the reply search record corresponding to the given reply search recordType. This method is used to retrieve an object implementing the requested record .- Parameters:
replySearchRecordType- a reply search record type- Returns:
- the reply search record
- Throws:
NullArgumentException-replySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(replySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-