Class ProjectQuery

java.lang.Object
org.exoplatform.task.dao.Query
org.exoplatform.task.dao.ProjectQuery
All Implemented Interfaces:
Cloneable

public class ProjectQuery extends Query
  • Constructor Details

    • ProjectQuery

      public ProjectQuery()
  • Method Details

    • setMembership

      public ProjectQuery setMembership(List<String> memberships)
    • setManager

      public ProjectQuery setManager(List<String> managers)
    • setParticipator

      public ProjectQuery setParticipator(List<String> participators)
    • setKeyword

      public ProjectQuery setKeyword(String keyword)
    • setNameWords

      public ProjectQuery setNameWords(String words)
      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 as setKeyword(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

      public ProjectQuery setParent(Long parentId)