Search in sources :

Example 1 with RatingSchemeItemUsageCount

use of org.finos.waltz.model.rating.RatingSchemeItemUsageCount in project waltz by khartec.

the class RatingSchemeHarness method main.

public static void main(String[] args) throws ParseException {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
    RatingSchemeDAO dao = ctx.getBean(RatingSchemeDAO.class);
    List<RatingSchemeItemUsageCount> stats = dao.calcRatingUsageStats();
    System.out.println(stats);
}
Also used : AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) RatingSchemeDAO(org.finos.waltz.data.rating_scheme.RatingSchemeDAO) RatingSchemeItemUsageCount(org.finos.waltz.model.rating.RatingSchemeItemUsageCount)

Aggregations

RatingSchemeDAO (org.finos.waltz.data.rating_scheme.RatingSchemeDAO)1 RatingSchemeItemUsageCount (org.finos.waltz.model.rating.RatingSchemeItemUsageCount)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1