Class PortalImpl

java.lang.Object
org.gatein.api.PortalImpl
All Implemented Interfaces:
org.gatein.api.Portal

@Deprecated(forRemoval=true, since="7.0") public class PortalImpl extends Object implements org.gatein.api.Portal
Deprecated, for removal: This API element is subject to removal in a future version.
should be removed since the Portal API is defined using Service Layers instead of contextual API which doesn't help to get stateless mode. This is kept for now until removing WebUI and ecms from eXo addons
Author:
Boleslaw Dawidowicz, Chris Laprun, Nick Scavelli, Stian Thorgersen
  • Constructor Summary

    Constructors
    Constructor
    Description
    PortalImpl(org.exoplatform.portal.mop.service.LayoutService layoutService, org.exoplatform.portal.mop.service.NavigationService navigationService, org.exoplatform.portal.mop.storage.DescriptionStorage descriptionStorage, org.exoplatform.services.resources.ResourceBundleManager bundleManager, org.exoplatform.services.security.Authenticator authenticator, org.exoplatform.services.security.IdentityRegistry identityRegistry, org.exoplatform.portal.config.UserACL acl, org.exoplatform.portal.config.UserPortalConfigService userPortalConfigService)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gatein.api.page.Page
    createPage(org.gatein.api.page.PageId pageId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.gatein.api.site.Site
    createSite(org.gatein.api.site.SiteId siteId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.gatein.api.site.Site
    createSite(org.gatein.api.site.SiteId siteId, String templateName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    List<org.gatein.api.page.Page>
    findPages(org.gatein.api.page.PageQuery query)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    List<org.gatein.api.site.Site>
    findSites(org.gatein.api.site.SiteQuery query)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.gatein.api.navigation.Navigation
    getNavigation(org.gatein.api.site.SiteId siteId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.gatein.api.oauth.OAuthProvider
    getOAuthProvider(String oauthProviderKey)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.gatein.api.page.Page
    getPage(org.gatein.api.page.PageId pageId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.gatein.api.site.Site
    getSite(org.gatein.api.site.SiteId siteId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    hasPermission(org.gatein.api.security.User user, org.gatein.api.security.Permission permission)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    removePage(org.gatein.api.page.PageId pageId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    removeSite(org.gatein.api.site.SiteId siteId)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    savePage(org.gatein.api.page.Page page)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    saveSite(org.gatein.api.site.Site site)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PortalImpl

      public PortalImpl(org.exoplatform.portal.mop.service.LayoutService layoutService, org.exoplatform.portal.mop.service.NavigationService navigationService, org.exoplatform.portal.mop.storage.DescriptionStorage descriptionStorage, org.exoplatform.services.resources.ResourceBundleManager bundleManager, org.exoplatform.services.security.Authenticator authenticator, org.exoplatform.services.security.IdentityRegistry identityRegistry, org.exoplatform.portal.config.UserACL acl, org.exoplatform.portal.config.UserPortalConfigService userPortalConfigService)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getSite

      public org.gatein.api.site.Site getSite(org.gatein.api.site.SiteId siteId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getSite in interface org.gatein.api.Portal
    • createSite

      public org.gatein.api.site.Site createSite(org.gatein.api.site.SiteId siteId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createSite in interface org.gatein.api.Portal
    • createSite

      public org.gatein.api.site.Site createSite(org.gatein.api.site.SiteId siteId, String templateName) throws IllegalArgumentException, org.gatein.api.EntityAlreadyExistsException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createSite in interface org.gatein.api.Portal
      Throws:
      IllegalArgumentException
      org.gatein.api.EntityAlreadyExistsException
    • findSites

      public List<org.gatein.api.site.Site> findSites(org.gatein.api.site.SiteQuery query)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findSites in interface org.gatein.api.Portal
    • saveSite

      public void saveSite(org.gatein.api.site.Site site)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      saveSite in interface org.gatein.api.Portal
    • removeSite

      public boolean removeSite(org.gatein.api.site.SiteId siteId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      removeSite in interface org.gatein.api.Portal
    • getNavigation

      public org.gatein.api.navigation.Navigation getNavigation(org.gatein.api.site.SiteId siteId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getNavigation in interface org.gatein.api.Portal
    • getPage

      public org.gatein.api.page.Page getPage(org.gatein.api.page.PageId pageId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPage in interface org.gatein.api.Portal
    • createPage

      public org.gatein.api.page.Page createPage(org.gatein.api.page.PageId pageId) throws org.gatein.api.EntityAlreadyExistsException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createPage in interface org.gatein.api.Portal
      Throws:
      org.gatein.api.EntityAlreadyExistsException
    • findPages

      public List<org.gatein.api.page.Page> findPages(org.gatein.api.page.PageQuery query)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findPages in interface org.gatein.api.Portal
    • savePage

      public void savePage(org.gatein.api.page.Page page)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      savePage in interface org.gatein.api.Portal
    • removePage

      public boolean removePage(org.gatein.api.page.PageId pageId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      removePage in interface org.gatein.api.Portal
    • hasPermission

      public boolean hasPermission(org.gatein.api.security.User user, org.gatein.api.security.Permission permission)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      hasPermission in interface org.gatein.api.Portal
    • getOAuthProvider

      public org.gatein.api.oauth.OAuthProvider getOAuthProvider(String oauthProviderKey)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getOAuthProvider in interface org.gatein.api.Portal