Package org.exoplatform.wiki.jpa.dao
Class PageDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<PageEntity,Long>
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<PageEntity,Long>
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
ConstructorsConstructorDescriptionPageDAO(DraftPageDAO draftPageDAO, PageMoveDAO pageMoveDAO, PageVersionDAO pageVersionDAO) -
Method Summary
Modifier and TypeMethodDescriptioncountPageChildrenById(Long pageId) voiddelete(PageEntity entity) voiddeleteAll(List<PageEntity> entities) findAllBySyntax(String syntax, int offset, int limit) findAllIds(int offset, int limit) getAllPagesOfWiki(String wikiType, String wikiOwner) getChildrenPages(PageEntity page) getPageOfWikiByName(String wikiType, String wikiOwner, String pageName) getPagesOfWiki(String wikiType, String wikiOwner, boolean deleted) getRelatedPages(long pageId) protected PageEntityrefreshEntity(PageEntity entity) protected voidupdatePageDependencies(PageEntity entity) Methods inherited from class org.exoplatform.wiki.jpa.dao.WikiBaseDAO
validateGroupWikiOwnerMethods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
PageDAO
-
-
Method Details
-
getAllPagesOfWiki
-
getPagesOfWiki
-
getPageOfWikiByName
-
getChildrenPages
-
getAllChildrenPages
-
findAllIds
-
countAllIds
-
findAllBySyntax
-
getRelatedPages
-
countPageChildrenById
-
deleteAll
- Specified by:
deleteAllin interfaceorg.exoplatform.commons.api.persistence.GenericDAO<PageEntity,Long> - Overrides:
deleteAllin classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<PageEntity,Long>
-
delete
- Specified by:
deletein interfaceorg.exoplatform.commons.api.persistence.GenericDAO<PageEntity,Long> - Overrides:
deletein classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<PageEntity,Long>
-
refreshEntity
-
updatePageDependencies
-