|
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 DocumentSearchQueryCriteria
Search criteria specific to searching documents may be specified using this criteria class.
| Nested Class Summary | |
|---|---|
static class |
DocumentSearchQueryCriteria.DocumentSortType
Represents how document search queries will be sorted |
| Method Summary | |
|---|---|
DocumentType |
getFilteredDocumentType()
Returns a DocumentType that query results are restricted to. |
java.util.Collection<java.lang.String> |
getLanguages()
Returns the collection of languages that query results will be restricted to. |
DocumentSearchQueryCriteria.DocumentSortType |
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 |
setFilterOnDocumentType(DocumentType type)
Restricts the query results to documents having the specified document type. |
void |
setLanguages(java.util.Collection<java.lang.String> languages)
Sets the languages to restrict query results to. |
void |
setSortType(DocumentSearchQueryCriteria.DocumentSortType type)
Sets the sort type to use to sort search results. |
| Method Detail |
|---|
DocumentSearchQueryCriteria.DocumentSortType getSortType()
DocumentSearchQueryCriteria.DocumentSortType.RELEVANCE
void setSortType(DocumentSearchQueryCriteria.DocumentSortType type)
DocumentSearchQueryCriteria.DocumentSortType.RELEVANCE
type - the DocumentSortType that will be used for sorting.java.util.Collection<java.lang.String> getLanguages()
void setLanguages(java.util.Collection<java.lang.String> languages)
languages - an collection of ISO-639 language codes.DocumentType getFilteredDocumentType()
void setFilterOnDocumentType(DocumentType type)
type - a document types 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 | |||||||||