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 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 List<StatusEntity<T>>
findMatching(Q query, CriteriaBuilder criteriaBuilder)
protected abstract CriteriaBuilder
getCriteriaBuilder(QueryParameters queryParameters)
List<StatusEntity<T>>
getStatus(Q query)
-
-
-
Method Detail
-
getStatus
public List<StatusEntity<T>> getStatus(Q query)
-
count
public int count(Q query)
-
countMatching
protected abstract int countMatching(Criteria criteria)
-
findMatching
protected abstract List<StatusEntity<T>> findMatching(Q query, CriteriaBuilder criteriaBuilder)
-
getCriteriaBuilder
protected abstract CriteriaBuilder getCriteriaBuilder(QueryParameters queryParameters)
-
-