Package io.goobi.viewer.model.search
Class GeoFacetItem
java.lang.Object
io.goobi.viewer.model.search.GeoFacetItem
- All Implemented Interfaces:
IFacetItem
- Author:
- florian
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()longgetCount()getField()getLabel()getLink()doublegetType()getValue()booleanhasArea()booleanbooleanisActive()booleanbooleanisGroup()booleansetCount(long count) voidsetFeature(String feature) SetsGeoCoordinateFeatureand sets the matching search string to the WKT_COORDS facet if available.voidDeprecated.voidsetGroup(boolean group) voidvoidsetTranslatedLabel(String translatedLabel) voidvoidvoidsetVertices(double[][] vertices) Create a polygon feature from the given vertices.
-
Field Details
-
NO_AREA
-
-
Constructor Details
-
GeoFacetItem
-
GeoFacetItem
-
-
Method Details
-
getFeature
-
hasFeature
public boolean hasFeature() -
hasArea
public boolean hasArea() -
getSearchPredicate
-
getSearchAreaShape
-
getSearchAreaDistError
public double getSearchAreaDistError() -
setFeature
SetsGeoCoordinateFeatureand sets the matching search string to the WKT_COORDS facet if available.- Parameters:
feature-
-
setFeatureFromContext
Deprecated. -
getFacetQuery
-
getValue
- Specified by:
getValuein interfaceIFacetItem
-
isActive
public boolean isActive() -
getEscapedFacetQuery
- Returns:
String
-
getSolrField
- Returns:
- the solrField
-
clear
public void clear() -
setVertices
public void setVertices(double[][] vertices) Create a polygon feature from the given vertices.- Parameters:
vertices-
-
getQueryEscapedLink
- Specified by:
getQueryEscapedLinkin interfaceIFacetItem
-
getEscapedLink
- Specified by:
getEscapedLinkin interfaceIFacetItem
-
getUrlEscapedLink
- Specified by:
getUrlEscapedLinkin interfaceIFacetItem
-
getType
- Specified by:
getTypein interfaceIFacetItem
-
getField
- Specified by:
getFieldin interfaceIFacetItem
-
setField
- Specified by:
setFieldin interfaceIFacetItem
-
getFullValue
- Specified by:
getFullValuein interfaceIFacetItem
-
setValue
- Specified by:
setValuein interfaceIFacetItem
-
getValue2
- Specified by:
getValue2in interfaceIFacetItem
-
setValue2
- Specified by:
setValue2in interfaceIFacetItem
-
getLink
- Specified by:
getLinkin interfaceIFacetItem
-
setLink
- Specified by:
setLinkin interfaceIFacetItem
-
getLabel
- Specified by:
getLabelin interfaceIFacetItem
-
setLabel
- Specified by:
setLabelin interfaceIFacetItem
-
getTranslatedLabel
- Specified by:
getTranslatedLabelin interfaceIFacetItem
-
setTranslatedLabel
- Specified by:
setTranslatedLabelin interfaceIFacetItem
-
getCount
public long getCount()- Specified by:
getCountin interfaceIFacetItem
-
isGroup
public boolean isGroup()- Specified by:
isGroupin interfaceIFacetItem
-
setGroup
- Specified by:
setGroupin interfaceIFacetItem
-
setCount
- Specified by:
setCountin interfaceIFacetItem
-
isHierarchial
public boolean isHierarchial()- Specified by:
isHierarchialin interfaceIFacetItem
-
isBooleanType
public boolean isBooleanType()- Specified by:
isBooleanTypein interfaceIFacetItem
-