Interface CannedQueryFactory<R>

    • Method Detail

      • getCannedQuery

        CannedQuery<R> getCannedQuery​(CannedQueryParameters parameters)
        Retrieve an instance of a CannedQuery based on the full range of available parameters.
        Parameters:
        parameters - the full query parameters
        Returns:
        an implementation that will execute the query
      • getCannedQuery

        CannedQuery<R> getCannedQuery​(java.lang.Object parameterBean,
                                      int skipResults,
                                      int pageSize,
                                      java.lang.String queryExecutionId)
        Retrieve an instance of a CannedQuery based on limited parameters.
        Parameters:
        parameterBean - the values that the query will be based on or null if not relevant to the query
        skipResults - results to skip before page
        pageSize - the size of page - ie. max items (if skipResults = 0)
        queryExecutionId - ID of a previously-executed query to be used during follow-up page requests - null if not available
        Returns:
        an implementation that will execute the query