One team's row in the leads geo/map dashboard: the team's name and location, and its leads broken down into one BaseBucket per stage. Built by grouping an Elasticsearch aggregation of leads by their assigned team organisation, with a stage sub-aggregation feeding the per-stage counts, and serialised to JSON via toXContent for the dashboard view.
Implements: ToXContent
Properties
| Property | Returns | Description |
|---|---|---|
| count | Long | Total number of leads across all of this team's stage buckets. |
| leads | List<BaseBucket> | The team's leads broken down into one bucket per stage. |
| location | GeoLoc | The team organisation's map location, built from its latitude and longitude. |
| name | String | The team's display name, taken from the title of its organisation. |
Methods
getName()
Returns: String
The team's display name, taken from the title of its organisation.
getLocation()
Returns: GeoLoc
The team organisation's map location, built from its latitude and longitude.
getCount()
Returns: Long
Total number of leads across all of this team's stage buckets.
getLeads()
Returns: List<BaseBucket>
The team's leads broken down into one bucket per stage.
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.