Class ParameterJdbcDao
java.lang.Object
pl.decerto.hyperon.runtime.dao.BaseDao
pl.decerto.hyperon.runtime.dao.parameter.ParameterJdbcDao
- Author:
- przemek hertel
-
Field Summary
Fields inherited from class pl.decerto.hyperon.runtime.dao.BaseDao
connectionInterceptor, dataSource, DEFAULT_FETCH_SIZE, defaultJdbcTemplate -
Constructor Summary
ConstructorsConstructorDescriptionParameterJdbcDao(DataSource dataSource, ConnectionInterceptor connectionInterceptor) ParameterJdbcDao(DataSource dataSource, ConnectionInterceptor connectionInterceptor, MpDecodingStrategy decodingStrategy, ExtSqlExecutor extSqlExecutor) -
Method Summary
Modifier and TypeMethodDescriptionfindEntries(int pid, String[][] inputLevels) getAllLastUpdates(boolean developerMode) getHeader(int pid) getMaxLastUpdate(boolean developerMode) getNamesByRegionsInProfiles(Map<String, List<String>> profileToRegions) getParameter(String code, String ver, int sid) getParameter(String code, String ver, int sid, int mid) Fetches parameter with: - metadata (parameter head, in levels, out levels) - matrix (cacheable parameters) where parameter is described by uid = code[@ver][:sid][%mid]Methods inherited from class pl.decerto.hyperon.runtime.dao.BaseDao
getOne, getOne, jdbcTemplate, jdbcTemplate, setDefaultFetchSize
-
Constructor Details
-
ParameterJdbcDao
public ParameterJdbcDao(DataSource dataSource, ConnectionInterceptor connectionInterceptor, MpDecodingStrategy decodingStrategy, ExtSqlExecutor extSqlExecutor) -
ParameterJdbcDao
-
-
Method Details
-
getParameter
-
getParameter
Fetches parameter with: - metadata (parameter head, in levels, out levels) - matrix (cacheable parameters) where parameter is described by uid = code[@ver][:sid][%mid]- Parameters:
code- parameter's codever- optional version codesid- optional session idmid- optional matrix id- Returns:
- mp parameter
-
findEntries
-
getMaxLastUpdate
-
getMaxLastUpdate
-
getAllLastUpdates
-
getNamesByRegionsInProfiles
-
getAllHeads
-
getHeader
-