public class ParamDAO extends CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id>| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
DIRECTORY_TYPE_PARAMETER  | 
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 | 
|---|
ParamDAO(java.sql.Connection connection)  | 
ParamDAO(java.sql.Connection con,
        int userId)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
deleteParameter(int id)  | 
java.util.Map<java.lang.Integer,java.util.List<IdTitle>> | 
getListParamValuesMap()  | 
Parameter | 
getParameter(int id)  | 
java.util.List<ParameterHistory> | 
getParameterHistory(java.lang.String object,
                   Parameter parameter,
                   int id)  | 
java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> | 
getParameterIdsByGroupIds()  | 
void | 
getParameterList(SearchResult<Parameter> searchResult,
                java.lang.String objectType,
                int parameterId,
                java.lang.String filter,
                java.lang.String parameterType,
                int paramGroupId,
                java.util.Set<java.lang.Integer> parameterIdList)  | 
void | 
getParameterList(SearchResult<Parameter> searchResult,
                java.lang.String objectType,
                java.lang.String filter,
                int paramGroupId,
                java.util.Set<java.lang.Integer> parameterIdList)  | 
java.util.List<Parameter> | 
getParameterList(java.lang.String objectType,
                int paramGroupId)  | 
java.util.List<Parameter> | 
getParameterList(java.lang.String objectType,
                int paramGroupId,
                java.util.Set<java.lang.Integer> parameterIdList)  | 
java.util.Map<java.lang.String,java.util.List<Parameter>> | 
getParameterMapByObjectType()  | 
java.util.Map<java.lang.Integer,IdTitleTree> | 
getTreeParamValuesMap()  | 
void | 
updateParameter(Parameter parameter)  | 
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, updateIdspublic static final java.lang.String DIRECTORY_TYPE_PARAMETER
public ParamDAO(java.sql.Connection connection)
public ParamDAO(java.sql.Connection con,
                int userId)
public Parameter getParameter(int id) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Map<java.lang.Integer,IdTitleTree> getTreeParamValuesMap() throws java.sql.SQLException
java.sql.SQLExceptionpublic void updateParameter(Parameter parameter) throws java.sql.SQLException
java.sql.SQLExceptionpublic void deleteParameter(int id)
                     throws BGException
BGExceptionpublic java.util.Map<java.lang.String,java.util.List<Parameter>> getParameterMapByObjectType() throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> getParameterIdsByGroupIds()
                                                                                            throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Map<java.lang.Integer,java.util.List<IdTitle>> getListParamValuesMap() throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<Parameter> getParameterList(java.lang.String objectType, int paramGroupId) throws java.sql.SQLException
java.sql.SQLExceptionpublic void getParameterList(SearchResult<Parameter> searchResult, java.lang.String objectType, java.lang.String filter, int paramGroupId, java.util.Set<java.lang.Integer> parameterIdList) throws BGException
BGExceptionpublic void getParameterList(SearchResult<Parameter> searchResult, java.lang.String objectType, int parameterId, java.lang.String filter, java.lang.String parameterType, int paramGroupId, java.util.Set<java.lang.Integer> parameterIdList) throws BGException
BGExceptionpublic java.util.List<Parameter> getParameterList(java.lang.String objectType, int paramGroupId, java.util.Set<java.lang.Integer> parameterIdList) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<ParameterHistory> getParameterHistory(java.lang.String object, Parameter parameter, int id) throws java.sql.SQLException
java.sql.SQLException