Package org.opennms.features.status.api
Class AbstractStatusService<T,Q extends Query>
- java.lang.Object
-
- org.opennms.features.status.api.AbstractStatusService<T,Q>
-
- Direct Known Subclasses:
ApplicationStatusService
public abstract class AbstractStatusService<T,Q extends Query> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractStatusService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
count(Q query)
protected abstract int
countMatching(Criteria criteria)
protected abstract java.util.List<StatusEntity<T>>
findMatching(Q query, CriteriaBuilder criteriaBuilder)
protected abstract CriteriaBuilder
getCriteriaBuilder(QueryParameters queryParameters)
java.util.List<StatusEntity<T>>
getStatus(Q query)
-
-
-
Method Detail
-
getStatus
public java.util.List<StatusEntity<T>> getStatus(Q query)
-
count
public int count(Q query)
-
countMatching
protected abstract int countMatching(Criteria criteria)
-
findMatching
protected abstract java.util.List<StatusEntity<T>> findMatching(Q query, CriteriaBuilder criteriaBuilder)
-
getCriteriaBuilder
protected abstract CriteriaBuilder getCriteriaBuilder(QueryParameters queryParameters)
-
-