Interface IScopedVariableTranslationStorageService

All Superinterfaces:
IManagedService
All Known Implementing Classes:
ScopedVariableTranslationStorageService

public interface IScopedVariableTranslationStorageService extends IManagedService
The Interface for working with the scoped variable translation storage.
  • Method Details

    • putTranslation

      void putTranslation(String moduleName, String methodName, String translation, String variableName)
      Put translation to scoped variable translation storage.
      Parameters:
      moduleName - the module name, cannot be null
      methodName - the method name, cannot be null
      translation - the translation, cannot be null
      variableName - the variable name, cannot be null
    • hasMultipleTranslation

      boolean hasMultipleTranslation(String moduleName, String methodName, String translation, String excluded)
      Checks for multiple translation in scoped variable translation storage.
      Parameters:
      moduleName - the module name, cannot be null
      methodName - the method name, cannot be null
      translation - the translation, cannot be null
      excluded - excluding this name from the check, as it may appear multiple times, cannot be null
      Returns:
      true, if successful
    • clearScopes

      void clearScopes(String moduleName)
      Clear scopes.
      Parameters:
      moduleName - the module name, cannot be null