Package org.jumpmind.symmetric.service
Interface IParameterService
- All Known Implementing Classes:
MockParameterService
,ParameterService
public interface IParameterService
Get and set application wide configuration information.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteParameter
(String key) void
deleteParameter
(String externalId, String nodeGroupId, String key) void
deleteParameterWithUpdate
(String externalId, String nodeGroupId, String key) getDatabaseParameters
(String externalId, String nodeGroupId) getDatabaseParametersFor
(String paramKey) getDecimal
(String key) getDecimal
(String key, BigDecimal defaulVal) Get the external id for this instanceint
int
long
long
Get the group id for this instanceProvide the url used to register at to get initial configuration informationProvide information about the URL used to contact this symmetric instanceboolean
boolean
boolean
boolean
boolean
isRemoteNodeRegistrationServer
(Node remoteNode) boolean
void
void
saveParameter
(String key, Object paramValue, String lastUpdateBy) void
saveParameter
(String externalId, String nodeGroupId, String key, Object paramValue, String lastUpdateBy) void
saveParameters
(String externalId, String nodeGroupId, Map<String, Object> parameters, String lastUpdateBy)
-
Method Details
-
getDecimal
-
getDecimal
-
is
-
is
-
getInt
-
getInt
-
getLong
-
getLong
-
getString
-
getString
-
saveParameter
-
saveParameter
-
saveParameters
-
deleteParameter
-
deleteParameter
-
deleteParameterWithUpdate
-
deleteAllParameters
void deleteAllParameters() -
rereadParameters
void rereadParameters() -
getLastTimeParameterWereCached
Date getLastTimeParameterWereCached() -
getDatabaseParametersForAll
List<DatabaseParameter> getDatabaseParametersForAll() -
getDatabaseParametersFor
-
getDatabaseParameters
-
getOfflineNodeParameters
List<DatabaseParameter> getOfflineNodeParameters() -
getAllParameters
TypedProperties getAllParameters() -
isRegistrationServer
boolean isRegistrationServer() -
isRemoteNodeRegistrationServer
-
refreshFromDatabase
boolean refreshFromDatabase() -
getNodeGroupId
String getNodeGroupId()Get the group id for this instance -
getExternalId
String getExternalId()Get the external id for this instance -
getReplacementValues
-
getRegistrationUrl
String getRegistrationUrl()Provide the url used to register at to get initial configuration information -
getSyncUrl
String getSyncUrl()Provide information about the URL used to contact this symmetric instance -
getTablePrefix
String getTablePrefix() -
getEngineName
String getEngineName() -
getTempDirectory
String getTempDirectory() -
hasDatabaseBeenSetup
boolean hasDatabaseBeenSetup()
-