Class VitroFiltersImpl
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.dao.filtering.filters.VitroFiltersBase
-
- edu.cornell.mannlib.vitro.webapp.dao.filtering.filters.VitroFiltersImpl
-
- All Implemented Interfaces:
VitroFilters
- Direct Known Subclasses:
FilterByDisplayPermission,HideFromDisplayByPolicyFilter
public class VitroFiltersImpl extends VitroFiltersBase
A object to hold all the filters commonly used by the vitro webapp.- Author:
- bdc34
-
-
Field Summary
Fields Modifier and Type Field Description static net.sf.jga.fn.UnaryFunctorFILTER_OUT_NOTHING
-
Constructor Summary
Constructors Constructor Description VitroFiltersImpl()Builds a filter that does no filtering.VitroFiltersImpl(net.sf.jga.fn.UnaryFunctor<Individual,Boolean> individualFilter, net.sf.jga.fn.UnaryFunctor<DataProperty,Boolean> dataPropertyFilter, net.sf.jga.fn.UnaryFunctor<ObjectProperty,Boolean> objectPropertyFilter, net.sf.jga.fn.UnaryFunctor<DataPropertyStatement,Boolean> dataPropertyStatementFilter, net.sf.jga.fn.UnaryFunctor<ObjectPropertyStatement,Boolean> objectPropertyStatementFilter, net.sf.jga.fn.UnaryFunctor<VClass,Boolean> classFilter, net.sf.jga.fn.UnaryFunctor<VClassGroup,Boolean> classGroupFilter, net.sf.jga.fn.UnaryFunctor<PropertyGroup,Boolean> propertyGroupFilter)
-
Method Summary
-
Methods inherited from class edu.cornell.mannlib.vitro.webapp.dao.filtering.filters.VitroFiltersBase
and
-
-
-
-
Constructor Detail
-
VitroFiltersImpl
public VitroFiltersImpl()
Builds a filter that does no filtering.
-
VitroFiltersImpl
public VitroFiltersImpl(net.sf.jga.fn.UnaryFunctor<Individual,Boolean> individualFilter, net.sf.jga.fn.UnaryFunctor<DataProperty,Boolean> dataPropertyFilter, net.sf.jga.fn.UnaryFunctor<ObjectProperty,Boolean> objectPropertyFilter, net.sf.jga.fn.UnaryFunctor<DataPropertyStatement,Boolean> dataPropertyStatementFilter, net.sf.jga.fn.UnaryFunctor<ObjectPropertyStatement,Boolean> objectPropertyStatementFilter, net.sf.jga.fn.UnaryFunctor<VClass,Boolean> classFilter, net.sf.jga.fn.UnaryFunctor<VClassGroup,Boolean> classGroupFilter, net.sf.jga.fn.UnaryFunctor<PropertyGroup,Boolean> propertyGroupFilter)
-
-
Method Detail
-
getIndividualFilter
public net.sf.jga.fn.UnaryFunctor<Individual,Boolean> getIndividualFilter()
-
setIndividualFilter
public VitroFilters setIndividualFilter(net.sf.jga.fn.UnaryFunctor<Individual,Boolean> individualFilter)
-
getDataPropertyFilter
public net.sf.jga.fn.UnaryFunctor<DataProperty,Boolean> getDataPropertyFilter()
-
setDataPropertyFilter
public VitroFilters setDataPropertyFilter(net.sf.jga.fn.UnaryFunctor<DataProperty,Boolean> dataPropertyFilter)
-
getObjectPropertyFilter
public net.sf.jga.fn.UnaryFunctor<ObjectProperty,Boolean> getObjectPropertyFilter()
-
setObjectPropertyFilter
public VitroFilters setObjectPropertyFilter(net.sf.jga.fn.UnaryFunctor<ObjectProperty,Boolean> objectPropertyFilter)
-
getDataPropertyStatementFilter
public net.sf.jga.fn.UnaryFunctor<DataPropertyStatement,Boolean> getDataPropertyStatementFilter()
-
setDataPropertyStatementFilter
public VitroFilters setDataPropertyStatementFilter(net.sf.jga.fn.UnaryFunctor<DataPropertyStatement,Boolean> dataPropertyStatementFilter)
-
getObjectPropertyStatementFilter
public net.sf.jga.fn.UnaryFunctor<ObjectPropertyStatement,Boolean> getObjectPropertyStatementFilter()
-
setObjectPropertyStatementFilter
public VitroFilters setObjectPropertyStatementFilter(net.sf.jga.fn.UnaryFunctor<ObjectPropertyStatement,Boolean> objectPropertyStatementFilter)
-
setClassFilter
public VitroFilters setClassFilter(net.sf.jga.fn.UnaryFunctor<VClass,Boolean> classFilter)
-
getVClassGroupFilter
public net.sf.jga.fn.UnaryFunctor<VClassGroup,Boolean> getVClassGroupFilter()
-
setVClassGroupFilter
public VitroFilters setVClassGroupFilter(net.sf.jga.fn.UnaryFunctor<VClassGroup,Boolean> classGroupFilter)
-
getPropertyGroupFilter
public net.sf.jga.fn.UnaryFunctor<PropertyGroup,Boolean> getPropertyGroupFilter()
-
setPropertyGroupFilter
public void setPropertyGroupFilter(net.sf.jga.fn.UnaryFunctor<PropertyGroup,Boolean> propertyGroupFilter)
-
-