public class HibernateFeedMessageDAO extends HibernatePersistentObjectDAO<FeedMessage> implements FeedMessageDAO
FeedMessageDAOentityClass, log, sessionFactory| Constructor and Description |
|---|
HibernateFeedMessageDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkNotRead()
This method checks if there are some feed messages not already read.
|
void |
deleteOld()
This method deletes all feed messages older that 1 year.
|
List<FeedMessage> |
findAll()
Finds all entities in the database
|
FeedMessage |
findByGuid(String guid)
This method finds a feed message by guid.
|
List<FeedMessage> |
findByTitle(String title)
Finds the list of messages on the basis of the title.
|
bulkUpdate, delete, deleteAll, evict, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, flush, getConnection, getCurrentSession, getDbms, getSessionFactory, initialize, isHsql, isMySQL, isOracle, isSqlServer, jdbcUpdate, jdbcUpdate, merge, prepareQuery, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, refresh, saveOrUpdate, setSessionFactory, storeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbulkUpdate, delete, deleteAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, storepublic List<FeedMessage> findAll()
PersistentObjectDAOfindAll in interface PersistentObjectDAO<FeedMessage>findAll in class HibernatePersistentObjectDAO<FeedMessage>public FeedMessage findByGuid(String guid)
FeedMessageDAOfindByGuid in interface FeedMessageDAOguid - Guid of the feedc message.public boolean checkNotRead()
FeedMessageDAOcheckNotRead in interface FeedMessageDAOpublic void deleteOld()
FeedMessageDAOdeleteOld in interface FeedMessageDAOpublic List<FeedMessage> findByTitle(String title)
FeedMessageDAOfindByTitle in interface FeedMessageDAOtitle - The title used in like statementCopyright © 2008-2014 Logical Objects. All Rights Reserved.