public class HistoryLevelDeterminatorJdbcTemplateImpl extends Object implements HistoryLevelDeterminator, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected CamundaBpmProperties |
camundaBpmProperties |
protected String |
defaultHistoryLevel |
protected List<org.camunda.bpm.engine.impl.history.HistoryLevel> |
historyLevels |
protected boolean |
ignoreDataAccessException |
protected org.springframework.jdbc.core.JdbcTemplate |
jdbcTemplate |
protected static String |
SQL_TEMPLATE |
| Constructor and Description |
|---|
HistoryLevelDeterminatorJdbcTemplateImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomHistoryLevels(Collection<org.camunda.bpm.engine.impl.history.HistoryLevel> customHistoryLevels) |
void |
afterPropertiesSet() |
static HistoryLevelDeterminator |
createHistoryLevelDeterminator(CamundaBpmProperties camundaBpmProperties,
org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
String |
determineHistoryLevel() |
CamundaBpmProperties |
getCamundaBpmProperties() |
String |
getDefaultHistoryLevel() |
protected String |
getHistoryLevelFrom(Integer historyLevelFromDb) |
org.springframework.jdbc.core.JdbcTemplate |
getJdbcTemplate() |
protected String |
getSql() |
boolean |
isIgnoreDataAccessException() |
void |
setCamundaBpmProperties(CamundaBpmProperties camundaBpmProperties) |
void |
setDefaultHistoryLevel(String defaultHistoryLevel) |
void |
setIgnoreDataAccessException(boolean ignoreDataAccessException) |
void |
setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
protected static final String SQL_TEMPLATE
protected final List<org.camunda.bpm.engine.impl.history.HistoryLevel> historyLevels
protected String defaultHistoryLevel
protected org.springframework.jdbc.core.JdbcTemplate jdbcTemplate
protected boolean ignoreDataAccessException
protected CamundaBpmProperties camundaBpmProperties
public HistoryLevelDeterminatorJdbcTemplateImpl()
public static HistoryLevelDeterminator createHistoryLevelDeterminator(CamundaBpmProperties camundaBpmProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public String getDefaultHistoryLevel()
public void setDefaultHistoryLevel(String defaultHistoryLevel)
public org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public boolean isIgnoreDataAccessException()
public void setIgnoreDataAccessException(boolean ignoreDataAccessException)
public CamundaBpmProperties getCamundaBpmProperties()
public void setCamundaBpmProperties(CamundaBpmProperties camundaBpmProperties)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic String determineHistoryLevel()
determineHistoryLevel in interface HistoryLevelDeterminatorprotected String getSql()
public void addCustomHistoryLevels(Collection<org.camunda.bpm.engine.impl.history.HistoryLevel> customHistoryLevels)
Copyright © 2015–2021 camunda services GmbH. All rights reserved.