title: Using findAll PagingAndSortingRepository with filter
body: <p>I have the need to use the PagingAndSortingRepository in order to obtain a list of element. I also need to filter this list with a RequestParam.</p>
  
  <p>In the controller I have:</p>
  
  <pre><code>@RequestMapping(path = "/listfilter", method = RequestMethod.GET)
  public Page&lt;Element&gt; getElements(
          @RequestParam("page") int page,
          @RequestParam("size") int size,
          @RequestParam("aaa") String filter) {
  
      Filter filter = new Filter();
      filter.setPageNum(page);
      filter.setPageSize(size);
      filter.setAaa(aaa);
  
      return controller.findElements(filter);
  }
  </code></pre>
  
  <p>How can I pass the filtered list to the method</p>
  
  <pre><code>Page&lt;Element&gt; findElements(Pageable pageable) {...}
  </code></pre>
  
  <p>Thank you</p>