Package org.opennms.web.rest.v1
Class AlarmRestServiceBase
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.AlarmRestServiceBase
-
- Direct Known Subclasses:
AlarmRestService
,AlarmStatsRestService
public class AlarmRestServiceBase extends OnmsRestService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.web.rest.v1.OnmsRestService
OnmsRestService.ComparisonOperation
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.regex.Pattern
m_severityPattern
-
Fields inherited from class org.opennms.web.rest.v1.OnmsRestService
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description AlarmRestServiceBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Criteria
getCriteria(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> params, boolean stripOrdering)
protected CriteriaBuilder
getCriteriaBuilder(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> params, boolean stripOrdering)
protected void
translateParameters(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> 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
-
getCriteria
protected Criteria getCriteria(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> params, boolean stripOrdering)
-
getCriteriaBuilder
protected CriteriaBuilder getCriteriaBuilder(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> params, boolean stripOrdering)
-
translateParameters
protected void translateParameters(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> params)
-
-