com.scooterframework.admin
Class ActionFilterData

java.lang.Object
  extended by com.scooterframework.admin.ActionFilterData

public class ActionFilterData
extends java.lang.Object

ActionFilterData class contains information about filters.


Constructor Summary
ActionFilterData(java.lang.Class<?> filterClz, java.lang.String type, java.lang.String filters)
          Constructor
ActionFilterData(java.lang.Class<?> filterClz, java.lang.String type, java.lang.String option, java.lang.String filters, java.lang.String actions)
          Constructor
 
Method Summary
 java.util.List<ActionControlFilter> getFilters(java.lang.String action)
          Returns a list filters for the specific action.
 java.lang.String getType()
          Returns type of the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionFilterData

public ActionFilterData(java.lang.Class<?> filterClz,
                        java.lang.String type,
                        java.lang.String filters)
Constructor

Parameters:
filterClz - the declaring class of filter methods
type - a string to indicate filter type
filters - a list of method names that act as filters separated by comma

ActionFilterData

public ActionFilterData(java.lang.Class<?> filterClz,
                        java.lang.String type,
                        java.lang.String option,
                        java.lang.String filters,
                        java.lang.String actions)
Constructor

Parameters:
filterClz - the declaring class of filter methods
type - a string to indicate filter type
option - a string of filtering option
filters - a list of method names that act as filters separated by comma
actions - a list of method names separated by comma
Method Detail

getFilters

public java.util.List<ActionControlFilter> getFilters(java.lang.String action)
Returns a list filters for the specific action.

Parameters:
action -
Returns:
a list of filters for the action

getType

public java.lang.String getType()
Returns type of the filter.

Returns:
filter type