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
Modifier and TypeFieldDescriptionprotected CamundaBpmProperties
protected String
protected final List<HistoryLevel>
protected boolean
protected org.springframework.jdbc.core.JdbcTemplate
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustomHistoryLevels
(Collection<HistoryLevel> customHistoryLevels) void
static HistoryLevelDeterminator
createHistoryLevelDeterminator
(CamundaBpmProperties camundaBpmProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) protected String
getHistoryLevelFrom
(Integer historyLevelFromDb) org.springframework.jdbc.core.JdbcTemplate
protected String
getSql()
boolean
void
setCamundaBpmProperties
(CamundaBpmProperties camundaBpmProperties) void
setDefaultHistoryLevel
(String defaultHistoryLevel) void
setIgnoreDataAccessException
(boolean ignoreDataAccessException) void
setJdbcTemplate
(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:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
determineHistoryLevel
- Specified by:
determineHistoryLevel
in interfaceHistoryLevelDeterminator
-
getSql
-
getHistoryLevelFrom
-
addCustomHistoryLevels
-