OperationsParameter.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.web.ctrlstat.costanti;

  21. import org.openspcoop2.web.ctrlstat.core.OperazioneDaSmistare;

  22. /**
  23.  * Tipi utilizzati come parametri nelle {@link OperazioneDaSmistare}
  24.  *
  25.  *
  26.  * @author Andrea Poli (apoli@link.it)
  27.  * @author Stefano Corallo (corallo@link.it)
  28.  * @author Sandra Giangrandi (sandra@link.it)
  29.  * @author $Author$
  30.  * @version $Rev$, $Date$
  31.  *
  32.  */
  33. public enum OperationsParameter {

  34.     // Soggetto
  35.     NOME_SOGGETTO("NomeSoggetto"), TIPO_SOGGETTO("TipoSoggetto"), OLD_NOME_SOGGETTO("OldNomeSoggetto"), OLD_TIPO_SOGGETTO("OldTipoSoggetto"),
  36.     // Servizio
  37.     NOME_SERVIZIO("NomeServizio"), TIPO_SERVIZIO("TipoServizio"), OLD_NOME_SERVIZIO("OldNomeServizio"), OLD_TIPO_SERVIZIO("OldTipoServizio"),
  38.     // PA
  39.     NOME_PA("NomePA"), OLD_NOME_PA("OldNomePA"),
  40.     // PD
  41.     NOME_PD("NomePD"), OLD_NOME_PD("OldNomePD"),
  42.     // ServizioApplicativo
  43.     NOME_SERVIZIO_APPLICATIVO("NomeServizioApplicativo"), OLD_NOME_SERVIZIO_APPLICATIVO("OldNomeServizioApplicativo"),
  44.     // Accordo
  45.     NOME_ACCORDO("NomeAccordo"), OLD_NOME_ACCORDO("OldNomeAccordo"),
  46.     VERSIONE_ACCORDO("VersioneAccordo"), OLD_VERSIONE_ACCORDO("OldVersioneAccordo"),
  47.     NOME_REFERENTE("NomeSoggetto"), TIPO_REFERENTE("TipoSoggetto"), OLD_NOME_REFERENTE("OldNomeSoggetto"), OLD_TIPO_REFERENTE("OldTipoSoggetto"),
  48.     // Fruitore
  49.     ID_FRUITORE("IDFruitore"), NOME_FRUITORE("NomeFruitore"), TIPO_FRUITORE("TipoFruitore"),
  50.     // Mapping
  51.     MAPPING_ID_FRUITORE("mIDFruitore"), MAPPING_ID_SERVIZIO("mIDServizio"),
  52.     MAPPING_ID_PORTA_DELEGATA("mIDPortaDelegata"), MAPPING_ID_PORTA_APPLICATIVA("mIDPortaApplicativa"),
  53.     // Gruppo
  54.     NOME_GRUPPO("NomeGruppo"), OLD_NOME_GRUPPO("OldNomeGruppo"),
  55.     // Ruolo
  56.     NOME_RUOLO("NomeRuolo"), OLD_NOME_RUOLO("OldNomeRuolo"),
  57.     // Scope
  58.     NOME_SCOPE("NomeScope"), OLD_NOME_SCOPE("OldNomeScope"),
  59.     // ID Table
  60.     ID_TABLE("IDTable"),

  61.     // Oggetto
  62.     OGGETTO("Oggetto"), PORTA_DOMINIO("PortaDominio");

  63.     private final String nome;

  64.     OperationsParameter(String nome) {
  65.         this.nome = nome;
  66.     }

  67.     public String getNome() {
  68.         return this.nome;
  69.     }
  70. }