Interface SqlHistoryService
public interface SqlHistoryService
- 
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByQueryInfo(Date requestDate, String query) Удаление запроса по его информацииintУдаление старых записей исходя из настроек периода хранения для пользователяgetUserRequestList(Page page) voidupdateHistoryUserConfig(SqlHistoryUserConfig historyUserConfig) voidupdateSqlHistoryRequest(SqlHistoryRequest historyRequest)  
- 
Method Details
- 
getHistoryUserConfig
SqlHistoryUserConfig getHistoryUserConfig() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
updateHistoryUserConfig
void updateHistoryUserConfig(SqlHistoryUserConfig historyUserConfig) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
getUserRequestList
SearchResult<SqlHistoryRequest> getUserRequestList(Page page) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
updateSqlHistoryRequest
void updateSqlHistoryRequest(SqlHistoryRequest historyRequest) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
deleteOldRequests
int deleteOldRequests() throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageExceptionУдаление старых записей исходя из настроек периода хранения для пользователя- Returns:
 - кол-во удалённых записей
 - Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 - 
deleteByQueryInfo
void deleteByQueryInfo(Date requestDate, String query) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException Удаление запроса по его информации- Parameters:
 requestDate- дата и время запроса в историиquery- сам запрос- Throws:
 ru.bitel.bgbilling.common.BGExceptionru.bitel.bgbilling.common.BGMessageException
 
 -