Class ExcludeBasedOnType
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.ExcludeBasedOnType
-
- All Implemented Interfaces:
SearchIndexExcluder
- Direct Known Subclasses:
SyncingExcludeBasedOnType
public class ExcludeBasedOnType extends Object implements SearchIndexExcluder
Exclude individual from search index if it is a member of any of the excluding types.
-
-
Field Summary
-
Fields inherited from interface edu.cornell.mannlib.vitro.webapp.searchindex.exclusions.SearchIndexExcluder
DONT_EXCLUDE
-
-
Constructor Summary
Constructors Constructor Description ExcludeBasedOnType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddTypeToExclude(String typeURI)voidaddTypeURI(String uri)StringcheckForExclusion(Individual ind)REturn a string message if the individual should be excluded from the index.protected voidremoveTypeToExclude(String typeURI)protected voidsetExcludedTypes(List<String> typeURIs)StringtoString()protected booleantypeURIinExcludeList(VClass vclz)
-
-
-
Method Detail
-
addTypeURI
public void addTypeURI(String uri)
-
checkForExclusion
public String checkForExclusion(Individual ind)
Description copied from interface:SearchIndexExcluderREturn a string message if the individual should be excluded from the index. Return null if ind should not be excluded.- Specified by:
checkForExclusionin interfaceSearchIndexExcluder
-
typeURIinExcludeList
protected boolean typeURIinExcludeList(VClass vclz)
-
addTypeToExclude
protected void addTypeToExclude(String typeURI)
-
removeTypeToExclude
protected void removeTypeToExclude(String typeURI)
-
-