public class HibernateAccessLogDao extends HibernateCRUDDao<AccessLog> implements AccessLogDao
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R>| Constructor and Description |
|---|
HibernateAccessLogDao(HibernateDaoContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAccessLog(AccessLog log) |
void |
clear() |
void |
deleteAccessLogBefore(Calendar dateTime) |
void |
deleteAccessLogOfNode(String nodeGridId,
String nodeId) |
void |
deleteAccessLogOfUser(String userGridId,
String userId) |
void |
deleteAccessLogsOfGrid(String gridId) |
void |
deleteAccessLogsOfService(String serviceGridId,
String serviceId) |
boolean |
isLogExist(int newsId) |
boolean |
isLogExistByNodeIds(String gridId,
String nodeId,
int nodeLocalId) |
List<AccessLog> |
listAccessLogsNewerThanOrEqualsTo(String serviceGridId,
Calendar dateTime) |
AccessLogSearchResult |
searchAccessLog(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
String[] serviceIds,
Calendar startDateTime,
Calendar endDateTime,
MatchingCondition[] conditions,
Order[] orders) |
AccessLogSearchResult |
searchLimitOverAccessLog(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
String[] serviceIds,
Calendar startDateTime,
Calendar endDateTime,
MatchingCondition[] conditions,
Order[] orders,
int limitCount) |
void |
updateAccessLogByNodeIds(AccessLog log) |
add, add, clearEach, createCriteria, createDeleteQuery, delete, delete, exists, get, getOrNull, list, updatecreateDeleteQuery, createDeleteQuery, deleteEntities, getContext, getSession, logAdditionalInfo, logWhenRollbacking, transact, transactpublic HibernateAccessLogDao(HibernateDaoContext context)
public void clear()
throws DaoException
clear in interface AccessLogDaoclear in class HibernateCRUDDao<AccessLog>DaoExceptionpublic List<AccessLog> listAccessLogsNewerThanOrEqualsTo(String serviceGridId, Calendar dateTime) throws DaoException
listAccessLogsNewerThanOrEqualsTo in interface AccessLogDaoDaoExceptionpublic AccessLogSearchResult searchLimitOverAccessLog(int startIndex, int maxCount, String userGridId, String userId, String serviceGridId, String[] serviceIds, Calendar startDateTime, Calendar endDateTime, MatchingCondition[] conditions, Order[] orders, int limitCount) throws DaoException
searchLimitOverAccessLog in interface AccessLogDaoDaoExceptionpublic AccessLogSearchResult searchAccessLog(int startIndex, int maxCount, String userGridId, String userId, String serviceGridId, String[] serviceIds, Calendar startDateTime, Calendar endDateTime, MatchingCondition[] conditions, Order[] orders) throws DaoException
searchAccessLog in interface AccessLogDaoDaoExceptionpublic boolean isLogExist(int newsId)
throws DaoException
isLogExist in interface AccessLogDaoDaoExceptionpublic void addAccessLog(AccessLog log) throws DaoException
addAccessLog in interface AccessLogDaoDaoExceptionpublic void deleteAccessLogBefore(Calendar dateTime) throws DaoException
deleteAccessLogBefore in interface AccessLogDaoDaoExceptionpublic void deleteAccessLogsOfGrid(String gridId) throws DaoException
deleteAccessLogsOfGrid in interface AccessLogDaoDaoExceptionpublic void deleteAccessLogsOfService(String serviceGridId, String serviceId) throws DaoException
deleteAccessLogsOfService in interface AccessLogDaoDaoExceptionpublic void deleteAccessLogOfUser(String userGridId, String userId) throws DaoException
deleteAccessLogOfUser in interface AccessLogDaoDaoExceptionpublic void deleteAccessLogOfNode(String nodeGridId, String nodeId) throws DaoException
deleteAccessLogOfNode in interface AccessLogDaoDaoExceptionpublic boolean isLogExistByNodeIds(String gridId, String nodeId, int nodeLocalId) throws DaoException
isLogExistByNodeIds in interface AccessLogDaoDaoExceptionpublic void updateAccessLogByNodeIds(AccessLog log) throws DaoException
updateAccessLogByNodeIds in interface AccessLogDaoDaoException