Package ru.bgcrm.dao
Class ParamDAO
java.lang.Object
ru.bgcrm.dao.CommonDAO
ru.bgcrm.dao.ParamDAO
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bgcrm.dao.CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id> -
Field Summary
FieldsFields inherited from class ru.bgcrm.dao.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_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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteParameter(int id) getParameter(int id) getParameterHistory(String object, Parameter parameter, int id) getParameterList(String objectType, int paramGroupId) getParameterList(String objectType, int paramGroupId, Set<Integer> parameterIdList) voidgetParameterList(SearchResult<Parameter> searchResult, String objectType, int parameterId, String filter, String parameterType, int paramGroupId, Set<Integer> parameterIdList) voidgetParameterList(SearchResult<Parameter> searchResult, String objectType, String filter, int paramGroupId, Set<Integer> parameterIdList) voidupdateParameter(Parameter parameter) Methods inherited from class ru.bgcrm.dao.CommonDAO
buildPlaceholders, deleteById, execute, execute, execute, executeBatch, executeInsert, executeUpdate, getById, getFoundRows, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getLikePatternEnd, getLikePatternStart, getLikePatternSub, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, update, updateColumn, updateIds, updateIds
-
Field Details
-
DIRECTORY_TYPE_PARAMETER
- See Also:
-
-
Constructor Details
-
ParamDAO
-
ParamDAO
-
-
Method Details
-
getParameter
- Throws:
SQLException
-
getTreeParamValuesMap
- Throws:
SQLException
-
updateParameter
- Throws:
SQLException
-
deleteParameter
- Throws:
BGException
-
getParameterMapByObjectType
- Throws:
SQLException
-
getParameterIdsByGroupIds
- Throws:
SQLException
-
getListParamValuesMap
- Throws:
SQLException
-
getParameterList
- Throws:
SQLException
-
getParameterList
public void getParameterList(SearchResult<Parameter> searchResult, String objectType, String filter, int paramGroupId, Set<Integer> parameterIdList) throws BGException - Throws:
BGException
-
getParameterList
public void getParameterList(SearchResult<Parameter> searchResult, String objectType, int parameterId, String filter, String parameterType, int paramGroupId, Set<Integer> parameterIdList) throws BGException - Throws:
BGException
-
getParameterList
public List<Parameter> getParameterList(String objectType, int paramGroupId, Set<Integer> parameterIdList) throws SQLException - Throws:
SQLException
-
getParameterHistory
public List<ParameterHistory> getParameterHistory(String object, Parameter parameter, int id) throws SQLException - Throws:
SQLException
-