Package org.exoplatform.portal.mop.dao
Interface SiteDAO
- All Superinterfaces:
org.exoplatform.commons.api.persistence.GenericDAO<SiteEntity,Long>
- All Known Implementing Classes:
SiteDAOImpl
public interface SiteDAO
extends org.exoplatform.commons.api.persistence.GenericDAO<SiteEntity,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindByKey(org.exoplatform.portal.mop.SiteKey siteKey) findByType(org.exoplatform.portal.mop.SiteType siteType) findGroupSites(int offset, int limit) findPortalSites(int offset, int limit) List<org.exoplatform.portal.mop.SiteKey> findSiteKey(org.exoplatform.portal.mop.SiteType siteType) List<org.exoplatform.portal.mop.SiteKey> findSitesKeys(org.exoplatform.portal.mop.SiteFilter siteFilter) findSpaceSites(int offset, int limit) findUserSites(int offset, int limit) refresh(SiteEntity entity) Reads the site 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 site row again from the database, bypassing the state already loaded in the current persistence context- Parameters:
entity- a site entity loaded by this DAO, detached from the persistence context by this call- Returns:
- the entity read again, null when the site was removed meanwhile
-
findByType
-
findSiteKey
-
findPortalSites
-
findGroupSites
-
findSpaceSites
-
findUserSites
-
findSitesKeys
List<org.exoplatform.portal.mop.SiteKey> findSitesKeys(org.exoplatform.portal.mop.SiteFilter siteFilter)
-