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 Type
    Method
    Description
    findByKey(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)
     
    Reads the site row again from the database, bypassing the state already loaded in the current persistence context

    Methods inherited from interface org.exoplatform.commons.api.persistence.GenericDAO

    count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAll
  • Method Details

    • findByKey

      SiteEntity findByKey(org.exoplatform.portal.mop.SiteKey siteKey)
    • refresh

      SiteEntity refresh(SiteEntity entity)
      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

      List<SiteEntity> findByType(org.exoplatform.portal.mop.SiteType siteType)
    • findSiteKey

      List<org.exoplatform.portal.mop.SiteKey> findSiteKey(org.exoplatform.portal.mop.SiteType siteType)
    • findPortalSites

      List<String> findPortalSites(int offset, int limit)
    • findGroupSites

      List<String> findGroupSites(int offset, int limit)
    • findSpaceSites

      List<String> findSpaceSites(int offset, int limit)
    • findUserSites

      List<String> findUserSites(int offset, int limit)
    • findSitesKeys

      List<org.exoplatform.portal.mop.SiteKey> findSitesKeys(org.exoplatform.portal.mop.SiteFilter siteFilter)