fr.cnes.sitools.dataset.plugins.filters.core
Class BboxFilter

java.lang.Object
  extended by org.restlet.engine.Helper
      extended by fr.cnes.sitools.common.model.ExtensionModel<E>
          extended by fr.cnes.sitools.common.business.AbstractExtension<FilterParameter>
              extended by fr.cnes.sitools.dataset.filter.business.AbstractFilter
                  extended by fr.cnes.sitools.dataset.plugins.filters.core.AbstractFormFilter
                      extended by fr.cnes.sitools.dataset.plugins.filters.core.BboxFilter
All Implemented Interfaces:
IResource, Validable

public class BboxFilter
extends AbstractFormFilter

Filter for Bbox parameters

Note : Create predicates only for postgis datasource

Author:
m.gond

Field Summary
 
Fields inherited from class fr.cnes.sitools.dataset.plugins.filters.core.AbstractFormFilter
COLUMN, DICO_CONCEPT, TEMPLATE_PARAM, TEMPLATE_PARAM_CONCEPT, TYPE, VALUES
 
Constructor Summary
BboxFilter()
          BboxFilter constructor
 
Method Summary
 java.util.List<Predicat> createPredicats(org.restlet.Request request, java.util.List<Predicat> predicats)
          Method to process conversion, Must be overridden
 java.util.HashMap<java.lang.String,org.restlet.ext.wadl.ParameterInfo> getRequestParamsDescription()
          Gets the requestParamsDescription value
 Validator<?> getValidator()
          Get the Validator on a Object
 
Methods inherited from class fr.cnes.sitools.dataset.plugins.filters.core.AbstractFormFilter
getColumnAlias, getColumnsAlias
 
Methods inherited from class fr.cnes.sitools.dataset.filter.business.AbstractFilter
addParam, convert, getDefaultFilter, getDictionaryFromName, getInternParam, setDefaultFilter, setRequestParamsDescription
 
Methods inherited from class fr.cnes.sitools.common.business.AbstractExtension
getContext, setContext
 
Methods inherited from class fr.cnes.sitools.common.model.ExtensionModel
getClassAuthor, getClassName, getClassOwner, getClassVersion, getDescription, getDescriptionAction, getId, getName, getParametersMap, setClassAuthor, setClassName, setClassOwner, setClassVersion, setDescription, setDescriptionAction, setId, setName, setParametersMap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BboxFilter

public BboxFilter()
BboxFilter constructor

Method Detail

getRequestParamsDescription

public java.util.HashMap<java.lang.String,org.restlet.ext.wadl.ParameterInfo> getRequestParamsDescription()
Description copied from class: AbstractFilter
Gets the requestParamsDescription value

Overrides:
getRequestParamsDescription in class AbstractFilter
Returns:
the requestParamsDescription

createPredicats

public java.util.List<Predicat> createPredicats(org.restlet.Request request,
                                                java.util.List<Predicat> predicats)
                                         throws java.lang.Exception
Description copied from class: AbstractFilter
Method to process conversion, Must be overridden

Specified by:
createPredicats in class AbstractFilter
Parameters:
request - the request to be processed
predicats - the ArrayList to be processed
Returns:
the ArrayList processed
Throws:
java.lang.Exception - TODO EVOLUTION - Possibilité de passer des paramètres d'un filtre à l'autre autrement que par les predicats Voir si besoin.

getValidator

public Validator<?> getValidator()
Description copied from interface: Validable
Get the Validator on a Object

Returns:
the validator on a object


Copyright © 2010-2013 CNES. All Rights Reserved.