Package org.exoplatform.task.dao.jpa
Class CommentDAOImpl
- java.lang.Object
-
- org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<E,K>
-
- org.exoplatform.task.dao.jpa.CommonJPADAO<Comment,Long>
-
- org.exoplatform.task.dao.jpa.CommentDAOImpl
-
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<Comment,Long>,CommentHandler
public class CommentDAOImpl extends CommonJPADAO<Comment,Long> implements CommentHandler
- Author:
- Tuyen Nguyen The.
-
-
Field Summary
-
Fields inherited from class org.exoplatform.task.dao.jpa.CommonJPADAO
clz
-
-
Constructor Summary
Constructors Constructor Description CommentDAOImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.commons.utils.ListAccess<Comment>findComments(long taskId)Set<String>findMentionedUsersOfTask(long taskId)List<Comment>getSubComments(List<Comment> comments)-
Methods inherited from class org.exoplatform.task.dao.jpa.CommonJPADAO
buildPath, buildQuery, buildSingleCondition, cloneEntities, cloneEntity, create, find, findEntities, getCache
-
Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, createAll, delete, deleteAll, deleteAll, findAll, getDialect, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
-
-
-
Method Detail
-
findComments
public org.exoplatform.commons.utils.ListAccess<Comment> findComments(long taskId)
- Specified by:
findCommentsin interfaceCommentHandler
-
getSubComments
public List<Comment> getSubComments(List<Comment> comments)
- Specified by:
getSubCommentsin interfaceCommentHandler
-
findMentionedUsersOfTask
public Set<String> findMentionedUsersOfTask(long taskId)
- Specified by:
findMentionedUsersOfTaskin interfaceCommentHandler
-
-