|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilterDao
FilterDao interface.
| Method Summary | |
|---|---|
List<String> |
getIPList(String rule)
getIPList |
Map<String,Set<String>> |
getIPServiceMap(String rule)
getIPServiceMap |
SortedMap<Integer,String> |
getNodeMap(String rule)
This method returns a map of all node IDs and node labels that match the rule that is passed in, sorted by node ID. |
boolean |
isRuleMatching(String rule)
Does this rule match anything in the database? In particular, does it return at least one record from the database? |
boolean |
isValid(String addr,
String rule)
isValid |
void |
validateRule(String rule)
validateRule |
void |
walkMatchingNodes(String rule,
EntityVisitor visitor)
walkMatchingNodes |
| Method Detail |
|---|
void walkMatchingNodes(String rule,
EntityVisitor visitor)
walkMatchingNodes
rule - a String object.visitor - a EntityVisitor object.
SortedMap<Integer,String> getNodeMap(String rule)
throws FilterParseException
rule - an expression rule to be parsed and executed.
FilterParseException - if a rule is syntactically incorrect or failed in
executing the SQL statement
FilterParseException - if any.
Map<String,Set<String>> getIPServiceMap(String rule)
throws FilterParseException
getIPServiceMap
rule - a String object.
Map object.
FilterParseException - if any.
List<String> getIPList(String rule)
throws FilterParseException
getIPList
rule - a String object.
List object.
FilterParseException - if any.
boolean isValid(String addr,
String rule)
throws FilterParseException
isValid
addr - a String object.rule - a String object.
FilterParseException - if any.
boolean isRuleMatching(String rule)
throws FilterParseException
rule - rule to match on
FilterParseException - if any.
void validateRule(String rule)
throws FilterParseException
validateRule
rule - a String object.
FilterParseException - if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||