Class ConfigurationManager

java.lang.Object
org.finos.fluxnova.bpm.engine.impl.persistence.AbstractManager
org.finos.fluxnova.bpm.engine.impl.persistence.entity.ConfigurationManager
All Implemented Interfaces:
Session

public class ConfigurationManager extends AbstractManager
  • Constructor Details

    • ConfigurationManager

      public ConfigurationManager()
  • Method Details

    • insertConfiguration

      public void insertConfiguration(ConfigurationEntity configuration)
    • findConfigurationById

      public ConfigurationEntity findConfigurationById(String configurationId)
    • findConfigurations

      public List<Configuration> findConfigurations(String tenantId, boolean includeInactive)
    • flushConfiguration

      public void flushConfiguration(ConfigurationEntity configuration)
      Immediately writes pending changes of the given configuration to the database. Required when an entry must be deactivated before a new active entry is inserted, because the engine otherwise flushes inserts before updates.
    • findMaxConfigurationVersion

      public int findMaxConfigurationVersion(String configKey, String tenantId)
      Returns the highest version stored for the given key and scope, or 0 if none exists. A null tenant id addresses the global scope.
    • existsActiveConfiguration

      public boolean existsActiveConfiguration(String configKey, String tenantId)
      Checks whether an Configuration.STATUS_ACTIVE entry already exists for the given scope. A null tenant id addresses the global scope.