destroy(java.lang.String id)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rule
public Rule(java.lang.String name,
java.lang.String description,
java.lang.String humanReadable,
FilterCondition filter,
Types type)
getId
public java.lang.String getId()
- Returns:
- the id
getName
public java.lang.String getName()
- Returns:
- the name
getDescription
public java.lang.String getDescription()
- Returns:
- the description
getHumanReadable
public java.lang.String getHumanReadable()
- Returns:
- the humanReadable
getType
public Types getType()
- Returns:
- the type
getFilter
public FilterCondition getFilter()
- Returns:
- the filter
store
public boolean store()
getAll
public static java.util.Iterator<Rule> getAll()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
getByType
public static java.util.Iterator<Rule> getByType(Types type)
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
get
public static Rule get(java.lang.String id)
throws java.lang.Exception
- Parameters:
id -
- Returns:
-
- Throws:
java.lang.Exception
destroy
public static void destroy(java.lang.String id)
throws java.lang.Exception
- Parameters:
id -
- Throws:
java.lang.Exception
|