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
FieldsModifier and TypeFieldDescriptionprotected CamundaBpmPropertiesprotected Stringprotected final List<HistoryLevel>protected booleanprotected org.springframework.jdbc.core.JdbcTemplateprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomHistoryLevels(Collection<HistoryLevel> customHistoryLevels) voidstatic HistoryLevelDeterminatorcreateHistoryLevelDeterminator(CamundaBpmProperties camundaBpmProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) protected StringgetHistoryLevelFrom(Integer historyLevelFromDb) org.springframework.jdbc.core.JdbcTemplateprotected StringgetSql()booleanvoidsetCamundaBpmProperties(CamundaBpmProperties camundaBpmProperties) voidsetDefaultHistoryLevel(String defaultHistoryLevel) voidsetIgnoreDataAccessException(boolean ignoreDataAccessException) voidsetJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
-
Field Details
-
SQL_TEMPLATE
- See Also:
-
historyLevels
-
defaultHistoryLevel
-
jdbcTemplate
protected org.springframework.jdbc.core.JdbcTemplate jdbcTemplate -
ignoreDataAccessException
protected boolean ignoreDataAccessException -
camundaBpmProperties
-
-
Constructor Details
-
HistoryLevelDeterminatorJdbcTemplateImpl
public HistoryLevelDeterminatorJdbcTemplateImpl()
-
-
Method Details
-
createHistoryLevelDeterminator
public static HistoryLevelDeterminator createHistoryLevelDeterminator(CamundaBpmProperties camundaBpmProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) -
getDefaultHistoryLevel
-
setDefaultHistoryLevel
-
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
-
setCamundaBpmProperties
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
determineHistoryLevel
- Specified by:
determineHistoryLevelin interfaceHistoryLevelDeterminator
-
getSql
-
getHistoryLevelFrom
-
addCustomHistoryLevels
-