Class ConfiguracioServiceBaseProxy

  • All Implemented Interfaces:
    es.caib.seycon.ng.servei.ConfiguracioService

    public class ConfiguracioServiceBaseProxy
    extends Object
    implements es.caib.seycon.ng.servei.ConfiguracioService

    Spring Service base class for es.caib.seycon.ng.servei.ConfiguracioService, provides access to all services and entities referenced by this service.

    see es.caib.seycon.ng.servei.ConfiguracioService
    • Constructor Detail

      • ConfiguracioServiceBaseProxy

        public ConfiguracioServiceBaseProxy()
    • Method Detail

      • setConfigurationService

        public void setConfigurationService​(com.soffid.iam.service.ConfigurationService configurationService)
        Sets reference to configurationService.
      • getConfigurationService

        public com.soffid.iam.service.ConfigurationService getConfigurationService()
        Gets reference to configurationService.
      • getBlob

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public byte[] getBlob​(String name)
                       throws es.caib.seycon.ng.exception.InternalErrorException,
                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getBlob in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Configuracio create​(es.caib.seycon.ng.comu.Configuracio configuracio)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findMasterParameterByNameAndNetwork

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Configuracio findMasterParameterByNameAndNetwork​(String paramter,
                                                                                       String networkName)
                                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findMasterParameterByNameAndNetwork in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findParametreByCodiAndCodiXarxa

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Configuracio findParametreByCodiAndCodiXarxa​(String codiParametre,
                                                                                   String codiXarxa)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findParametreByCodiAndCodiXarxa in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public es.caib.seycon.ng.comu.Configuracio update​(es.caib.seycon.ng.comu.Configuracio configuracio)
                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findTenantParameter

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       readOnly=true)
        public String findTenantParameter​(String tenant,
                                          String parameter)
                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findTenantParameter in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getBlobVersion

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public String getBlobVersion​(String name)
                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getBlobVersion in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findConfiguracioByFiltre

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Configuracio> findConfiguracioByFiltre​(String codi,
                                                                                        String valor,
                                                                                        String descripcio,
                                                                                        String codiXarxa)
                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findConfiguracioByFiltre in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getParametres

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public Collection<es.caib.seycon.ng.comu.Configuracio> getParametres()
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getParametres in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void delete​(es.caib.seycon.ng.comu.Configuracio configuracio)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • deleteBlob

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void deleteBlob​(String name)
                        throws es.caib.seycon.ng.exception.InternalErrorException,
                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deleteBlob in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateBlob

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void updateBlob​(String name,
                               byte[] data)
                        throws es.caib.seycon.ng.exception.InternalErrorException,
                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateBlob in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateBlob

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        public void updateBlob​(String name,
                               byte[] data,
                               String version)
                        throws es.caib.seycon.ng.exception.InternalErrorException,
                               es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateBlob in interface es.caib.seycon.ng.servei.ConfiguracioService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getPrincipal

        protected Principal getPrincipal()
        Gets the current principal if one has been set, otherwise returns null.
        Returns:
        the current principal