title: Applying @PostFilter annotation to a generic Spring Data Jpa repository method
body: <p>I want to use the <code>@PostFilter</code> annotation on a Spring Data Jpa repository generic method (such as a <code>findAll</code>) as follows:</p>
  
  <pre><code>@PostFilter("filterObject.isActivated()==true")
  public List&lt;Advertisement&gt; findAll();
  </code></pre>
  
  <p>How can I do that bearing in mind the those methods are provided "automagically" by Spring Data Jpa and are therefore not exposed in the application code?</p>