Package org.opennms.web.rest.v1
Class MonitoringLocationsRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.MonitoringLocationsRestService
-
@Component("monitoringLocationsRestService") public class MonitoringLocationsRestService extends OnmsRestService
-
-
Nested Class Summary
-
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 MonitoringLocationsRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseaddMonitoringLocation(javax.ws.rs.core.UriInfo uriInfo, OnmsMonitoringLocation monitoringLocation)javax.ws.rs.core.ResponsedeleteMonitoringLocation(String monitoringLocation)OnmsMonitoringLocationgetDefaultMonitoringLocation()OnmsMonitoringLocationDefinitionListgetForeignSources()OnmsMonitoringLocationgetMonitoringLocation(String monitoringLocation)StringgetTotalCount()javax.ws.rs.core.ResponseupdateMonitoringLocation(String monitoringLocation, MultivaluedMapImpl params)-
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
-
getDefaultMonitoringLocation
public OnmsMonitoringLocation getDefaultMonitoringLocation() throws ParseException
- Throws:
ParseException
-
getForeignSources
public OnmsMonitoringLocationDefinitionList getForeignSources() throws ParseException
- Throws:
ParseException
-
getTotalCount
public String getTotalCount() throws ParseException
- Throws:
ParseException
-
getMonitoringLocation
public OnmsMonitoringLocation getMonitoringLocation(String monitoringLocation)
-
addMonitoringLocation
@Transactional public javax.ws.rs.core.Response addMonitoringLocation(@Context javax.ws.rs.core.UriInfo uriInfo, OnmsMonitoringLocation monitoringLocation)
-
updateMonitoringLocation
@Transactional public javax.ws.rs.core.Response updateMonitoringLocation(String monitoringLocation, MultivaluedMapImpl params)
-
deleteMonitoringLocation
@Transactional public javax.ws.rs.core.Response deleteMonitoringLocation(String monitoringLocation)
-
-