Package org.exoplatform.wiki.jpa.dao
Class WikiDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<WikiEntity,Long>
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<WikiEntity,Long>
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(WikiEntity entity) findAllHomePageIds(int offset, int limit) Retrieves the identifiers of the home pages of all the note books.findAllIds(int offset, int limit) getWikiByTypeAndOwner(String wikiType, String wikiOwner) getWikisByType(String wikiType) Methods inherited from class org.exoplatform.wiki.jpa.dao.WikiBaseDAO
validateGroupWikiOwnerMethods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
WikiDAO
-
-
Method Details
-
findAllIds
-
findAllHomePageIds
Retrieves the identifiers of the home pages of all the note books.- Parameters:
offset- offset of the first returned identifierlimit- maximum number of returned identifiers- Returns:
Listof home page identifiers
-
getWikiByTypeAndOwner
-
getWikisByType
-
delete
- Specified by:
deletein interfaceorg.exoplatform.commons.api.persistence.GenericDAO<WikiEntity,Long> - Overrides:
deletein classorg.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<WikiEntity,Long>
-