Package org.gatein.api
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
-
Constructor Summary
ConstructorsConstructorDescriptionPortalImpl(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 TypeMethodDescriptionorg.gatein.api.page.PagecreatePage(org.gatein.api.page.PageId pageId) Deprecated, for removal: This API element is subject to removal in a future version.org.gatein.api.site.SitecreateSite(org.gatein.api.site.SiteId siteId) Deprecated, for removal: This API element is subject to removal in a future version.org.gatein.api.site.SitecreateSite(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.NavigationgetNavigation(org.gatein.api.site.SiteId siteId) Deprecated, for removal: This API element is subject to removal in a future version.org.gatein.api.oauth.OAuthProvidergetOAuthProvider(String oauthProviderKey) Deprecated, for removal: This API element is subject to removal in a future version.org.gatein.api.page.PagegetPage(org.gatein.api.page.PageId pageId) Deprecated, for removal: This API element is subject to removal in a future version.org.gatein.api.site.SitegetSite(org.gatein.api.site.SiteId siteId) Deprecated, for removal: This API element is subject to removal in a future version.booleanhasPermission(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.booleanremovePage(org.gatein.api.page.PageId pageId) Deprecated, for removal: This API element is subject to removal in a future version.booleanremoveSite(org.gatein.api.site.SiteId siteId) Deprecated, for removal: This API element is subject to removal in a future version.voidsavePage(org.gatein.api.page.Page page) Deprecated, for removal: This API element is subject to removal in a future version.voidsaveSite(org.gatein.api.site.Site site) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
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:
getSitein interfaceorg.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:
createSitein interfaceorg.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:
createSitein interfaceorg.gatein.api.Portal- Throws:
IllegalArgumentExceptionorg.gatein.api.EntityAlreadyExistsException
-
findSites
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
findSitesin interfaceorg.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:
saveSitein interfaceorg.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:
removeSitein interfaceorg.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:
getPagein interfaceorg.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:
createPagein interfaceorg.gatein.api.Portal- Throws:
org.gatein.api.EntityAlreadyExistsException
-
findPages
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
findPagesin interfaceorg.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:
savePagein interfaceorg.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:
removePagein interfaceorg.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:
hasPermissionin interfaceorg.gatein.api.Portal
-
getOAuthProvider
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getOAuthProviderin interfaceorg.gatein.api.Portal
-