public interface MessageSearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
MessageQueryInspector |
getMessageQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
MessageList |
getMessages()
Gets the message list resulting from a search.
|
MessageSearchResultsRecord |
getMessageSearchResultsRecord(Type messageSearchRecordType)
Gets the message search results record corresponding to the given
message search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
MessageList getMessages()
IllegalStateException
- list already retrievedmandatory
- This method must be implemented. MessageQueryInspector getMessageQueryInspector()
mandatory
- This method must be implemented. MessageSearchResultsRecord getMessageSearchResultsRecord(Type messageSearchRecordType) throws OperationFailedException
Type.
This method is used to
retrieve an object implementing the requested record.messageSearchRecordType
- a message search record typeNullArgumentException
- messageSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordTypeType(messageSearchRecordType)
is
false
mandatory
- This method must be implemented.