Class OnmsDaoContainerDatasource<T,K extends java.io.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 java.io.Serializable> extends java.lang.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(java.lang.Class<T> itemClass)
void
delete(K itemId)
java.util.List<T>
findMatching(Criteria criteria)
void
findMatchingCallback(T item)
-
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfaceOnmsContainerDatasource<T,K extends java.io.Serializable>
-
delete
public void delete(K itemId)
- Specified by:
delete
in interfaceOnmsContainerDatasource<T,K extends java.io.Serializable>
-
findMatching
public java.util.List<T> findMatching(Criteria criteria)
- Specified by:
findMatching
in interfaceOnmsContainerDatasource<T,K extends java.io.Serializable>
-
findMatchingCallback
public void findMatchingCallback(T item)
-
countMatching
public int countMatching(Criteria criteria)
- Specified by:
countMatching
in interfaceOnmsContainerDatasource<T,K extends java.io.Serializable>
-
createInstance
public T createInstance(java.lang.Class<T> itemClass) throws java.lang.IllegalAccessException, java.lang.InstantiationException
- Specified by:
createInstance
in interfaceOnmsContainerDatasource<T,K extends java.io.Serializable>
- Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
-
-