Class HistoryLevelDeterminatorJdbcTemplateImpl

java.lang.Object
org.camunda.bpm.spring.boot.starter.jdbc.HistoryLevelDeterminatorJdbcTemplateImpl
All Implemented Interfaces:
HistoryLevelDeterminator, org.springframework.beans.factory.InitializingBean

public class HistoryLevelDeterminatorJdbcTemplateImpl extends Object implements HistoryLevelDeterminator, org.springframework.beans.factory.InitializingBean
  • Field Details

    • SQL_TEMPLATE

      protected static final String SQL_TEMPLATE
      See Also:
    • historyLevels

      protected final List<HistoryLevel> historyLevels
    • defaultHistoryLevel

      protected String defaultHistoryLevel
    • jdbcTemplate

      protected org.springframework.jdbc.core.JdbcTemplate jdbcTemplate
    • ignoreDataAccessException

      protected boolean ignoreDataAccessException
    • camundaBpmProperties

      protected CamundaBpmProperties camundaBpmProperties
  • Constructor Details

    • HistoryLevelDeterminatorJdbcTemplateImpl

      public HistoryLevelDeterminatorJdbcTemplateImpl()
  • Method Details

    • createHistoryLevelDeterminator

      public static HistoryLevelDeterminator createHistoryLevelDeterminator(CamundaBpmProperties camundaBpmProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
    • getDefaultHistoryLevel

      public String getDefaultHistoryLevel()
    • setDefaultHistoryLevel

      public void setDefaultHistoryLevel(String defaultHistoryLevel)
    • getJdbcTemplate

      public org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
    • setJdbcTemplate

      public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
    • isIgnoreDataAccessException

      public boolean isIgnoreDataAccessException()
    • setIgnoreDataAccessException

      public void setIgnoreDataAccessException(boolean ignoreDataAccessException)
    • getCamundaBpmProperties

      public CamundaBpmProperties getCamundaBpmProperties()
    • setCamundaBpmProperties

      public void setCamundaBpmProperties(CamundaBpmProperties camundaBpmProperties)
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • determineHistoryLevel

      public String determineHistoryLevel()
      Specified by:
      determineHistoryLevel in interface HistoryLevelDeterminator
    • getSql

      protected String getSql()
    • getHistoryLevelFrom

      protected String getHistoryLevelFrom(Integer historyLevelFromDb)
    • addCustomHistoryLevels

      public void addCustomHistoryLevels(Collection<HistoryLevel> customHistoryLevels)