Package com.soffid.iam.service
Interface ConfigurationService
-
public interface ConfigurationService
Service ConfigurationService
-
-
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 Configuration
create(Configuration configuracio)
Operation createvoid
delete(Configuration configuracio)
Operation deletevoid
deleteBlob(String name)
Operation deleteBlobCollection<Configuration>
findConfigurationByFilter(String codi, String valor, String descripcio, String codiXarxa)
Operation findConfigurationByFilterConfiguration
findMasterParameterByNameAndNetwork(String paramter, String networkName)
Operation findMasterParameterByNameAndNetworkConfiguration
findParameterByNameAndNetworkName(String codiParametre, String codiXarxa)
Operation findParameterByNameAndNetworkNameString
findTenantParameter(String tenant, String parameter)
Operation findTenantParameterbyte[]
getBlob(String name)
Operation getBlobString
getBlobVersion(String name)
Operation getBlobVersionCollection<Configuration>
getParameters()
Operation getParametersConfiguration
update(Configuration 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
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
-
-