public class ConfigHistoryDAO extends CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TABLE_CONFIG |
con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, log, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_INSERT_IGNORE, SQL_LEFT_JOIN, SQL_LEFT_OUTER_JOIN, SQL_LIMIT, SQL_ON_DUP_KEY_UPDATE, SQL_OR, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE
Constructor and Description |
---|
ConfigHistoryDAO(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
deleteFirstConfigHistory(int entityId,
java.lang.String entityType) |
java.lang.String |
getConfigByConfigHistoryId(int id) |
java.util.List<ConfigHistory> |
getConfigHistoryList(int entityId,
java.lang.String entityType) |
int |
getConfigHistoryListSize(int entityId,
java.lang.String entityType) |
void |
updateConfigHistory(ConfigHistory configHistory) |
deleteById, execute, execute, execute, executeInsert, executeUpdate, getById, getFoundRows, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getLikePatternEnd, getLikePatternStart, getLikePatternSub, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, update, updateColumn, updateIds, updateIds
public static final java.lang.String TABLE_CONFIG
public java.util.List<ConfigHistory> getConfigHistoryList(int entityId, java.lang.String entityType)
public java.lang.String getConfigByConfigHistoryId(int id)
public void updateConfigHistory(ConfigHistory configHistory)
public int getConfigHistoryListSize(int entityId, java.lang.String entityType)
public void deleteFirstConfigHistory(int entityId, java.lang.String entityType)