import org.opennms.netmgt.model.OnmsDistPoller;
import org.opennms.netmgt.model.OnmsIpInterface;
import org.opennms.netmgt.model.OnmsNode;
import org.springframework.stereotype.Repository;
@Repository
<BUG>public interface NodeDao extends OnmsDao<OnmsNode, Integer> {
public abstract Collection<OnmsNode> findByLabel(String label);</BUG>
public abstract Collection<OnmsNode> findNodes(OnmsDistPoller dp);
public abstract OnmsNode getHierarchy(Integer id);
public abstract Map<String, Integer> getForeignIdToNodeIdMap(String foreignSource);

import org.opennms.netmgt.model.OnmsDistPoller;
import org.opennms.netmgt.model.OnmsIpInterface;
import org.opennms.netmgt.model.OnmsNode;
import org.springframework.stereotype.Repository;
@Repository
public interface NodeDao extends OnmsDao<OnmsNode, Integer> {
public abstract OnmsNode get(String lookupCriteria);
public abstract Collection<OnmsNode> findByLabel(String label);
public abstract Collection<OnmsNode> findNodes(OnmsDistPoller dp);
public abstract OnmsNode getHierarchy(Integer id);
public abstract Map<String, Integer> getForeignIdToNodeIdMap(String foreignSource);
