To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Properties
Name | Returns | Notes | Example |
---|---|---|---|
queryRepository | Repository | ||
queries | Queries | BM: Intention is that this will become an "Account settings" repository, which will contain queries, but also other data managed as files at the account level Eg content types, points rules, etc | |
queryList | List | Returns all saved queries for the current organisation | |
reportList | List | ||
metrics | List | ||
lag | Lag | ||
noAdminOrgStackTrace | StackTraceElement |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
createQuery ( name, indexLocalName, json, user, session ) | void | ||
runQuery ( queryBean, params ) | KSearchResponse | Runs the given query after applying variable substitution Will use params "from" and "size" as arguments to executing the query, ie will be added to the elasticsearch query, if they are present | |
params ( request ) | Map | Builds the standard list of params for a call to runQuery | |
findReportingOrgIds ( currentUser ) | List | Note that this will cache the list of orgs in the rootfolder attributes map | |
findReportingOrgIdsNoCache ( currentUser ) | List |