Package io.goobi.viewer.model.maps
Class SolrFeatureSet
java.lang.Object
io.goobi.viewer.model.maps.FeatureSet
io.goobi.viewer.model.maps.SolrFeatureSet
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SearchResultFeatureSet
- See Also:
-
Field Summary
FieldsFields inherited from class io.goobi.viewer.model.maps.FeatureSet
DEFAULT_MARKER_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
protected Collection
<GeoMapFeature> protected String
createFeaturesAsString
(boolean escapeJson) getCoordinateSearchQueryTemplate.Deprecated.getSolrQuery
(boolean aggregateResults) getSolrQueryForSearch
(boolean aggregateResults) getType()
boolean
boolean
boolean
boolean
void
setFeaturesAsString
(String featuresAsString) void
setItemFilterName
(String itemFilterName) void
setItemMetadataList
(String itemMetadataList) void
setMarkerMetadataList
(String markerMetadataList) void
setMarkerTitleField
(String markerTitleField) Deprecated.void
setSearchScope
(SolrSearchScope searchScope) void
setSolrQuery
(String solrQuery) void
Methods inherited from class io.goobi.viewer.model.maps.FeatureSet
getColor, getFillOpacity, getId, getMarker, getMarkerAsJSON, getName, setId, setMarker, setName
-
Field Details
-
featuresAsString
-
-
Constructor Details
-
SolrFeatureSet
public SolrFeatureSet() -
SolrFeatureSet
public SolrFeatureSet(boolean useHeatmap) -
SolrFeatureSet
-
-
Method Details
-
copy
- Specified by:
copy
in classFeatureSet
-
getFeaturesAsString
- Specified by:
getFeaturesAsString
in classFeatureSet
- Throws:
PresentationException
-
getFeaturesAsJsonString
- Specified by:
getFeaturesAsJsonString
in classFeatureSet
- Throws:
PresentationException
-
setFeaturesAsString
-
createFeaturesAsString
protected String createFeaturesAsString(boolean escapeJson) throws PresentationException, IndexUnreachableException -
createFeatures
protected Collection<GeoMapFeature> createFeatures() throws PresentationException, IndexUnreachableException -
getSolrQuery
-
getSolrQuery
-
getSolrQueryForSearchEncoded
-
getSolrQueryForSearch
-
isAggregateResults
public boolean isAggregateResults() -
getSolrQueryForSearch
-
getSolrQueryEncoded
-
getCoordinateSearchQueryTemplate
getCoordinateSearchQueryTemplate.
- Returns:
- String
- Throws:
URISyntaxException
-
setSolrQuery
-
hasSolrQuery
public boolean hasSolrQuery() -
getMarkerTitleField
Deprecated. -
setMarkerTitleField
Deprecated. -
updateFeatures
public void updateFeatures()- Specified by:
updateFeatures
in classFeatureSet
-
hasFeatures
public boolean hasFeatures()- Specified by:
hasFeatures
in classFeatureSet
-
getMarkerMetadataList
-
setMarkerMetadataList
-
getItemMetadataList
-
setItemMetadataList
-
isQueryResultSet
public boolean isQueryResultSet()- Specified by:
isQueryResultSet
in classFeatureSet
-
getSearchScope
-
setSearchScope
-
getType
- Specified by:
getType
in classFeatureSet
-
getItemFilterName
-
setItemFilterName
-
getItemFilter
-