public class PatternDAO extends CommonDAO
con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, log, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_LEFT_JOIN, SQL_LIMIT, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE
Constructor and Description |
---|
PatternDAO(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
deletePattern(int id) |
Pattern |
getPattern(int id) |
java.util.List<Pattern> |
getPatternList(java.lang.String object) |
void |
updatePattern(Pattern pattern) |
addLikeSql, convertDateToSqlDate, convertDateToTimestamp, deleteById, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, updateColumn, updateIds, updateIds
public java.util.List<Pattern> getPatternList(java.lang.String object) throws java.sql.SQLException
java.sql.SQLException
public Pattern getPattern(int id) throws java.sql.SQLException
java.sql.SQLException
public void updatePattern(Pattern pattern) throws java.sql.SQLException
java.sql.SQLException
public void deletePattern(int id) throws BGException
BGException