RicezioneContenutiApplicativiGestioneRisposta.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.services.core;

  21. import org.openspcoop2.core.config.PortaDelegata;
  22. import org.openspcoop2.core.id.IDServizio;
  23. import org.openspcoop2.core.id.IDSoggetto;
  24. import org.openspcoop2.pdd.config.ConfigurazionePdDManager;
  25. import org.openspcoop2.pdd.config.OpenSPCoop2Properties;
  26. import org.openspcoop2.pdd.core.GestoreMessaggi;
  27. import org.openspcoop2.pdd.core.PdDContext;
  28. import org.openspcoop2.pdd.core.integrazione.HeaderIntegrazione;
  29. import org.openspcoop2.pdd.core.state.IOpenSPCoopState;
  30. import org.openspcoop2.pdd.logger.MsgDiagnostico;
  31. import org.openspcoop2.protocol.engine.driver.RepositoryBuste;
  32. import org.openspcoop2.protocol.registry.RegistroServiziManager;
  33. import org.openspcoop2.protocol.sdk.Busta;
  34. import org.openspcoop2.protocol.sdk.IProtocolFactory;
  35. import org.openspcoop2.protocol.sdk.builder.ProprietaErroreApplicativo;
  36. import org.slf4j.Logger;

  37. /**
  38.  * Informazioni per la gestione della risposta
  39.  *
  40.  * @author Poli Andrea (apoli@link.it)
  41.  * @author $Author$
  42.  * @version $Rev$, $Date$
  43.  */
  44. public class RicezioneContenutiApplicativiGestioneRisposta {

  45.     private IOpenSPCoopState openspcoopstate;
  46.    
  47.     private OpenSPCoop2Properties propertiesReader;
  48.     private RegistroServiziManager registroServiziReader;
  49.     private ConfigurazionePdDManager configurazionePdDReader;
  50.     private MsgDiagnostico msgDiag;
  51.     private Logger logCore;
  52.    
  53.     private IDSoggetto identitaPdD;
  54.     private String idMessageRequest;

  55.     private HeaderIntegrazione headerIntegrazioneRichiesta;
  56.     private HeaderIntegrazione headerIntegrazioneRisposta;
  57.     private String[] tipiIntegrazionePD;
  58.    
  59.     private ProprietaErroreApplicativo proprietaErroreAppl;
  60.     private String servizioApplicativo;
  61.    
  62.     private GestoreMessaggi msgRequest;
  63.     private RepositoryBuste repositoryBuste;

  64.     private boolean portaStateless;
  65.     private boolean oneWayVers11;
  66.     private boolean richiestaAsincronaSimmetricaStateless;
  67.    
  68.     private boolean localForward;
  69.    
  70.     private PortaDelegata portaDelegata;
  71.     private IDSoggetto soggettoMittente;
  72.     private IDServizio idServizio;
  73.    
  74.     private PdDContext pddContext;
  75.    
  76.     private IProtocolFactory<?> protocolFactory;
  77.    
  78.     private Busta bustaRichiesta;
  79.    
  80.     public Busta getBustaRichiesta() {
  81.         return this.bustaRichiesta;
  82.     }
  83.     public void setBustaRichiesta(Busta bustaRichiesta) {
  84.         this.bustaRichiesta = bustaRichiesta;
  85.     }
  86.     public IProtocolFactory<?> getProtocolFactory() {
  87.         return this.protocolFactory;
  88.     }
  89.     public void setProtocolFactory(IProtocolFactory<?> protocolFactory) {
  90.         this.protocolFactory = protocolFactory;
  91.     }
  92.     public PdDContext getPddContext() {
  93.         return this.pddContext;
  94.     }
  95.     public void setPddContext(PdDContext pddContext) {
  96.         this.pddContext = pddContext;
  97.     }
  98.     public boolean isLocalForward() {
  99.         return this.localForward;
  100.     }
  101.     public void setLocalForward(boolean localForward) {
  102.         this.localForward = localForward;
  103.     }
  104.     public HeaderIntegrazione getHeaderIntegrazioneRichiesta() {
  105.         return this.headerIntegrazioneRichiesta;
  106.     }
  107.     public void setHeaderIntegrazioneRichiesta(
  108.             HeaderIntegrazione headerIntegrazioneRichiesta) {
  109.         this.headerIntegrazioneRichiesta = headerIntegrazioneRichiesta;
  110.     }
  111.     public HeaderIntegrazione getHeaderIntegrazioneRisposta() {
  112.         return this.headerIntegrazioneRisposta;
  113.     }
  114.     public void setHeaderIntegrazioneRisposta(
  115.             HeaderIntegrazione headerIntegrazioneRisposta) {
  116.         this.headerIntegrazioneRisposta = headerIntegrazioneRisposta;
  117.     }
  118.     public String getIdMessageRequest() {
  119.         return this.idMessageRequest;
  120.     }
  121.     public void setIdMessageRequest(String idRequest) {
  122.         this.idMessageRequest = idRequest;
  123.     }
  124.     public IDSoggetto getIdentitaPdD() {
  125.         return this.identitaPdD;
  126.     }
  127.     public void setIdentitaPdD(IDSoggetto identitaPdD) {
  128.         this.identitaPdD = identitaPdD;
  129.     }
  130.     public Logger getLogCore() {
  131.         return this.logCore;
  132.     }
  133.     public void setLogCore(Logger logCore) {
  134.         this.logCore = logCore;
  135.     }
  136.     public MsgDiagnostico getMsgDiag() {
  137.         return this.msgDiag;
  138.     }
  139.     public void setMsgDiag(MsgDiagnostico msgDiag) {
  140.         this.msgDiag = msgDiag;
  141.     }
  142.     public GestoreMessaggi getMsgRequest() {
  143.         return this.msgRequest;
  144.     }
  145.     public void setMsgRequest(GestoreMessaggi msgRequest) {
  146.         this.msgRequest = msgRequest;
  147.     }
  148.     public boolean isOneWayVers11() {
  149.         return this.oneWayVers11;
  150.     }
  151.     public void setOneWayVers11(boolean oneWayVers11) {
  152.         this.oneWayVers11 = oneWayVers11;
  153.     }
  154.     public IOpenSPCoopState getOpenspcoopstate() {
  155.         return this.openspcoopstate;
  156.     }
  157.     public void setOpenspcoopstate(IOpenSPCoopState openspcoopstate) {
  158.         this.openspcoopstate = openspcoopstate;
  159.     }
  160.     public boolean isPortaStateless() {
  161.         return this.portaStateless;
  162.     }
  163.     public void setPortaStateless(boolean portaStateless) {
  164.         this.portaStateless = portaStateless;
  165.     }
  166.     public OpenSPCoop2Properties getPropertiesReader() {
  167.         return this.propertiesReader;
  168.     }
  169.     public void setPropertiesReader(OpenSPCoop2Properties propertiesReader) {
  170.         this.propertiesReader = propertiesReader;
  171.     }
  172.     public ProprietaErroreApplicativo getProprietaErroreAppl() {
  173.         return this.proprietaErroreAppl;
  174.     }
  175.     public void setProprietaErroreAppl(
  176.             ProprietaErroreApplicativo proprietaErroreAppl) {
  177.         this.proprietaErroreAppl = proprietaErroreAppl;
  178.     }
  179.     public RepositoryBuste getRepositoryBuste() {
  180.         return this.repositoryBuste;
  181.     }
  182.     public void setRepositoryBuste(RepositoryBuste repository) {
  183.         this.repositoryBuste = repository;
  184.     }
  185.     public String getServizioApplicativo() {
  186.         return this.servizioApplicativo;
  187.     }
  188.     public void setServizioApplicativo(String servizioApplicativo) {
  189.         this.servizioApplicativo = servizioApplicativo;
  190.     }
  191.     public String[] getTipiIntegrazionePD() {
  192.         return this.tipiIntegrazionePD;
  193.     }
  194.     public void setTipiIntegrazionePD(String[] tipiIntegrazionePD) {
  195.         this.tipiIntegrazionePD = tipiIntegrazionePD;
  196.     }
  197.     public boolean isRichiestaAsincronaSimmetricaStateless() {
  198.         return this.richiestaAsincronaSimmetricaStateless;
  199.     }
  200.     public void setRichiestaAsincronaSimmetricaStateless(
  201.             boolean richiestaAsincronaSimmetricaStateless) {
  202.         this.richiestaAsincronaSimmetricaStateless = richiestaAsincronaSimmetricaStateless;
  203.     }
  204.     public PortaDelegata getPortaDelegata() {
  205.         return this.portaDelegata;
  206.     }
  207.     public void setPortaDelegata(PortaDelegata portaDelegata) {
  208.         this.portaDelegata = portaDelegata;
  209.     }
  210.     public IDSoggetto getSoggettoMittente() {
  211.         return this.soggettoMittente;
  212.     }
  213.     public void setSoggettoMittente(IDSoggetto soggettoMittente) {
  214.         this.soggettoMittente = soggettoMittente;
  215.     }
  216.     public IDServizio getIdServizio() {
  217.         return this.idServizio;
  218.     }
  219.     public void setIdServizio(IDServizio idServizio) {
  220.         this.idServizio = idServizio;
  221.     }
  222.     public RegistroServiziManager getRegistroServiziReader() {
  223.         return this.registroServiziReader;
  224.     }
  225.     public void setRegistroServiziReader(
  226.             RegistroServiziManager registroServiziReader) {
  227.         this.registroServiziReader = registroServiziReader;
  228.     }
  229.     public ConfigurazionePdDManager getConfigurazionePdDReader() {
  230.         return this.configurazionePdDReader;
  231.     }
  232.     public void setConfigurazionePdDReader(
  233.             ConfigurazionePdDManager configurazionePdDReader) {
  234.         this.configurazionePdDReader = configurazionePdDReader;
  235.     }
  236. }