Package org.exoplatform.wiki.jpa.dao
Class DraftPageDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<DraftPageEntity,Long>
org.exoplatform.wiki.jpa.dao.WikiBaseDAO<DraftPageEntity,Long>
org.exoplatform.wiki.jpa.dao.DraftPageDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<DraftPageEntity,Long>
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
Jun 24, 2015
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountDraftPagesByParentPage(long parentPageId) voiddeleteDraftPagesByName(String draftName) voiddeleteDraftPagesByTargetPage(long targetPageId) voiddeleteOrphanDraftPagesByParentPage(long parentPageId) findDraftPageByName(String draftPageName) findDraftPagesByParentPage(long parentPageId) findDraftPagesByTargetPage(long targetPageId) findLatestDraftPageByTargetPage(Long targetPageId) findLatestDraftPageByTargetPageAndLang(Long targetPageId, String lang) Methods inherited from class org.exoplatform.wiki.jpa.dao.WikiBaseDAO
validateGroupWikiOwnerMethods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
DraftPageDAO
public DraftPageDAO()
-
-
Method Details
-
findDraftPageByName
-
findDraftPagesByTargetPage
-
findDraftPagesByParentPage
-
deleteDraftPagesByTargetPage
public void deleteDraftPagesByTargetPage(long targetPageId) -
deleteDraftPagesByName
-
findLatestDraftPageByTargetPage
-
deleteOrphanDraftPagesByParentPage
public void deleteOrphanDraftPagesByParentPage(long parentPageId) -
findLatestDraftPageByTargetPageAndLang
-
countDraftPagesByParentPage
-