The full level ladder for a participant in a topic, optionally scoped to a period: every level the topic defines, each paired with the next level up, so a UI can render the whole progression and how far the participant has to go to reach each one.
Properties
| Property | Returns | Description |
|---|---|---|
| calcContext | CalcContext | The calculation context used while building this level summary, so a caller can reuse its cached lookups for further calculations. |
| items | List<LevelSummaryItem> | The ordered level summary items making up this participant's level ladder, one per level in the topic, ascending by participant-specific level amount. |
| participant | BaseEntity | The participant this level summary was built for. |
| period | RecognitionPeriod | The period this level summary is scoped to, or null if the topic is not periodic. |
| topic | RecognitionTopic | The topic this level summary was built for. |
| totalPoints | BigDecimal | The sum of the points calculated for every level in this summary's ladder (not necessarily what has actually been awarded - see the individual items' points for the calculated value per level). |
| value | BigDecimal | The participant's current value for the topic (or period, if scoped to one) that the level ladder was calculated against. |
Methods
getItems()
Returns: List<LevelSummaryItem>
The ordered level summary items making up this participant's level ladder, one per level in the topic, ascending by participant-specific level amount.
getParticipant()
Returns: BaseEntity
The participant this level summary was built for.
getPeriod()
Returns: RecognitionPeriod
The period this level summary is scoped to, or null if the topic is not periodic.
getTopic()
Returns: RecognitionTopic
The topic this level summary was built for.
getValue()
Returns: BigDecimal
The participant's current value for the topic (or period, if scoped to one) that the level ladder was calculated against.
getCalcContext()
Returns: CalcContext
The calculation context used while building this level summary, so a caller can reuse its cached lookups for further calculations.
getTotalPoints()
Returns: BigDecimal
The sum of the points calculated for every level in this summary's ladder (not necessarily what has actually been awarded - see the individual items' points for the calculated value per level).