Class ProjectQuery
java.lang.Object
org.exoplatform.task.dao.Query
org.exoplatform.task.dao.ProjectQuery
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetKeyword(String keyword) setManager(List<String> managers) setMembership(List<String> memberships) setNameWords(String words) Selects the projects whose name holds every word of the given words, each one ignoring case and anywhere in the name.setParticipator(List<String> participators) Methods inherited from class Query
add, add, getCondition, getOrderBy, setId, setOrderBy
-
Constructor Details
-
ProjectQuery
public ProjectQuery()
-
-
Method Details
-
setMembership
-
setManager
-
setParticipator
-
setKeyword
-
setNameWords
Selects the projects whose name holds every word of the given words, each one ignoring case and anywhere in the name. The words are split on spaces and lower-cased assetKeyword(String)does, which selects the projects whose name holds any one of them.- Parameters:
words- words of the name, separated by spaces; null or blank adds no condition- Returns:
- this query
-
setParent
-