@Component(value="kscRestService") public class KscRestService extends OnmsRestService
Modifier and Type | Class and Description |
---|---|
static class |
KscRestService.KscGraph |
static class |
KscRestService.KscReport |
static class |
KscRestService.KscReportCollection |
OnmsRestService.ComparisonOperation
DEFAULT_LIMIT
Constructor and Description |
---|
KscRestService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addGraph(Integer kscReportId,
String title,
String reportName,
String resourceId,
String timespan) |
javax.ws.rs.core.Response |
addKscReport(javax.ws.rs.core.UriInfo uriInfo,
KscRestService.KscReport kscReport) |
String |
getCount() |
KscRestService.KscReport |
getReport(Integer reportId) |
KscRestService.KscReportCollection |
getReports() |
javax.ws.rs.core.Response |
reloadConfiguration() |
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
@Transactional public KscRestService.KscReportCollection getReports() throws ParseException
ParseException
@Transactional public KscRestService.KscReport getReport(Integer reportId)
@Transactional public String getCount()
@Transactional public javax.ws.rs.core.Response reloadConfiguration()
@Transactional public javax.ws.rs.core.Response addGraph(Integer kscReportId, String title, String reportName, String resourceId, String timespan)
public javax.ws.rs.core.Response addKscReport(@Context javax.ws.rs.core.UriInfo uriInfo, KscRestService.KscReport kscReport)
Copyright © 2021. All rights reserved.