Dashboard Builder Data Displayer API 6.0.0.Beta3

org.jboss.dashboard.kpi
Interface KPIManager


public interface KPIManager

Manager class that it allows for the retrieval of KPI instances as well as DataProvider's.


Method Summary
 KPI createKPI()
          Factory method for the creation of a KPI brand new instance.
 Set getAllKPIs()
          Get all KPIs defined.
 KPI getKPIByCode(String code)
          Get a persistent KPI by its universal code.
 KPI getKPIById(Long id)
          Get a persistent KPI by its identifier.
 void sortKPIsByDescription(List<KPI> propList, boolean ascending)
          Sort a list of properties by name.
 

Method Detail

createKPI

KPI createKPI()
Factory method for the creation of a KPI brand new instance.


getAllKPIs

Set getAllKPIs()
               throws Exception
Get all KPIs defined.

Throws:
Exception

getKPIById

KPI getKPIById(Long id)
               throws Exception
Get a persistent KPI by its identifier.

Throws:
Exception

getKPIByCode

KPI getKPIByCode(String code)
                 throws Exception
Get a persistent KPI by its universal code.

Throws:
Exception

sortKPIsByDescription

void sortKPIsByDescription(List<KPI> propList,
                           boolean ascending)
Sort a list of properties by name.


Dashboard Builder Data Displayer API 6.0.0.Beta3

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.