package org.opennms.netmgt.dao;

import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.SortedMap;

import org.opennms.netmgt.filter.FilterParseException;

public interface FilterDao {
    public SortedMap<Integer, String> getNodeMap(String rule) throws FilterParseException;
    public Map<String, Set<String>> getIPServiceMap(String rule) throws FilterParseException;
    public List<String> getIPList(String rule) throws FilterParseException;
    public boolean isValid(String addr, String rule) throws FilterParseException;
    
    public String getInterfaceWithServiceStatement(String rule);
    
    public void validateRule(String rule) throws FilterParseException;

}

@@ -207,16 +207,477 @@
 erDao %7B%0A
+    /**%0A     * This method returns a map of all node IDs and node labels that match%0A     * the rule that is passed in, sorted by node ID.%0A     * %0A     * @param rule an expression rule to be parsed and executed.%0A     * %0A     * @return SortedMap containing all node IDs and node labels selected by the rule.%0A     * %0A     * @exception FilterParseException if a rule is syntactically incorrect or failed in%0A     *                executing the SQL statement%0A     */%0A
     publ
@@ -751,32 +751,37 @@
 ParseException;%0A
+    %0A
     public Map%3CS

Add some javadocs