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 Summary
Fields Modifier and Type Field Description protected CamundaBpmPropertiescamundaBpmPropertiesprotected StringdefaultHistoryLevelprotected List<org.camunda.bpm.engine.impl.history.HistoryLevel>historyLevelsprotected booleanignoreDataAccessExceptionprotected org.springframework.jdbc.core.JdbcTemplatejdbcTemplateprotected static StringSQL_TEMPLATE
-
Constructor Summary
Constructors Constructor Description HistoryLevelDeterminatorJdbcTemplateImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCustomHistoryLevels(Collection<org.camunda.bpm.engine.impl.history.HistoryLevel> customHistoryLevels)voidafterPropertiesSet()static HistoryLevelDeterminatorcreateHistoryLevelDeterminator(CamundaBpmProperties camundaBpmProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)StringdetermineHistoryLevel()CamundaBpmPropertiesgetCamundaBpmProperties()StringgetDefaultHistoryLevel()protected StringgetHistoryLevelFrom(Integer historyLevelFromDb)org.springframework.jdbc.core.JdbcTemplategetJdbcTemplate()protected StringgetSql()booleanisIgnoreDataAccessException()voidsetCamundaBpmProperties(CamundaBpmProperties camundaBpmProperties)voidsetDefaultHistoryLevel(String defaultHistoryLevel)voidsetIgnoreDataAccessException(boolean ignoreDataAccessException)voidsetJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
-
-
Field Detail
-
SQL_TEMPLATE
protected static final String SQL_TEMPLATE
- See Also:
- Constant Field Values
-
historyLevels
protected final List<org.camunda.bpm.engine.impl.history.HistoryLevel> historyLevels
-
defaultHistoryLevel
protected String defaultHistoryLevel
-
jdbcTemplate
protected org.springframework.jdbc.core.JdbcTemplate jdbcTemplate
-
ignoreDataAccessException
protected boolean ignoreDataAccessException
-
camundaBpmProperties
protected CamundaBpmProperties camundaBpmProperties
-
-
Method Detail
-
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:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
determineHistoryLevel
public String determineHistoryLevel()
- Specified by:
determineHistoryLevelin interfaceHistoryLevelDeterminator
-
getSql
protected String getSql()
-
addCustomHistoryLevels
public void addCustomHistoryLevels(Collection<org.camunda.bpm.engine.impl.history.HistoryLevel> customHistoryLevels)
-
-