Class VitroFilterUtils


  • public class VitroFilterUtils
    extends Object
    Static methods to help create commonly used filters.
    • Constructor Detail

      • VitroFilterUtils

        public VitroFilterUtils()
    • 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()