com.scooterframework.admin
Class ActionControlFilter
java.lang.Object
com.scooterframework.admin.ActionControlFilter
public class ActionControlFilter
- extends java.lang.Object
ActionControlFilter class contains a filter for a controller class.
Constructor Summary |
ActionControlFilter(java.lang.Class<?> owner,
java.lang.String filter)
Constructs an ActionControlFilter instance. |
Method Summary |
java.lang.String |
execute()
Executes the filter |
static java.lang.String |
formatKey(java.lang.Class<?> owner,
java.lang.String filter)
|
java.lang.String |
getACFKey()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionControlFilter
public ActionControlFilter(java.lang.Class<?> owner,
java.lang.String filter)
- Constructs an ActionControlFilter instance.
- Parameters:
owner
- the declaring class of the filter methodfilter
- a public method name in the controller that acts as a filter.
execute
public java.lang.String execute()
- Executes the filter
getACFKey
public java.lang.String getACFKey()
formatKey
public static java.lang.String formatKey(java.lang.Class<?> owner,
java.lang.String filter)