Class ProjectQuery

    • Constructor Detail

      • ProjectQuery

        public ProjectQuery()
        Build a ProjectQuery to test if the project property exits
      • ProjectQuery

        public ProjectQuery​(String... ids)
        Build a ProjectQuery to test if the project property is equal to one of the given project ids
        Parameters:
        ids - the project ids.
      • ProjectQuery

        public ProjectQuery​(Collection<String> ids)
        Build a ProjectQuery to test if the project property is equal to one of the given project ids
        Parameters:
        ids - the project ids.
      • ProjectQuery

        public ProjectQuery​(Query.Operator operator,
                            String... ids)
        Build a ProjectQuery to test if the project property is equal or different to one of the given project ids
        Parameters:
        operator - the operator (equal ot not-equal)
        ids - the project ids.
    • Method Detail

      • build

        public String build()
                     throws QuerySyntaxException
        Description copied from interface: Query
        Build the solr query string representing the Query object.
        Specified by:
        build in interface Query
        Returns:
        the solr query string representing the Query object.
        Throws:
        QuerySyntaxException - if the query can't be built because of a syntax error.