class UtilityService extends java.lang.Object
| Type | Name and description |
|---|---|
java.lang.Object |
biocacheService |
java.lang.Object |
grailsApplication |
| Constructor and description |
|---|
UtilityService
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Boolean |
getBooleanValue(java.lang.Object value)Get the Boolean version of a config variable even if the original is in a String form |
|
java.util.Map |
getDwcClassesAndTerms()Parses the TDWG Darwin Core Schema file and extracts the DwC "classes" and their child "terms" and returns a Map |
|
java.util.Map |
getFieldGroupMap()Retrieve the download fields mapped to the vairous DwC classes from https://biocache.ala.org.au/ws/index/fields |
|
java.util.List |
paginateWrapper(java.util.List results, grails.web.servlet.mvc.GrailsParameterMap params)Wrapper for an input List (of Objects with property names to be used for sorting), in order to generate a sublist suitable for pagination using the Grails paginate taglib, via the params object. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Get the Boolean version of a config variable even if the original is in a String form @return
Parses the TDWG Darwin Core Schema file and extracts the DwC "classes" and their child "terms"
and returns a Map
Retrieve the download fields mapped to the vairous DwC classes from https://biocache.ala.org.au/ws/index/fields
Wrapper for an input List (of Objects with property names to be used for sorting), in order to generate a sublist suitable for pagination using the Grails paginate taglib, via the params object. Supports the folowwing params: - max (int) - offset (int) - sort (string) - order (ASC or DESC) @return
Groovy Documentation