Class PageDAOImpl

java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<PageEntity,Long>
org.exoplatform.portal.mop.dao.AbstractDAO<PageEntity>
org.exoplatform.portal.mop.dao.PageDAOImpl
All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<PageEntity,Long>, PageDAO

public class PageDAOImpl extends AbstractDAO<PageEntity> implements PageDAO
  • 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
    jakarta.persistence.TypedQuery<org.exoplatform.portal.mop.page.PageKey>
    buildQuery(org.gatein.api.page.PageQuery query)
     
    void
    deleteByOwner(long id)
     
    findByKey(org.exoplatform.portal.mop.page.PageKey pageKey)
     
    org.exoplatform.commons.utils.ListAccess<org.exoplatform.portal.mop.page.PageKey>
    findByQuery(org.gatein.api.page.PageQuery query)
     

    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

    Methods inherited from interface org.exoplatform.commons.api.persistence.GenericDAO

    count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAll
  • Constructor Details

    • PageDAOImpl

      public PageDAOImpl()
  • Method Details

    • findByKey

      public PageEntity findByKey(org.exoplatform.portal.mop.page.PageKey pageKey)
      Specified by:
      findByKey in interface PageDAO
    • deleteByOwner

      public void deleteByOwner(long id)
      Specified by:
      deleteByOwner in interface PageDAO
    • findByQuery

      public org.exoplatform.commons.utils.ListAccess<org.exoplatform.portal.mop.page.PageKey> findByQuery(org.gatein.api.page.PageQuery query)
      Specified by:
      findByQuery in interface PageDAO
    • buildQuery

      public jakarta.persistence.TypedQuery<org.exoplatform.portal.mop.page.PageKey> buildQuery(org.gatein.api.page.PageQuery query)