Class CommentDAO

java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CommentEntity,String>
org.exoplatform.rhmanagement.dao.CommentDAO
All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<CommentEntity,String>

public class CommentDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<CommentEntity,String>
Created by The eXo Platform SAS
  • Field Summary

    Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl

    modelClass
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getCommentsByRequestId(long id, String commentType, int offset, int limit)
     
    long
    getCommentsByRequestIdCount(long id, String commentType)
     

    Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl

    count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommentDAO

      public CommentDAO()
  • Method Details

    • getCommentsByRequestId

      public List<CommentEntity> getCommentsByRequestId(long id, String commentType, int offset, int limit)
    • getCommentsByRequestIdCount

      public long getCommentsByRequestIdCount(long id, String commentType)