Class WebHookDAO

java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<WebhookEntity,Long>
org.exoplatform.gamification.github.dao.WebHookDAO
All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<WebhookEntity,Long>

public class WebHookDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<WebhookEntity,Long>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

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

    modelClass
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getWebhookByOrganizationId(long organizationId)
     
    getWebhookIds(int offset, int limit)
     

    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
  • Field Details

  • Constructor Details

    • WebHookDAO

      public WebHookDAO()
  • Method Details

    • getWebhookByOrganizationId

      public WebhookEntity getWebhookByOrganizationId(long organizationId)
    • getWebhookIds

      public List<Long> getWebhookIds(int offset, int limit)