Class SqlHistoryDao
java.lang.Object
ru.bitel.bgbilling.plugins.sqleditor.server.bean.SqlHistoryDao
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByQueryInfo
(Date requestDate, String queryBody) void
deleteRequest
(int historyRequestId) void
deleteRequests
(List<Integer> requestIds) getHistoryUserConfig
(int userId) getRequestListByUser
(int userId, Page page) void
updateHistoryUserConfig
(SqlHistoryUserConfig historyUserConfig) void
updateRequest
(SqlHistoryRequest request)
-
Constructor Details
-
SqlHistoryDao
-
-
Method Details
-
getHistoryUserConfig
public SqlHistoryUserConfig getHistoryUserConfig(int userId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
updateHistoryUserConfig
public void updateHistoryUserConfig(SqlHistoryUserConfig historyUserConfig) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getRequestListByUser
public List<SqlHistoryRequest> getRequestListByUser(int userId, Page page) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
updateRequest
- Throws:
ru.bitel.bgbilling.common.BGException
-
deleteRequests
- Throws:
ru.bitel.bgbilling.common.BGException
-
deleteRequest
public void deleteRequest(int historyRequestId) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
deleteByQueryInfo
public void deleteByQueryInfo(Date requestDate, String queryBody) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-