Package org.exoplatform.wiki.jpa.dao
Class PageDAO
- java.lang.Object
-
- org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<E,ID>
-
- org.exoplatform.wiki.jpa.dao.WikiBaseDAO<PageEntity,Long>
-
- org.exoplatform.wiki.jpa.dao.PageDAO
-
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<PageEntity,Long>
public class PageDAO extends WikiBaseDAO<PageEntity,Long>
Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Jun 24, 2015
-
-
Constructor Summary
Constructors Constructor Description PageDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongcountPagesBySyntax(String syntax)List<PageEntity>findAllBySyntax(String syntax, int offset, int limit)List<Long>findAllIds(int offset, int limit)List<PageEntity>getAllPagesOfWiki(String wikiType, String wikiOwner)List<PageEntity>getChildrenPages(PageEntity page)PageEntitygetPageOfWikiByName(String wikiType, String wikiOwner, String pageName)List<PageEntity>getPagesOfWiki(String wikiType, String wikiOwner, boolean deleted)-
Methods inherited from class org.exoplatform.wiki.jpa.dao.WikiBaseDAO
validateGroupWikiOwner
-
-
-
-
Method Detail
-
getAllPagesOfWiki
public List<PageEntity> getAllPagesOfWiki(String wikiType, String wikiOwner)
-
getPagesOfWiki
public List<PageEntity> getPagesOfWiki(String wikiType, String wikiOwner, boolean deleted)
-
getPageOfWikiByName
public PageEntity getPageOfWikiByName(String wikiType, String wikiOwner, String pageName)
-
getChildrenPages
public List<PageEntity> getChildrenPages(PageEntity page)
-
findAllBySyntax
public List<PageEntity> findAllBySyntax(String syntax, int offset, int limit)
-
-