Class OnmsDaoContainerDatasource<T,K extends Serializable>
- java.lang.Object
-
- org.opennms.features.topology.plugins.browsers.OnmsDaoContainerDatasource<T,K>
-
- All Implemented Interfaces:
OnmsContainerDatasource<T,K>
- Direct Known Subclasses:
NodeDaoContainer.NodeDaoContainerDatasource
public class OnmsDaoContainerDatasource<T,K extends Serializable> extends Object implements OnmsContainerDatasource<T,K>
-
-
Constructor Summary
Constructors Constructor Description OnmsDaoContainerDatasource(OnmsDao<T,K> dao, org.springframework.transaction.support.TransactionOperations transactionTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
countMatching(Criteria criteria)
T
createInstance(Class<T> itemClass)
void
delete(K itemId)
List<T>
findMatching(Criteria criteria)
void
findMatchingCallback(T item)
-
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfaceOnmsContainerDatasource<T,K extends Serializable>
-
delete
public void delete(K itemId)
- Specified by:
delete
in interfaceOnmsContainerDatasource<T,K extends Serializable>
-
findMatching
public List<T> findMatching(Criteria criteria)
- Specified by:
findMatching
in interfaceOnmsContainerDatasource<T,K extends Serializable>
-
findMatchingCallback
public void findMatchingCallback(T item)
-
countMatching
public int countMatching(Criteria criteria)
- Specified by:
countMatching
in interfaceOnmsContainerDatasource<T,K extends Serializable>
-
createInstance
public T createInstance(Class<T> itemClass) throws IllegalAccessException, InstantiationException
- Specified by:
createInstance
in interfaceOnmsContainerDatasource<T,K extends Serializable>
- Throws:
IllegalAccessException
InstantiationException
-
-