public class HibernateDocumentNoteDAO extends HibernatePersistentObjectDAO<DocumentNote> implements DocumentNoteDAO
DocumentNoteDAOentityClass, log, sessionFactory| Constructor and Description |
|---|
HibernateDocumentNoteDAO() |
| Modifier and Type | Method and Description |
|---|---|
List<DocumentNote> |
findByDocId(long docId)
This method finds the list of document note regarding a document with the
given ID.
|
List<DocumentNote> |
findByUserId(long userId)
This method finds the list of document notes regarding posted by a
specific user.
|
bulkUpdate, delete, deleteAll, evict, findAll, 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, findAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, storepublic List<DocumentNote> findByDocId(long docId)
DocumentNoteDAOfindByDocId in interface DocumentNoteDAOdocId - ID of the document.public List<DocumentNote> findByUserId(long userId)
DocumentNoteDAOfindByUserId in interface DocumentNoteDAOuserId - ID of the userCopyright © 2008-2014 Logical Objects. All Rights Reserved.