Package es.caib.seycon.ng.servei
Interface ConfiguracioService
-
public interface ConfiguracioService
Service ConfiguracioService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Configuracio
create(Configuracio configuracio)
Operation createvoid
delete(Configuracio configuracio)
Operation deletevoid
deleteBlob(String name)
Operation deleteBlobCollection<Configuracio>
findConfiguracioByFiltre(String codi, String valor, String descripcio, String codiXarxa)
Operation findConfiguracioByFiltreConfiguracio
findMasterParameterByNameAndNetwork(String paramter, String networkName)
Operation findMasterParameterByNameAndNetworkConfiguracio
findParametreByCodiAndCodiXarxa(String codiParametre, String codiXarxa)
Operation findParametreByCodiAndCodiXarxaString
findTenantParameter(String tenant, String parameter)
Operation findTenantParameterbyte[]
getBlob(String name)
Operation getBlobString
getBlobVersion(String name)
Operation getBlobVersionCollection<Configuracio>
getParametres()
Operation getParametresConfiguracio
update(Configuracio configuracio)
Operation updatevoid
updateBlob(String name, byte[] data)
Operation updateBlobvoid
updateBlob(String name, byte[] data, String version)
Operation updateBlob
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBlob
byte[] getBlob(String name) throws InternalErrorException, InternalErrorException
Operation getBlob- Parameters:
name
-- Returns:
- Throws:
InternalErrorException
-
create
Configuracio create(Configuracio configuracio) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
configuracio
-- Returns:
- Throws:
InternalErrorException
-
findMasterParameterByNameAndNetwork
Configuracio findMasterParameterByNameAndNetwork(String paramter, String networkName) throws InternalErrorException, InternalErrorException
Operation findMasterParameterByNameAndNetwork- Parameters:
paramter
-networkName
-- Returns:
- Throws:
InternalErrorException
-
findParametreByCodiAndCodiXarxa
Configuracio findParametreByCodiAndCodiXarxa(String codiParametre, String codiXarxa) throws InternalErrorException, InternalErrorException
Operation findParametreByCodiAndCodiXarxa- Parameters:
codiParametre
-codiXarxa
-- Returns:
- Throws:
InternalErrorException
-
update
Configuracio update(Configuracio configuracio) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
configuracio
-- Returns:
- Throws:
InternalErrorException
-
findTenantParameter
String findTenantParameter(String tenant, String parameter) throws InternalErrorException, InternalErrorException
Operation findTenantParameter- Parameters:
tenant
-parameter
-- Returns:
- Throws:
InternalErrorException
-
getBlobVersion
String getBlobVersion(String name) throws InternalErrorException, InternalErrorException
Operation getBlobVersion- Parameters:
name
-- Returns:
- Throws:
InternalErrorException
-
findConfiguracioByFiltre
Collection<Configuracio> findConfiguracioByFiltre(String codi, String valor, String descripcio, String codiXarxa) throws InternalErrorException, InternalErrorException
Operation findConfiguracioByFiltre- Parameters:
codi
-valor
-descripcio
-codiXarxa
-- Returns:
- Throws:
InternalErrorException
-
getParametres
Collection<Configuracio> getParametres() throws InternalErrorException, InternalErrorException
Operation getParametres- Returns:
- Throws:
InternalErrorException
-
delete
void delete(Configuracio configuracio) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
configuracio
-- Throws:
InternalErrorException
-
deleteBlob
void deleteBlob(String name) throws InternalErrorException, InternalErrorException
Operation deleteBlob- Parameters:
name
-- Throws:
InternalErrorException
-
updateBlob
void updateBlob(String name, byte[] data) throws InternalErrorException, InternalErrorException
Operation updateBlob- Parameters:
name
-data
-- Throws:
InternalErrorException
-
updateBlob
void updateBlob(String name, byte[] data, String version) throws InternalErrorException, InternalErrorException
Operation updateBlob- Parameters:
name
-data
-version
-- Throws:
InternalErrorException
-
-