Package com.soffid.iam.service
Interface ConfigurationService
-
public interface ConfigurationServiceService ConfigurationService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Configurationcreate(Configuration configuracio)Operation createvoiddelete(Configuration configuracio)Operation deletevoiddeleteBlob(String name)Operation deleteBlobCollection<Configuration>findConfigurationByFilter(String codi, String valor, String descripcio, String codiXarxa)Operation findConfigurationByFilterConfigurationfindMasterParameterByNameAndNetwork(String paramter, String networkName)Operation findMasterParameterByNameAndNetworkConfigurationfindParameterByNameAndNetworkName(String codiParametre, String codiXarxa)Operation findParameterByNameAndNetworkNameStringfindTenantParameter(String tenant, String parameter)Operation findTenantParameterbyte[]getBlob(String name)Operation getBlobStringgetBlobVersion(String name)Operation getBlobVersionCollection<Configuration>getParameters()Operation getParametersConfigurationupdate(Configuration configuracio)Operation updatevoidupdateBlob(String name, byte[] data)Operation updateBlobvoidupdateBlob(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
Configuration create(Configuration configuracio) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
configuracio-- Returns:
- Throws:
InternalErrorException
-
findMasterParameterByNameAndNetwork
Configuration findMasterParameterByNameAndNetwork(String paramter, String networkName) throws InternalErrorException, InternalErrorException
Operation findMasterParameterByNameAndNetwork- Parameters:
paramter-networkName-- Returns:
- Throws:
InternalErrorException
-
findParameterByNameAndNetworkName
Configuration findParameterByNameAndNetworkName(String codiParametre, String codiXarxa) throws InternalErrorException, InternalErrorException
Operation findParameterByNameAndNetworkName- Parameters:
codiParametre-codiXarxa-- Returns:
- Throws:
InternalErrorException
-
update
Configuration update(Configuration 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
-
findConfigurationByFilter
Collection<Configuration> findConfigurationByFilter(String codi, String valor, String descripcio, String codiXarxa) throws InternalErrorException, InternalErrorException
Operation findConfigurationByFilter- Parameters:
codi-valor-descripcio-codiXarxa-- Returns:
- Throws:
InternalErrorException
-
getParameters
Collection<Configuration> getParameters() throws InternalErrorException, InternalErrorException
Operation getParameters- Returns:
- Throws:
InternalErrorException
-
delete
void delete(Configuration 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
-
-