public class HibernateDocumentNoteDAO extends HibernatePersistentObjectDAO<DocumentNote> implements DocumentNoteDAO
DocumentNoteDAO
entityClass, 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, store
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bulkUpdate, delete, deleteAll, findAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, store
public List<DocumentNote> findByDocId(long docId)
DocumentNoteDAO
findByDocId
in interface DocumentNoteDAO
docId
- ID of the document.public List<DocumentNote> findByUserId(long userId)
DocumentNoteDAO
findByUserId
in interface DocumentNoteDAO
userId
- ID of the userCopyright © 2008-2014 Logical Objects. All Rights Reserved.