3.0.2: 2012-01-25

net.sf.basedb.clients.web.extensions
Class UninstallFilter

java.lang.Object
  extended by net.sf.basedb.clients.web.extensions.UninstallFilter
All Implemented Interfaces:
Filter<ExtensionsFile>

public class UninstallFilter
extends Object
implements Filter<ExtensionsFile>

Filter implementation that selects only those extensions that was selected for uninstallation by the user in the gui. Eg. if the request parameter filename.uninstall is set.

Since:
3.0
Author:
Nicklas
Last modified
$Date $

Field Summary
private  HttpServletRequest request
           
 
Constructor Summary
UninstallFilter(HttpServletRequest request)
           
 
Method Summary
 boolean evaluate(ExtensionsFile xtFile)
          Evaluate if the given object should pass the filter or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

private final HttpServletRequest request
Constructor Detail

UninstallFilter

public UninstallFilter(HttpServletRequest request)
Method Detail

evaluate

public boolean evaluate(ExtensionsFile xtFile)
Description copied from interface: Filter
Evaluate if the given object should pass the filter or not.

Specified by:
evaluate in interface Filter<ExtensionsFile>
Parameters:
xtFile - The object to evaluate
Returns:
TRUE if the object passes the filter, FALSE otherwise

3.0.2: 2012-01-25