Normand Briere
2018-07-07 09ddd38fd4a8a7100c834a5e976f4796fae53541
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package timeflow.data.db.filter;
 
import timeflow.data.db.Act;
 
public abstract class ActFilter {
   public abstract boolean accept(Act act);
   
   // in earlier versions we've wanted the UI to count the number of filters applied.
   // because of the hierarchical way filters are defined, we need this method.
   public int countFilters()
   {
       return 1;
   }
}