Package ru.bgcrm.dao.process
Class SavedFilterDAO
- java.lang.Object
-
- ru.bgcrm.dao.CommonDAO
-
- ru.bgcrm.dao.process.SavedFilterDAO
-
public class SavedFilterDAO extends CommonDAO
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ru.bgcrm.dao.CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id>
-
-
Field Summary
-
Fields inherited from class ru.bgcrm.dao.CommonDAO
con, log, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_INSERT_IGNORE, SQL_LEFT_JOIN, SQL_LIMIT, SQL_ON_DUP_KEY_UPDATE, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE
-
-
Constructor Summary
Constructors Constructor Description SavedFilterDAO(java.sql.Connection con)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteFilter(int id)
java.util.ArrayList<SavedFilter>
getFilters(int queueId)
java.lang.String
getFilterUrlById(int id)
void
updateFilter(SavedCommonFiltersConfig commonConfig, int queueId)
-
Methods inherited from class ru.bgcrm.dao.CommonDAO
deleteById, getById, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getLikePatternEnd, getLikePatternStart, getLikePatternSub, getMySQLLimit, getPageLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, update, updateColumn, updateIds, updateIds, updateOrInsert
-
-
-
-
Method Detail
-
getFilterUrlById
public java.lang.String getFilterUrlById(int id) throws BGException
- Throws:
BGException
-
getFilters
public java.util.ArrayList<SavedFilter> getFilters(int queueId) throws BGException
- Throws:
BGException
-
deleteFilter
public void deleteFilter(int id) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
updateFilter
public void updateFilter(SavedCommonFiltersConfig commonConfig, int queueId) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-