Class VitroFilterUtils
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.dao.filtering.filters.VitroFilterUtils
-
public class VitroFilterUtils extends Object
Static methods to help create commonly used filters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVitroFilterUtils.EntitySortTransform
-
Constructor Summary
Constructors Constructor Description VitroFilterUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static net.sf.jga.fn.UnaryFunctor<Individual,String>FirstLetterOfIndividuals()protected static VitroFiltersImplgetNoOpFilter()Gets a VitroFilters that permits all objectsstatic VitroFiltersgetPublicFilter(javax.servlet.ServletContext ctx)Gets a filter that hides any property or resource that is restricted from public view.static VitroFiltersgetTestFilter()Filter that only returns individuals with labels that start with the letter 'g'
-
-
-
Method Detail
-
getPublicFilter
public static VitroFilters getPublicFilter(javax.servlet.ServletContext ctx)
Gets a filter that hides any property or resource that is restricted from public view.
-
getNoOpFilter
protected static VitroFiltersImpl getNoOpFilter()
Gets a VitroFilters that permits all objects
-
getTestFilter
public static VitroFilters getTestFilter()
Filter that only returns individuals with labels that start with the letter 'g'
-
FirstLetterOfIndividuals
public static net.sf.jga.fn.UnaryFunctor<Individual,String> FirstLetterOfIndividuals()
-
-