Class DataChoiceRestServiceImpl
- java.lang.Object
-
- org.opennms.features.datachoices.web.internal.DataChoiceRestServiceImpl
-
- All Implemented Interfaces:
DataChoiceRestService
public class DataChoiceRestServiceImpl extends Object implements DataChoiceRestService
Rest-Endpoint mounted at /datachoices. Supported paths are: POST /opennms/rest/datachoices?action=enable POST /opennms/rest/datachoices?action=disable GET /opennms/rest/datachoices- Author:
- jwhite, mvrueden
-
-
Constructor Summary
Constructors Constructor Description DataChoiceRestServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsageStatisticsReportDTO
getUsageStatistics()
void
setStateManager(StateManager stateManager)
void
setUsageStatisticsReporter(UsageStatisticsReporter usageStatisticsReporter)
void
updateCollectUsageStatisticFlag(javax.servlet.http.HttpServletRequest request, String action)
-
-
-
Method Detail
-
updateCollectUsageStatisticFlag
public void updateCollectUsageStatisticFlag(javax.servlet.http.HttpServletRequest request, String action)
- Specified by:
updateCollectUsageStatisticFlag
in interfaceDataChoiceRestService
-
getUsageStatistics
public UsageStatisticsReportDTO getUsageStatistics() throws javax.servlet.ServletException, IOException
- Specified by:
getUsageStatistics
in interfaceDataChoiceRestService
- Throws:
javax.servlet.ServletException
IOException
-
setStateManager
public void setStateManager(StateManager stateManager)
-
setUsageStatisticsReporter
public void setUsageStatisticsReporter(UsageStatisticsReporter usageStatisticsReporter)
-
-