public class WebRequestLogDAO extends PeriodicDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id>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 |
|---|
WebRequestLogDAO(java.sql.Connection con) |
| Modifier and Type | Method and Description |
|---|---|
int |
addLogEntry(HttpServletRequest request) |
protected java.lang.String |
getCreateQuery() |
protected java.lang.String |
getTableNamePrefix() |
void |
searchRequest(SearchResult<LogEntry> searchResult,
DynActionForm form) |
void |
updateLogEntryDuration(int logEntryId,
long duration) |
void |
updateLogEntryResultStatus(int logEntryId,
java.lang.String resultStatus) |
checkAndCreatePeriodicTable, dropOldTables, getMonthTableName, getTableSet, tableExistsdeleteById, 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 int addLogEntry(HttpServletRequest request)
throws BGException
BGExceptionpublic void searchRequest(SearchResult<LogEntry> searchResult, DynActionForm form) throws java.sql.SQLException, BGMessageException
java.sql.SQLExceptionBGMessageExceptionpublic void updateLogEntryDuration(int logEntryId,
long duration)
throws BGException
BGExceptionpublic void updateLogEntryResultStatus(int logEntryId,
java.lang.String resultStatus)
throws BGException
BGExceptionprotected java.lang.String getTableNamePrefix()
getTableNamePrefix in class PeriodicDAOprotected java.lang.String getCreateQuery()
getCreateQuery in class PeriodicDAO