T
- The entity type (e.g. OnmsAlarm).K
- The key type of the entity (e.g. Integer)public interface OnmsContainerDatasource<T,K extends Serializable>
OnmsVaadinContainer
to use different kinds of data sources, not only DAOs.Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
countMatching(Criteria criteria) |
T |
createInstance(Class<T> itemClass) |
void |
delete(K itemId) |
List<T> |
findMatching(Criteria criteria) |
void clear()
void delete(K itemId)
int countMatching(Criteria criteria)
T createInstance(Class<T> itemClass) throws IllegalAccessException, InstantiationException
Copyright © 2021. All rights reserved.