Package org.exoplatform.portal.mop.user
Class UserPortalImpl
java.lang.Object
org.exoplatform.portal.mop.user.UserPortalImpl
- All Implemented Interfaces:
UserPortal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.exoplatform.portal.mop.service.LayoutServiceprotected static org.exoplatform.services.organization.OrganizationServiceprotected static UserPortalConfigServiceprotected static org.exoplatform.services.resources.ResourceBundleManagerstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionUserPortalImpl(String portalName, org.exoplatform.portal.config.model.PortalConfig portal, String userName, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionprotected UserNavigationfilterUserNavigation(org.exoplatform.portal.mop.SiteKey key) getBundle(UserNavigation navigation) protected StringReturns the portal locale.getNavigation(org.exoplatform.portal.mop.SiteKey key) Returns a user navigation for a specified site key, null is returned when such navigation does not exist.Returns an immutable sorted list of the valid navigations related to the user.getNode(UserNavigation userNavigation, org.exoplatform.portal.mop.navigation.Scope scope, UserNodeFilterConfig filterConfig, org.exoplatform.portal.mop.navigation.NodeChangeListener<UserNode> listener) Load a user node from a specified user navigation with a custom scope.getNodeById(String userNodeId, org.exoplatform.portal.mop.SiteKey siteKey, org.exoplatform.portal.mop.navigation.Scope scope, UserNodeFilterConfig filterConfig, org.exoplatform.portal.mop.navigation.NodeChangeListener<UserNode> listener) Load specific navigation node childrengetNodes(org.exoplatform.portal.mop.SiteType siteType, org.exoplatform.portal.mop.navigation.Scope scope, UserNodeFilterConfig filterConfig) Load the list of user nodes computed from the list ofUserNavigationof type siteType (PORTAL, GROUP or USER)getNodes(org.exoplatform.portal.mop.SiteType siteType, org.exoplatform.portal.mop.navigation.Scope scope, UserNodeFilterConfig filterConfig, boolean includeGlobal) Load the list of user nodes computed from the list ofUserNavigationof type siteType (PORTAL, GROUP or USER)org.exoplatform.portal.config.model.PortalConfiggetPortalDescription(org.exoplatform.portal.mop.SiteKey siteKey) getPortalDescription(org.exoplatform.portal.mop.SiteKey siteKey, Locale locale) getPortalLabel(org.exoplatform.portal.mop.SiteKey siteKey) getPortalLabel(org.exoplatform.portal.mop.SiteKey siteKey, Locale locale) getUserGroupIds(org.exoplatform.services.security.Identity identity) protected UserNavigationloadUserNavigation(org.exoplatform.portal.mop.SiteKey siteKey) voidrebaseNode(UserNode node, org.exoplatform.portal.mop.navigation.Scope scope, org.exoplatform.portal.mop.navigation.NodeChangeListener<UserNode> listener) Rebase the specified context with the most recent state.voidrefresh()Refresh the current user portal.voidsaveNode(UserNode node, org.exoplatform.portal.mop.navigation.NodeChangeListener<UserNode> listener) Save the specified context to the persistent storage.voidupdateNode(UserNode node, org.exoplatform.portal.mop.navigation.Scope scope, org.exoplatform.portal.mop.navigation.NodeChangeListener<UserNode> listener) Update the specified content with the most recent state.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.portal.mop.user.UserPortal
getDefaultPath, getDefaultPath, getNodes, getUserName, resolvePath, resolvePath
-
Field Details
-
SPACES_SITE_TYPE_PREFIX
- See Also:
-
portalConfigService
-
layoutService
protected static org.exoplatform.portal.mop.service.LayoutService layoutService -
resourceBundleManager
protected static org.exoplatform.services.resources.ResourceBundleManager resourceBundleManager -
organizationService
protected static org.exoplatform.services.organization.OrganizationService organizationService
-
-
Constructor Details
-
UserPortalImpl
-
-
Method Details
-
getLocale
Description copied from interface:UserPortalReturns the portal locale.- Specified by:
getLocalein interfaceUserPortal- Returns:
- the portal locale
-
refresh
public void refresh()Description copied from interface:UserPortalRefresh the current user portal.- Specified by:
refreshin interfaceUserPortal
-
getPortalLabel
- Specified by:
getPortalLabelin interfaceUserPortal- Parameters:
siteKey- Site Key- Returns:
- the
PortalConfiglabel
-
getPortalLabel
- Specified by:
getPortalLabelin interfaceUserPortal- Parameters:
siteKey- Site Keylocale-Locale- Returns:
- the
PortalConfiglabel
-
getPortalDescription
- Specified by:
getPortalDescriptionin interfaceUserPortal- Parameters:
siteKey- Site Key- Returns:
- the
PortalConfigdescription
-
getPortalDescription
- Specified by:
getPortalDescriptionin interfaceUserPortal- Parameters:
siteKey- Site Keylocale-Locale- Returns:
- the
PortalConfigdescription
-
getPortalConfig
public org.exoplatform.portal.config.model.PortalConfig getPortalConfig() -
getLabel
-
getUserGroupIds
-