public class KickstartIpRangeFilter extends BaseListFilter
Constructor and Description |
---|
KickstartIpRangeFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
filter(java.lang.Object object,
java.lang.String field,
java.lang.String criteria)
$$Invoked on each object in the complete list of data beans
|
boolean |
filterOnRange(java.lang.String search,
java.lang.String min,
java.lang.String max)
Returns true if the search ip is within the min and max
helper method used by filter and by other things
|
void |
processMap(java.util.Map map,
java.util.Locale userLocale)
$Bind the display value of UI column(s) that need to be
filtered to bean property of the object that needs to be
inspected...
|
getFieldNames, postFilter, prepare
public void processMap(java.util.Map map, java.util.Locale userLocale)
processMap
in class BaseListFilter
map
- the map to which the display value is to be
bound to the bean propertyuserLocale
- the locale info used for the display valuepublic boolean filter(java.lang.Object object, java.lang.String field, java.lang.String criteria)
filter
in interface ListFilter
filter
in class BaseListFilter
object
- Individual data beansfield
- field name to inspectcriteria
- filter criteriapublic boolean filterOnRange(java.lang.String search, java.lang.String min, java.lang.String max)
search
- the ip address to search formin
- the min ipaddressmax
- the max ipaddress