|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TaskSearchQueryCriteria
Search criteria specific to searching tasks may be specified using this criteria class.
| Nested Class Summary | |
|---|---|
static class |
TaskSearchQueryCriteria.TaskSortType
Represents how task search queries will be sorted |
| Method Summary | |
|---|---|
Project |
getFilteredProject()
Returns the project that query results are restricted to. |
TaskSearchQueryCriteria.TaskSortType |
getSortType()
Returns the sort type to use to sort search results. |
boolean |
isOnlyComplete()
Returns whether the query results are restricted to only complete tasks |
boolean |
isOnlyIncomplete()
Returns whether the query results are restricted to only incomplete tasks |
boolean |
isTaskSearchEnabled()
Returns whether tasks should be returned in search results |
void |
setFilterOnProject(Project project)
Restricts the query results to tasks posted in a specific project. |
void |
setOnlyComplete(boolean complete)
Sets whether the query results are restricted to only complete tasks |
void |
setOnlyIncomplete(boolean onlyIncomplete)
Sets whether the query results are restricted to only incomplete tasks |
void |
setSortType(TaskSearchQueryCriteria.TaskSortType type)
Sets the sort type to use to sort search results. |
void |
setTaskSearchEnabled(boolean taskSearchEnabled)
Sets whether to enabled or disable task search |
| Method Detail |
|---|
TaskSearchQueryCriteria.TaskSortType getSortType()
TaskSearchQueryCriteria.TaskSortType.RELEVANCE
void setSortType(TaskSearchQueryCriteria.TaskSortType type)
TaskSearchQueryCriteria.TaskSortType.RELEVANCE
type - the TaskSortType that will be used for sorting.Project getFilteredProject()
void setFilterOnProject(Project project)
project - the Project to restrict query results to.boolean isOnlyIncomplete()
void setOnlyIncomplete(boolean onlyIncomplete)
onlyIncomplete - true if the query results are restricted to only incomplete tasks, false otherwiseboolean isOnlyComplete()
void setOnlyComplete(boolean complete)
complete - true if the query results are restricted to only complete tasks, false otherwiseboolean isTaskSearchEnabled()
void setTaskSearchEnabled(boolean taskSearchEnabled)
taskSearchEnabled - - false to disable task search, true to enable
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||