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

PropertyReturnsDescription
calcContextCalcContextThe calculation context used while building this level summary, so a caller can reuse its cached lookups for further calculations.
itemsList<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.
participantBaseEntityThe participant this level summary was built for.
periodRecognitionPeriodThe period this level summary is scoped to, or null if the topic is not periodic.
topicRecognitionTopicThe topic this level summary was built for.
totalPointsBigDecimalThe 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).
valueBigDecimalThe 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).

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.