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 TypeMethodDescriptionvoidvoiddeleteParameter(String key) voiddeleteParameter(String externalId, String nodeGroupId, String key) voiddeleteParameterWithUpdate(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 instanceintintlonglongGet 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 instancebooleanbooleanbooleanbooleanbooleanisRemoteNodeRegistrationServer(Node remoteNode) booleanvoidvoidsaveParameter(String key, Object paramValue, String lastUpdateBy) voidsaveParameter(String externalId, String nodeGroupId, String key, Object paramValue, String lastUpdateBy) voidsaveParameters(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()
-