Class HistoryLevelDeterminatorJdbcTemplateImpl
java.lang.Object
org.operaton.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 Stringprotected final List<HistoryLevel> protected booleanprotected org.springframework.jdbc.core.JdbcTemplateprotected OperatonBpmPropertiesprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomHistoryLevels(Collection<HistoryLevel> customHistoryLevels) voidstatic HistoryLevelDeterminatorcreateHistoryLevelDeterminator(OperatonBpmProperties operatonBpmProperties, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) protected StringgetHistoryLevelFrom(Integer historyLevelFromDb) org.springframework.jdbc.core.JdbcTemplateprotected StringgetSql()booleanvoidsetDefaultHistoryLevel(String defaultHistoryLevel) voidsetIgnoreDataAccessException(boolean ignoreDataAccessException) voidsetJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) voidsetOperatonBpmProperties(OperatonBpmProperties operatonBpmProperties)
-
Field Details
-
SQL_TEMPLATE
- See Also:
-
historyLevels
-
defaultHistoryLevel
-
jdbcTemplate
protected org.springframework.jdbc.core.JdbcTemplate jdbcTemplate -
ignoreDataAccessException
protected boolean ignoreDataAccessException -
operatonBpmProperties
-
-
Constructor Details
-
HistoryLevelDeterminatorJdbcTemplateImpl
public HistoryLevelDeterminatorJdbcTemplateImpl()
-
-
Method Details
-
createHistoryLevelDeterminator
public static HistoryLevelDeterminator createHistoryLevelDeterminator(OperatonBpmProperties operatonBpmProperties, 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) -
getOperatonBpmProperties
-
setOperatonBpmProperties
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
determineHistoryLevel
- Specified by:
determineHistoryLevelin interfaceHistoryLevelDeterminator
-
getSql
-
getHistoryLevelFrom
-
addCustomHistoryLevels
-