Package org.opennms.web.rest.v1
Class KscRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.KscRestService
-
@Component("kscRestService") public class KscRestService extends OnmsRestService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KscRestService.KscGraph
static class
KscRestService.KscReport
static class
KscRestService.KscReportCollection
-
Nested classes/interfaces inherited from class org.opennms.web.rest.v1.OnmsRestService
OnmsRestService.ComparisonOperation
-
-
Field Summary
-
Fields inherited from class org.opennms.web.rest.v1.OnmsRestService
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description KscRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
addGraph(java.lang.Integer kscReportId, java.lang.String title, java.lang.String reportName, java.lang.String resourceId, java.lang.String timespan)
javax.ws.rs.core.Response
addKscReport(javax.ws.rs.core.UriInfo uriInfo, KscRestService.KscReport kscReport)
java.lang.String
getCount()
KscRestService.KscReport
getReport(java.lang.Integer reportId)
KscRestService.KscReportCollection
getReports()
javax.ws.rs.core.Response
reloadConfiguration()
-
Methods inherited from class org.opennms.web.rest.v1.OnmsRestService
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
-
-
-
-
Method Detail
-
getReports
@Transactional public KscRestService.KscReportCollection getReports() throws java.text.ParseException
- Throws:
java.text.ParseException
-
getReport
@Transactional public KscRestService.KscReport getReport(java.lang.Integer reportId)
-
getCount
@Transactional public java.lang.String getCount()
-
reloadConfiguration
@Transactional public javax.ws.rs.core.Response reloadConfiguration()
-
addGraph
@Transactional public javax.ws.rs.core.Response addGraph(java.lang.Integer kscReportId, java.lang.String title, java.lang.String reportName, java.lang.String resourceId, java.lang.String timespan)
-
addKscReport
public javax.ws.rs.core.Response addKscReport(@Context javax.ws.rs.core.UriInfo uriInfo, KscRestService.KscReport kscReport)
-
-