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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
long
getCount()
getField()
getLabel()
getLink()
double
getType()
getValue()
boolean
hasArea()
boolean
boolean
isActive()
boolean
boolean
isGroup()
boolean
setCount
(long count) void
setFeature
(String feature) SetsGeoCoordinateFeature
and sets the matching search string to the WKT_COORDS facet if available.void
Deprecated.void
setGroup
(boolean group) void
void
setTranslatedLabel
(String translatedLabel) void
void
void
setVertices
(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
SetsGeoCoordinateFeature
and sets the matching search string to the WKT_COORDS facet if available.- Parameters:
feature
-
-
setFeatureFromContext
Deprecated. -
getFacetQuery
-
getValue
- Specified by:
getValue
in 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:
getQueryEscapedLink
in interfaceIFacetItem
-
getEscapedLink
- Specified by:
getEscapedLink
in interfaceIFacetItem
-
getUrlEscapedLink
- Specified by:
getUrlEscapedLink
in interfaceIFacetItem
-
getType
- Specified by:
getType
in interfaceIFacetItem
-
getField
- Specified by:
getField
in interfaceIFacetItem
-
setField
- Specified by:
setField
in interfaceIFacetItem
-
getFullValue
- Specified by:
getFullValue
in interfaceIFacetItem
-
setValue
- Specified by:
setValue
in interfaceIFacetItem
-
getValue2
- Specified by:
getValue2
in interfaceIFacetItem
-
setValue2
- Specified by:
setValue2
in interfaceIFacetItem
-
getLink
- Specified by:
getLink
in interfaceIFacetItem
-
setLink
- Specified by:
setLink
in interfaceIFacetItem
-
getLabel
- Specified by:
getLabel
in interfaceIFacetItem
-
setLabel
- Specified by:
setLabel
in interfaceIFacetItem
-
getTranslatedLabel
- Specified by:
getTranslatedLabel
in interfaceIFacetItem
-
setTranslatedLabel
- Specified by:
setTranslatedLabel
in interfaceIFacetItem
-
getCount
public long getCount()- Specified by:
getCount
in interfaceIFacetItem
-
isGroup
public boolean isGroup()- Specified by:
isGroup
in interfaceIFacetItem
-
setGroup
- Specified by:
setGroup
in interfaceIFacetItem
-
setCount
- Specified by:
setCount
in interfaceIFacetItem
-
isHierarchial
public boolean isHierarchial()- Specified by:
isHierarchial
in interfaceIFacetItem
-
isBooleanType
public boolean isBooleanType()- Specified by:
isBooleanType
in interfaceIFacetItem
-