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(java.lang.String monitoringLocation)OnmsMonitoringLocationgetDefaultMonitoringLocation()OnmsMonitoringLocationDefinitionListgetForeignSources()OnmsMonitoringLocationgetMonitoringLocation(java.lang.String monitoringLocation)java.lang.StringgetTotalCount()javax.ws.rs.core.ResponseupdateMonitoringLocation(java.lang.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 java.text.ParseException
- Throws:
java.text.ParseException
-
getForeignSources
public OnmsMonitoringLocationDefinitionList getForeignSources() throws java.text.ParseException
- Throws:
java.text.ParseException
-
getTotalCount
public java.lang.String getTotalCount() throws java.text.ParseException- Throws:
java.text.ParseException
-
getMonitoringLocation
public OnmsMonitoringLocation getMonitoringLocation(java.lang.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(java.lang.String monitoringLocation, MultivaluedMapImpl params)
-
deleteMonitoringLocation
@Transactional public javax.ws.rs.core.Response deleteMonitoringLocation(java.lang.String monitoringLocation)
-
-