fr.cnes.sitools.properties.core
Class TextFieldPropertyFilter

java.lang.Object
  extended by fr.cnes.sitools.properties.AbstractPropertyFilter
      extended by fr.cnes.sitools.properties.core.TextFieldPropertyFilter

public class TextFieldPropertyFilter
extends AbstractPropertyFilter

TextField filter on property Handle search on String or Enum property type

Author:
m.gond

Field Summary
 
Fields inherited from class fr.cnes.sitools.properties.AbstractPropertyFilter
PROPERTY, TEMPLATE_PARAM, TYPE, VALUES
 
Constructor Summary
TextFieldPropertyFilter()
           
 
Method Summary
 boolean match(org.restlet.Request request, org.restlet.Context context)
          Return true if the properties contained in the Context, matches the request parameters false otherwise
 
Methods inherited from class fr.cnes.sitools.properties.AbstractPropertyFilter
getProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFieldPropertyFilter

public TextFieldPropertyFilter()
Method Detail

match

public boolean match(org.restlet.Request request,
                     org.restlet.Context context)
Description copied from class: AbstractPropertyFilter
Return true if the properties contained in the Context, matches the request parameters false otherwise

Specified by:
match in class AbstractPropertyFilter
Parameters:
request - The Request containing the request parameters
context - the Context containing the properties (getContext().getAttributes().get(ContextAttributes.LIST_SITOOLS_PROPERTIES)
Returns:
true if the properties contains in the Context, matches the request parameters false otherwise


Copyright © 2010-2013 CNES. All Rights Reserved.