ConfigurazioneCacheCleaner.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.pdd.core.cache;

  21. import org.openspcoop2.core.id.IDConnettore;
  22. import org.openspcoop2.core.id.IDGenericProperties;
  23. import org.openspcoop2.core.id.IDPortaApplicativa;
  24. import org.openspcoop2.core.id.IDPortaDelegata;
  25. import org.openspcoop2.core.id.IDServizio;
  26. import org.openspcoop2.core.id.IDServizioApplicativo;
  27. import org.openspcoop2.core.id.IDSoggetto;
  28. import org.openspcoop2.pdd.config.ConfigurazionePdDReader;

  29. /**
  30.  * ConfigurazioneCacheCleaner
  31.  *
  32.  * @author Andrea Poli (apoli@link.it)
  33.  * @author $Author$
  34.  * @version $Rev$, $Date$
  35.  */
  36. public class ConfigurazioneCacheCleaner implements ICacheCleaner {
  37.    
  38.     @Override
  39.     public void removeErogazione(IDServizio idServizio) throws Exception {
  40.         ConfigurazionePdDReader.removeErogazione(idServizio);
  41.     }
  42.     @Override
  43.     public void removeFruizione(IDSoggetto fruitore, IDServizio idServizio) throws Exception {
  44.         ConfigurazionePdDReader.removeFruizione(fruitore, idServizio);
  45.     }
  46.    
  47.     @Override  
  48.     public void removePortaDelegata(IDPortaDelegata idPD) throws Exception {
  49.         ConfigurazionePdDReader.removePortaDelegata(idPD);
  50.     }
  51.     @Override
  52.     public void removePortaApplicativa(IDPortaApplicativa idPA)throws Exception {
  53.         ConfigurazionePdDReader.removePortaApplicativa(idPA);
  54.     }
  55.     @Override
  56.     public void removeConnettore(IDConnettore idConnettore)throws Exception {
  57.         ConfigurazionePdDReader.removeConnettore(idConnettore);
  58.     }
  59.    
  60.     @Override
  61.     public void removeSoggetto(IDSoggetto idSoggetto) throws Exception {
  62.         ConfigurazionePdDReader.removeSoggetto(idSoggetto);
  63.     }
  64.     @Override
  65.     public void removeApplicativo(IDServizioApplicativo idApplicativo) throws Exception {
  66.         ConfigurazionePdDReader.removeApplicativo(idApplicativo);
  67.     }
  68.    
  69.     @Override
  70.     public void removeGenericProperties(IDGenericProperties idGP) throws Exception {
  71.         ConfigurazionePdDReader.removeGenericProperties(idGP);
  72.     }

  73. }