|
Clearspace API (2.5.18) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BlogPostSearchQueryCriteria
Search criteria specific to searching blog posts may be specified using this criteria class.
| Nested Class Summary | |
|---|---|
static class |
BlogPostSearchQueryCriteria.BlogPostSortType
Represents how message blog post queries will be sorted |
| Method Summary | |
|---|---|
void |
filterOnBlog(Blog blog)
Restricts the query results to posts posted in a specific blog. |
Blog |
getFilteredBlog()
Returns the blog that query results are restricted to. |
BlogPostSearchQueryCriteria.BlogPostSortType |
getSortType()
Returns the sort type to use to sort search results. |
boolean |
isCommentsIncludedInSearch()
Returns whether comments are included in the search or not. |
void |
setCommentsIncludedInSearch(boolean include)
Sets whether to include comments in the search or not. |
void |
setSortType(BlogPostSearchQueryCriteria.BlogPostSortType type)
Sets the sort type to use to sort search results. |
| Method Detail |
|---|
BlogPostSearchQueryCriteria.BlogPostSortType getSortType()
BlogPostSearchQueryCriteria.BlogPostSortType.RELEVANCE
void setSortType(BlogPostSearchQueryCriteria.BlogPostSortType type)
BlogPostSearchQueryCriteria.BlogPostSortType.RELEVANCE
type - the BlogPostSortType that will be used for sorting.Blog getFilteredBlog()
void filterOnBlog(Blog blog)
blog - the Blog to restrict query results to.boolean isCommentsIncludedInSearch()
void setCommentsIncludedInSearch(boolean include)
include - true to include comments in the search, false otherwise.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||