Package es.caib.seycon.ng.servei
Class ConfiguracioServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.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
see es.caib.seycon.ng.servei.ConfiguracioServicees.caib.seycon.ng.servei.ConfiguracioService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description ConfiguracioServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description es.caib.seycon.ng.comu.Configuraciocreate(es.caib.seycon.ng.comu.Configuracio configuracio)voiddelete(es.caib.seycon.ng.comu.Configuracio configuracio)voiddeleteBlob(String name)Collection<es.caib.seycon.ng.comu.Configuracio>findConfiguracioByFiltre(String codi, String valor, String descripcio, String codiXarxa)es.caib.seycon.ng.comu.ConfiguraciofindMasterParameterByNameAndNetwork(String paramter, String networkName)es.caib.seycon.ng.comu.ConfiguraciofindParametreByCodiAndCodiXarxa(String codiParametre, String codiXarxa)StringfindTenantParameter(String tenant, String parameter)byte[]getBlob(String name)StringgetBlobVersion(String name)com.soffid.iam.service.ConfigurationServicegetConfigurationService()Gets reference toconfigurationService.Collection<es.caib.seycon.ng.comu.Configuracio>getParametres()protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.voidsetConfigurationService(com.soffid.iam.service.ConfigurationService configurationService)Sets reference toconfigurationService.es.caib.seycon.ng.comu.Configuracioupdate(es.caib.seycon.ng.comu.Configuracio configuracio)voidupdateBlob(String name, byte[] data)voidupdateBlob(String name, byte[] data, String version)
-
-
-
Method Detail
-
setConfigurationService
public void setConfigurationService(com.soffid.iam.service.ConfigurationService configurationService)
Sets reference toconfigurationService.
-
getConfigurationService
public com.soffid.iam.service.ConfigurationService getConfigurationService()
Gets reference toconfigurationService.
-
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:
getBlobin interfacees.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:
createin interfacees.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:
findMasterParameterByNameAndNetworkin interfacees.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:
findParametreByCodiAndCodiXarxain interfacees.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:
updatein interfacees.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:
findTenantParameterin interfacees.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:
getBlobVersionin interfacees.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:
findConfiguracioByFiltrein interfacees.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:
getParametresin interfacees.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:
deletein interfacees.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:
deleteBlobin interfacees.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:
updateBlobin interfacees.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:
updateBlobin interfacees.caib.seycon.ng.servei.ConfiguracioService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-