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<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<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<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.InitializingBean
Exception
public String determineHistoryLevel()
determineHistoryLevel
in interface HistoryLevelDeterminator
protected String getSql()
public void addCustomHistoryLevels(Collection<HistoryLevel> customHistoryLevels)
Copyright © 2021. All rights reserved.