Package org.exoplatform.portal.mop.dao
Interface PageDAO
- All Superinterfaces:
org.exoplatform.commons.api.persistence.GenericDAO<PageEntity,Long>
- All Known Implementing Classes:
PageDAOImpl
public interface PageDAO
extends org.exoplatform.commons.api.persistence.GenericDAO<PageEntity,Long>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByOwner(long id) findByKey(org.exoplatform.portal.mop.page.PageKey pageKey) org.exoplatform.commons.utils.ListAccess<org.exoplatform.portal.mop.page.PageKey> findByQuery(org.exoplatform.portal.mop.SiteType siteType, String siteName, String name, int offset, int limit) refresh(PageEntity entity) Reads the page row again from the database, bypassing the state already loaded in the current persistence contextMethods inherited from interface org.exoplatform.commons.api.persistence.GenericDAO
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAll
-
Method Details
-
findByKey
-
refresh
Reads the page row again from the database, bypassing the state already loaded in the current persistence context- Parameters:
entity- a page entity loaded by this DAO, detached from the persistence context by this call- Returns:
- the entity read again, null when the page was removed meanwhile
-
findByQuery
-
deleteByOwner
void deleteByOwner(long id)
-