|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FilterDao
FilterDao interface.
| Method Summary | |
|---|---|
List<InetAddress> |
getActiveIPAddressList(String rule)
Get the (non-deleted) IP addresses that match the specified rule. |
List<InetAddress> |
getIPAddressList(String rule)
Get the IP addresses (including deleted) that match the specified rule. |
Map<InetAddress,Set<String>> |
getIPAddressServiceMap(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<InetAddress,Set<String>> getIPAddressServiceMap(String rule)
throws FilterParseException
getIPServiceMap
rule - a String object.
Map object.
FilterParseException - if any.
List<InetAddress> getActiveIPAddressList(String rule)
throws FilterParseException
rule - the filter rule
List of IP addresses.
FilterParseException - if a rule is syntactically incorrect or failed in executing the SQL statement.
List<InetAddress> getIPAddressList(String rule)
throws FilterParseException
rule - the filter rule
List of IP addresses.
FilterParseException - if a rule is syntactically incorrect or failed in executing the SQL statement.
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 | |||||||||