- GeoIpService - Class in au.org.ala.biocache.hubs
Provides methods to access MaxMind GeoIP2 API (http://maxmind.github.io/GeoIP2-java/)
Some code for getIpAddress has been taken from https://github.com/donbeave/grails-geoip/
Download City DB from https://dev.maxmind.com/geoip/geoip2/geolite2/
DB Download is automated and installed to grailsApplication.config.geopip.database.path as part of
ala-install ansible playbooks and roles (https://github.com/AtlasOfLivingAustralia/ala-install/blob/82d2f13e462680c20f805e0f5e061d21fbe8a352/ansible/roles/biocache-hub/tasks/main.yml#L137)
- get(String) - Method in UserController
-
- get(def, def) - Method in UserDataService
-
- getAllFacets(List) - Method in PostProcessingService
-
Build a LinkedHashMap form of the facets to display in the customise drop down div
- getAllGroupedFacets(Map, def, def) - Method in PostProcessingService
-
Add any ungrouped facets from search results to the groupedFacetsMap
used to construct the facets column in search results.
- getCollectionContact(String) - Method in WebServicesService
-
- getCollectionInfo(String) - Method in WebServicesService
-
- getCompareRecord(String) - Method in WebServicesService
-
- getDataQualityCsv() - Method in WebServicesService
-
Get the CSV for ALA data quality checks meta data
- getDataresourceContact(String) - Method in WebServicesService
-
- getDefaultFacets() - Method in WebServicesService
-
- getDuplicateRecordDetails(JSONObject) - Method in WebServicesService
-
- getDynamicFacets(String) - Method in WebServicesService
-
Get list of dynamic facets for a given query (Sandbox)
- getEncodedParams() - Method in SearchRequestParams
-
Produce a URI encoded query string for use in java.util.URI, etc
- getEncodedParams() - Method in SpatialSearchRequestParams
-
Produce a URI encoded query string for use in java.util.URI, etc
- getErrorCodes() - Method in WebServicesService
-
- getFacetNamesFor(String) - Method in FacetsCacheService
-
Get the facets values (and labels if available) for the requested facet field.
- getFacetsFromCookie(HttpServletRequest) - Method in PostProcessingService
-
Read the request cookie to determine which facets are active
- getFilteredFacets(LinkedHashMap<String, Boolean>) - Method in PostProcessingService
-
Filter the Map of all facets to produce a list of only the "active" or selected
facets
- getGroupedAssertions(JSONArray, JSONArray, String) - Method in PostProcessingService
-
Get the assertions grouped by assertion code.
- getGroupedFacets() - Method in WebServicesService
-
- getGuidsForTaxa(List) - Method in WebServicesService
-
Query the BIE for GUIDs for a given list of names
- getImageFileSizeInMb(JSONArray) - Method in WebServicesService
-
Generate a Map of image url (key) with image file size (like ls -h) (value)
- getJson() - Method in FieldGuideDTO
-
- getJsonElements(String) - Method in WebServicesService
-
Perform HTTP GET on a JSON web service
- getLayersMetaData() - Method in WebServicesService
-
- getListFromGroupedFacets(Map) - Method in PostProcessingService
-
Extract list of facet fields from the grouped facets Map (json)
- getListOfLayerIds(SpatialSearchRequestParams) - Method in PostProcessingService
-
Find any cl1234 or el1234 layer IDs in the q or fq params and return a list of layer IDs
- getListOfLayerObjects(List) - Method in PostProcessingService
-
For a given list of layer IDs (el1234 or cl456) do a lookup against spatial service
for metadata for the layer ID and return a list of layer objects.
- getListOfLayers(SpatialSearchRequestParams) - Method in PostProcessingService
-
Find any cl1234 or el1234 layer IDs in the q or fq params and return a list
of layer objects containing layer metadata
- getLocation(HttpServletRequest) - Method in GeoIpService
-
gets Obtains the Location for a client request
- getLoggerReasons() - Method in WebServicesService
-
- getLoggerSources() - Method in WebServicesService
-
- getMapLegend(String) - Method in WebServicesService
-
- getMapOfFacetResults(JSONArray) - Method in PostProcessingService
-
Create a Map of facet fields for a "lookup" in _facets.gsp
Also normalises some fields (decade)
- getMessagesMap(Locale) - Method in MessageSourceCacheService
-
- getMetadataForOutlierLayers(JSONObject, Map) - Method in PostProcessingService
-
Add layers metadata to outlier for layer record attributes
- getQueryAssertions(String) - Method in WebServicesService
-
- getRecord(String, Boolean) - Method in WebServicesService
-
- getTargetType() - Method in EnglishValueConverter
-
- getText(String) - Method in WebServicesService
-
Perform HTTP GET on a text-based web service
- getUngroupedFacetsList(Map, def) - Method in PostProcessingService
-
Get a list of facet fields (from search results) that are
NOT in the grouped facets Map.
- getUrlParams() - Method in SearchRequestParams
-
Constructs the params to be returned in the result
- getUrlParams() - Method in SpatialSearchRequestParams
-
- getUserAssertions(String) - Method in WebServicesService
-
- gk - Field in SpatialSearchRequestParams
-