@Component @PerRequest @Scope(value="prototype") 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(KscRestService.KscReport kscReport) |
String |
getCount() |
KscRestService.KscReport |
getReport(Integer reportId) |
KscRestService.KscReportCollection |
getReports() |
applyQueryFilters, applyQueryFilters, getBeanWrapperForClass, getException, getException, 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 addGraph(Integer kscReportId, String title, String reportName, String resourceId, String timespan)
public javax.ws.rs.core.Response addKscReport(KscRestService.KscReport kscReport)
Copyright © 2015. All rights reserved.