public class HSqlDbSearchesHandler extends DbSearchesHandlerImpl
| Constructor and Description |
|---|
HSqlDbSearchesHandler() |
HSqlDbSearchesHandler(String schema) |
| Modifier and Type | Method and Description |
|---|---|
protected SearchAttribImpl |
buildAttribCondition(ResultSet result) |
protected DbSearch |
buildSearch(ResultSet result) |
protected SearchEqualsImpl |
buildValueCondition(ResultSet result) |
DbSearch[] |
getSearches(Connection c,
Boolean enabled) |
DbSearch[] |
getSearches(Connection c,
long[] ids) |
long[] |
getSearchIds(Connection c,
Boolean enabled) |
void |
loadAttribConditions(Connection c,
DbSearch[] searches) |
void |
loadParameters(Connection c,
DbSearch[] searches) |
void |
loadValueConditions(Connection c,
DbSearch[] searches) |
void |
removeSearches(Connection c,
long[] ids) |
void |
saveSearch(Connection c,
DbSearch search,
boolean saveParameters,
boolean saveConditions) |
protected void |
saveSearchAdditionally(Connection c,
DbSearch search,
long searchId,
List<Statement> statements) |
void |
setSearchesEnabled(Connection c,
long[] ids,
boolean enabled) |
createAttribCondition, createSearch, createValueCondition, getSearch, getSearches, getSearchIds, loadAttribConditions, loadParameters, loadValueConditions, removeSearch, saveSearch, setSearchEnabledgetSchema, getSchemaPath, setSchemapublic static final String PROC_REMOVE_SEARCHES
public static final String PROC_REMOVE_SEARCHES_ATTRIBS
public static final String PROC_REMOVE_SEARCHES_PARAMS
public static final String PROC_REMOVE_SEARCHES_VALUES
public static final String PROC_SAVE_SEARCHES
public static final String PROC_SAVE_SEARCHES_ATTRIBS
public static final String PROC_SAVE_SEARCHES_PARAMS
public static final String PROC_SAVE_SEARCHES_VALUES
public static final String PROC_SET_SEARCHES_ENABLED
public static final String VIEW_SEARCHES
public static final String VIEW_SEARCHES_ATTRIBS
public static final String VIEW_SEARCHES_PARAMS
public static final String VIEW_SEARCHES_VALUES
public static final String FIELD_SEARCH_ID
public static final String FIELD_SEARCH_NAME
public static final String FIELD_SEARCH_NOTES
public static final String FIELD_SEARCH_ENABLED
public static final String FIELD_ATTRIB_NAME
public static final String FIELD_ATTRIB_EQUALS
public static final String FIELD_ATTRIB_EQUALS_LIKE
public static final String FIELD_ATTRIB_EQUALS_CASE
public static final String FIELD_ATTRIB_MATCHES
public static final String FIELD_ATTRIB_NUMERIC_MIN
public static final String FIELD_ATTRIB_NUMERIC_MAX
public static final String FIELD_ATTRIB_NUMERIC_UNIT
public static final String FIELD_ATTRIB_TIME_BEGIN
public static final String FIELD_ATTRIB_TIME_END
public static final String FIELD_ATTRIB_ORDER
public static final String FIELD_PARAM_KEY
public static final String FIELD_PARAM_VALUE
public static final String FIELD_VALUE_TYPE
public static final String FIELD_VALUE_EQUALS
public static final String FIELD_VALUE_EQUALS_LIKE
public static final String FIELD_VALUE_EQUALS_CASE
public static final String FIELD_VALUE_ORDER
public HSqlDbSearchesHandler()
public HSqlDbSearchesHandler(String schema)
protected SearchAttribImpl buildAttribCondition(ResultSet result) throws SQLException
SQLExceptionprotected DbSearch buildSearch(ResultSet result) throws SQLException
SQLExceptionprotected SearchEqualsImpl buildValueCondition(ResultSet result) throws SQLException
SQLExceptionpublic DbSearch[] getSearches(Connection c, Boolean enabled) throws SQLException
getSearches in interface DbSearchesHandlergetSearches in class DbSearchesHandlerImplSQLExceptionpublic DbSearch[] getSearches(Connection c, long[] ids) throws SQLException
getSearches in interface DbSearchesHandlergetSearches in class DbSearchesHandlerImplSQLExceptionpublic long[] getSearchIds(Connection c, Boolean enabled) throws SQLException
getSearchIds in interface DbSearchesHandlergetSearchIds in class DbSearchesHandlerImplSQLExceptionpublic void loadAttribConditions(Connection c, DbSearch[] searches) throws SQLException
loadAttribConditions in interface DbSearchesHandlerloadAttribConditions in class DbSearchesHandlerImplSQLExceptionpublic void loadParameters(Connection c, DbSearch[] searches) throws SQLException
loadParameters in interface DbSearchesHandlerloadParameters in class DbSearchesHandlerImplSQLExceptionpublic void loadValueConditions(Connection c, DbSearch[] searches) throws SQLException
loadValueConditions in interface DbSearchesHandlerloadValueConditions in class DbSearchesHandlerImplSQLExceptionpublic void removeSearches(Connection c, long[] ids) throws SQLException
removeSearches in interface DbSearchesHandlerremoveSearches in class DbSearchesHandlerImplSQLExceptionpublic void saveSearch(Connection c, DbSearch search, boolean saveParameters, boolean saveConditions) throws SQLException
saveSearch in interface DbSearchesHandlersaveSearch in class DbSearchesHandlerImplSQLExceptionprotected void saveSearchAdditionally(Connection c, DbSearch search, long searchId, List<Statement> statements) throws SQLException
SQLExceptionpublic void setSearchesEnabled(Connection c, long[] ids, boolean enabled) throws SQLException
setSearchesEnabled in interface DbSearchesHandlersetSearchesEnabled in class DbSearchesHandlerImplSQLExceptionCopyright © 2019 OpenEstate. All rights reserved.