SearchProcessing.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package org.openspcoop2.monitor.sdk.plugins;

  21. import java.util.ArrayList;
  22. import java.util.List;

  23. import org.openspcoop2.monitor.sdk.condition.Context;
  24. import org.openspcoop2.monitor.sdk.condition.IFilter;
  25. import org.openspcoop2.monitor.sdk.exceptions.ParameterException;
  26. import org.openspcoop2.monitor.sdk.exceptions.SearchException;
  27. import org.openspcoop2.monitor.sdk.exceptions.ValidationException;
  28. import org.openspcoop2.monitor.sdk.parameters.Parameter;

  29. /**
  30.  * SearchProcessing
  31.  *
  32.  * @author Poli Andrea (apoli@link.it)
  33.  * @author $Author$
  34.  * @version $Rev$, $Date$
  35.  */
  36. public abstract class SearchProcessing implements ISearchProcessing {

  37.     @Override
  38.     public List<Parameter<?>> getParameters(Context context) throws SearchException, ParameterException{
  39.         return new ArrayList<Parameter<?>>();
  40.     }
  41.    
  42.     @Override
  43.     public void updateRendering(Parameter<?> parameter,Context context) throws SearchException, ParameterException{
  44.        
  45.     }
  46.    
  47.     @Override
  48.     public void onChangeValue(Parameter<?> parameter, Context context) throws SearchException, ParameterException{
  49.        
  50.     }

  51.     @Override
  52.     public void validate(Context context) throws ValidationException,
  53.             SearchException, ParameterException {
  54.        
  55.     }

  56.     @Override
  57.     public abstract IFilter createSearchFilter(Context context)
  58.             throws SearchException;
  59. }