GestoreRichiesteCacheCleaner.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.IDAccordo;
  22. import org.openspcoop2.core.id.IDConnettore;
  23. import org.openspcoop2.core.id.IDGenericProperties;
  24. import org.openspcoop2.core.id.IDPortaApplicativa;
  25. import org.openspcoop2.core.id.IDPortaDelegata;
  26. import org.openspcoop2.core.id.IDRuolo;
  27. import org.openspcoop2.core.id.IDScope;
  28. import org.openspcoop2.core.id.IDServizio;
  29. import org.openspcoop2.core.id.IDServizioApplicativo;
  30. import org.openspcoop2.core.id.IDSoggetto;
  31. import org.openspcoop2.pdd.core.GestoreRichieste;

  32. /**
  33.  * GestoreRichiesteCacheCleaner
  34.  *
  35.  * @author Andrea Poli (apoli@link.it)
  36.  * @author $Author$
  37.  * @version $Rev$, $Date$
  38.  */
  39. public class GestoreRichiesteCacheCleaner implements ICacheCleaner {


  40.     @Override
  41.     public void removeApi(IDAccordo idAccordo) throws Exception {
  42.         GestoreRichieste.removeApi(idAccordo);
  43.        
  44.     }
  45.     @Override
  46.     public void removeErogazione(IDServizio idServizio) throws Exception {
  47.         GestoreRichieste.removeErogazione(idServizio);
  48.     }
  49.     @Override
  50.     public void removeFruizione(IDSoggetto fruitore, IDServizio idServizio) throws Exception {
  51.         GestoreRichieste.removeFruizione(fruitore, idServizio);
  52.     }
  53.    
  54.     @Override
  55.     public void removePortaDelegata(IDPortaDelegata idPD) throws Exception {
  56.         GestoreRichieste.removePortaDelegata(idPD);
  57.     }
  58.     @Override
  59.     public void removePortaApplicativa(IDPortaApplicativa idPA)throws Exception {
  60.         GestoreRichieste.removePortaApplicativa(idPA);
  61.     }
  62.     @Override
  63.     public void removeConnettore(IDConnettore idConnettore)throws Exception {
  64.         GestoreRichieste.removeConnettore(idConnettore);
  65.     }
  66.    
  67.     @Override
  68.     public void removePdd(String portaDominio) throws Exception {
  69.         GestoreRichieste.removePdd(portaDominio);
  70.     }
  71.     @Override
  72.     public void removeSoggetto(IDSoggetto idSoggetto) throws Exception {
  73.         GestoreRichieste.removeSoggetto(idSoggetto);
  74.     }
  75.     @Override
  76.     public void removeApplicativo(IDServizioApplicativo idApplicativo) throws Exception {
  77.         GestoreRichieste.removeApplicativo(idApplicativo);
  78.     }

  79.     @Override
  80.     public void removeRuolo(IDRuolo idRuolo) throws Exception {
  81.         GestoreRichieste.removeRuolo(idRuolo);
  82.     }
  83.     @Override
  84.     public void removeScope(IDScope idScope) throws Exception {
  85.         GestoreRichieste.removeScope(idScope);
  86.     }
  87.    
  88.     @Override
  89.     public void removeGenericProperties(IDGenericProperties idGP) throws Exception {
  90.         GestoreRichieste.removeGenericProperties(idGP);
  91.     }
  92.    
  93.    
  94. }