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

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

  40.     public default void removeAccordoCooperazione(IDAccordoCooperazione idAccordo) throws Exception {
  41.         // nop
  42.     }
  43.     public default void removeApi(IDAccordo idAccordo) throws Exception {
  44.         // nop
  45.     }
  46.     public default void removeErogazione(IDServizio idServizio) throws Exception {
  47.         // nop
  48.     }
  49.     public default void removeFruizione(IDSoggetto fruitore, IDServizio idServizio) throws Exception {
  50.         // nop
  51.     }
  52.    
  53.     public default void removePortaDelegata(IDPortaDelegata idPD) throws Exception {
  54.         // nop
  55.     }
  56.     public default void removePortaApplicativa(IDPortaApplicativa idPA)throws Exception {
  57.         // nop
  58.     }
  59.     public default void removeConnettore(IDConnettore idConnettore)throws Exception {
  60.         // nop
  61.     }
  62.    

  63.     public default void removePdd(String portaDominio) throws Exception {
  64.         // nop
  65.     }
  66.     public default void removeSoggetto(IDSoggetto idSoggetto) throws Exception {
  67.         // nop
  68.     }
  69.     public default void removeApplicativo(IDServizioApplicativo idApplicativo) throws Exception {
  70.         // nop
  71.     }
  72.    
  73.     public default void removeRuolo(IDRuolo idRuolo) throws Exception {
  74.         // nop
  75.     }
  76.     public default void removeScope(IDScope idScope) throws Exception {
  77.         // nop
  78.     }
  79.    
  80.     public default void removeGenericProperties(IDGenericProperties idGP) throws Exception {
  81.         // nop
  82.     }

  83. }