|
Clearspace API (1.7.0) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageSearchQueryCriteria
Search criteria specific to searching messages may be specified using this criteria class.
| Nested Class Summary | |
|---|---|
static class |
MessageSearchQueryCriteria.MessageSortType
Represents how message search queries will be sorted |
| Method Summary | |
|---|---|
ForumThread |
getFilteredThread()
Returns the thread that query results are restricted to. |
MessageSearchQueryCriteria.MessageSortType |
getSortType()
Returns the sort type to use to sort search results. |
boolean |
isSingleResultPerThread()
Returns true if message search results are limited to a single result per thread, false otherwise. |
void |
setFilterOnThread(ForumThread thread)
Restricts the query results to messages posted in a specific thread. |
void |
setSingleResultPerThread(boolean singleResultPerThread)
Sets whether message search results are limited to a single result per thread or not. |
void |
setSortType(MessageSearchQueryCriteria.MessageSortType type)
Sets the sort type to use to sort search results. |
| Method Detail |
|---|
MessageSearchQueryCriteria.MessageSortType getSortType()
MessageSearchQueryCriteria.MessageSortType.RELEVANCE
void setSortType(MessageSearchQueryCriteria.MessageSortType type)
MessageSearchQueryCriteria.MessageSortType.RELEVANCE
type - the MessageSortType that will be used for sorting.ForumThread getFilteredThread()
void setFilterOnThread(ForumThread thread)
thread - the ForumThread to restrict query results to.boolean isSingleResultPerThread()
void setSingleResultPerThread(boolean singleResultPerThread)
singleResultPerThread - true if message search results should be limited to a single
result per thread, false otherwise.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||