Class TrueFilter

java.lang.Object
org.dspace.content.logic.TrueFilter
All Implemented Interfaces:
Filter, LogicalStatement, Aware, BeanNameAware

public class TrueFilter extends Object implements Filter
Extremely simple filter that always returns true! Useful to pass to methods that expect a filter, in order to effectively say "all items". This could be configured in Spring XML but it is more stable and reliable to have it hard-coded here so that any broken configuration doesn't silently break parts of DSpace that expect it to work.
Author:
Kim Shepherd
  • Constructor Details

    • TrueFilter

      public TrueFilter()
  • Method Details