public class DashboardAPIImpl extends AbstractMoskitoAPIImpl implements DashboardAPI
| Constructor and Description |
|---|
DashboardAPIImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChartToDashboard(java.lang.String dashboardName,
java.lang.String caption,
java.lang.String[] accNames) |
void |
addGaugeToDashboard(java.lang.String dashboardName,
java.lang.String gaugeName) |
void |
addProducerToDashboard(java.lang.String dashboardName,
java.lang.String producerName) |
void |
addThresholdToDashboard(java.lang.String dashboardName,
java.lang.String thresholdName) |
void |
createDashboard(java.lang.String dashboardName) |
DashboardAO |
getDashboard(java.lang.String name) |
DashboardConfig |
getDashboardConfig(java.lang.String name) |
java.util.List<DashboardDefinitionAO> |
getDashboardDefinitions() |
java.util.List<java.lang.String> |
getDashboardNames() |
java.lang.String |
getDashboardNamesWhichDoNotIncludeThisChart(java.lang.String chartName)
Returns a comma separated list of dashboard names that do not include supplied chart yet.
|
java.lang.String |
getDashboardNamesWhichDoNotIncludeThisGauge(java.lang.String gaugeName)
Returns a comma separated list of dashboard names that do not include supplied gauge yet.
|
java.lang.String |
getDashboardNamesWhichDoNotIncludeThisThreshold(java.lang.String thresholdName)
Returns a comma separated list of dashboard names that do not include supplied threshold yet.
|
java.lang.String |
getDefaultDashboardName() |
void |
init() |
void |
removeChartFromDashboard(java.lang.String dashboardName,
java.lang.String[] accNames) |
void |
removeDashboard(java.lang.String dashboardName) |
void |
removeGaugeFromDashboard(java.lang.String dashboardName,
java.lang.String gaugeName) |
void |
removeProducerFromDashboard(java.lang.String dashboardName,
java.lang.String producerName) |
void |
removeThresholdFromDashboard(java.lang.String dashboardName,
java.lang.String thresholdName) |
getConfigurationaddValidationError, addValidationError, checkValidationAndThrowException, deInit, getApiConfig, getAttributeFromSession, getCallContext, getCurrentLocale, getCurrentUserId, getDefaultExpirePeriodForAttribute, getExpirePeriodForAttribute, getLoggedInUserId, getPrivateAttributeName, getSession, removeAttributeFromSession, setAttributeInSession, setAttributeInSession, setAttributeInSession, setAttributeInSessionpublic void init()
throws net.anotheria.anoplass.api.APIInitException
init in interface net.anotheria.anoplass.api.APIinit in class net.anotheria.anoplass.api.AbstractAPIImplnet.anotheria.anoplass.api.APIInitExceptionpublic java.lang.String getDefaultDashboardName()
getDefaultDashboardName in interface DashboardAPIpublic DashboardConfig getDashboardConfig(java.lang.String name) throws net.anotheria.anoplass.api.APIException
getDashboardConfig in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void createDashboard(java.lang.String dashboardName)
throws net.anotheria.anoplass.api.APIException
createDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void removeDashboard(java.lang.String dashboardName)
throws net.anotheria.anoplass.api.APIException
removeDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void addGaugeToDashboard(java.lang.String dashboardName,
java.lang.String gaugeName)
throws net.anotheria.anoplass.api.APIException
addGaugeToDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void removeGaugeFromDashboard(java.lang.String dashboardName,
java.lang.String gaugeName)
throws net.anotheria.anoplass.api.APIException
removeGaugeFromDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void addThresholdToDashboard(java.lang.String dashboardName,
java.lang.String thresholdName)
throws net.anotheria.anoplass.api.APIException
addThresholdToDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void removeThresholdFromDashboard(java.lang.String dashboardName,
java.lang.String thresholdName)
throws net.anotheria.anoplass.api.APIException
removeThresholdFromDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void addChartToDashboard(java.lang.String dashboardName,
java.lang.String caption,
java.lang.String[] accNames)
throws net.anotheria.anoplass.api.APIException
addChartToDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void removeChartFromDashboard(java.lang.String dashboardName,
java.lang.String[] accNames)
throws net.anotheria.anoplass.api.APIException
removeChartFromDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void addProducerToDashboard(java.lang.String dashboardName,
java.lang.String producerName)
throws net.anotheria.anoplass.api.APIException
addProducerToDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic void removeProducerFromDashboard(java.lang.String dashboardName,
java.lang.String producerName)
throws net.anotheria.anoplass.api.APIException
removeProducerFromDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic java.util.List<DashboardDefinitionAO> getDashboardDefinitions() throws net.anotheria.anoplass.api.APIException
getDashboardDefinitions in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic DashboardAO getDashboard(java.lang.String name) throws net.anotheria.anoplass.api.APIException
getDashboard in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic java.util.List<java.lang.String> getDashboardNames()
throws net.anotheria.anoplass.api.APIException
getDashboardNames in interface DashboardAPInet.anotheria.anoplass.api.APIExceptionpublic java.lang.String getDashboardNamesWhichDoNotIncludeThisGauge(java.lang.String gaugeName)
throws net.anotheria.anoplass.api.APIException
DashboardAPIgetDashboardNamesWhichDoNotIncludeThisGauge in interface DashboardAPIgaugeName - the name of the gauge to check.net.anotheria.anoplass.api.APIExceptionpublic java.lang.String getDashboardNamesWhichDoNotIncludeThisThreshold(java.lang.String thresholdName)
throws net.anotheria.anoplass.api.APIException
DashboardAPIgetDashboardNamesWhichDoNotIncludeThisThreshold in interface DashboardAPIthresholdName - the name of the threshold to check.net.anotheria.anoplass.api.APIExceptionpublic java.lang.String getDashboardNamesWhichDoNotIncludeThisChart(java.lang.String chartName)
throws net.anotheria.anoplass.api.APIException
DashboardAPIgetDashboardNamesWhichDoNotIncludeThisChart in interface DashboardAPIchartName - the name of the chart to check.net.anotheria.anoplass.api.APIExceptionCopyright © 2010-2020 anotheria.net. All Rights Reserved.