Search in sources :

Example 1 with EntityStatisticService

use of org.finos.waltz.service.entity_statistic.EntityStatisticService in project waltz by khartec.

the class EntityStatisticHarness method main.

public static void main(String[] args) {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
    DSLContext dsl = ctx.getBean(DSLContext.class);
    EntityStatisticValueDao dao = ctx.getBean(EntityStatisticValueDao.class);
    EntityStatisticService service = ctx.getBean(EntityStatisticService.class);
    IdSelectionOptions selectionOptions = IdSelectionOptions.mkOpts(EntityReference.mkRef(EntityKind.MEASURABLE, 49263), HierarchyQueryScope.CHILDREN);
}
Also used : AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) EntityStatisticValueDao(org.finos.waltz.data.entity_statistic.EntityStatisticValueDao) DSLContext(org.jooq.DSLContext) EntityStatisticService(org.finos.waltz.service.entity_statistic.EntityStatisticService) IdSelectionOptions(org.finos.waltz.model.IdSelectionOptions)

Aggregations

EntityStatisticValueDao (org.finos.waltz.data.entity_statistic.EntityStatisticValueDao)1 IdSelectionOptions (org.finos.waltz.model.IdSelectionOptions)1 EntityStatisticService (org.finos.waltz.service.entity_statistic.EntityStatisticService)1 DSLContext (org.jooq.DSLContext)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1