Class AbstractLayoutSidebarPlugin
java.lang.Object
io.meeds.social.navigation.plugin.AbstractLayoutSidebarPlugin
- All Implemented Interfaces:
io.meeds.social.navigation.plugin.SidebarPlugin
- Direct Known Subclasses:
PageSidebarPlugin,SiteSidebarPlugin
public abstract class AbstractLayoutSidebarPlugin
extends Object
implements io.meeds.social.navigation.plugin.SidebarPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.exoplatform.portal.mop.service.DescriptionServiceprotected org.exoplatform.portal.mop.service.LayoutServiceprotected org.exoplatform.services.resources.LocaleConfigServiceprotected org.exoplatform.portal.mop.service.NavigationServicestatic final Stringprotected org.exoplatform.services.organization.OrganizationServiceprotected org.exoplatform.services.resources.ResourceBundleManagerstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected io.meeds.social.translation.service.TranslationServiceprotected org.exoplatform.portal.config.UserACLFields inherited from interface io.meeds.social.navigation.plugin.SidebarPlugin
SIDEBAR_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetNodeLabel(long nodeId, Locale locale) protected StringgetSiteIcon(org.exoplatform.portal.mop.SiteKey siteKey) protected StringgetSiteLabel(org.exoplatform.portal.mop.SiteKey siteKey, Locale locale) protected booleanisEligiblePage(long nodeId, String username) protected booleanisVisibilityEligible(org.exoplatform.portal.mop.navigation.NodeState state) protected io.meeds.portal.navigation.model.SidebarItemresolvePageItemProperties(io.meeds.portal.navigation.model.SidebarItem item, Locale locale) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.meeds.social.navigation.plugin.SidebarPlugin
getDefaultItems, getType, itemExists, resolveProperties
-
Field Details
-
SITE_NAME_PROP_NAME
- See Also:
-
SITE_ID_PROP_NAME
- See Also:
-
SITE_TYPE_PROP_NAME
- See Also:
-
SITE_EXPAND_PAGES_PROP_NAME
- See Also:
-
NODE_ID_PROP_NAME
- See Also:
-
SITE_DISPLAY_NAME_PROP_NAME
- See Also:
-
SITE_ICON_PROP_NAME
- See Also:
-
SITE_TRANSLATION_OBJECT_TYPE
- See Also:
-
SITE_TRANSLATION_LABEL_FIELD_NAME
- See Also:
-
layoutService
@Autowired protected org.exoplatform.portal.mop.service.LayoutService layoutService -
translationService
@Autowired protected io.meeds.social.translation.service.TranslationService translationService -
descriptionService
@Autowired protected org.exoplatform.portal.mop.service.DescriptionService descriptionService -
resourceBundleManager
@Autowired protected org.exoplatform.services.resources.ResourceBundleManager resourceBundleManager -
localeConfigService
@Autowired protected org.exoplatform.services.resources.LocaleConfigService localeConfigService -
organizationService
@Autowired protected org.exoplatform.services.organization.OrganizationService organizationService -
userAcl
@Autowired protected org.exoplatform.portal.config.UserACL userAcl
-
-
Constructor Details
-
AbstractLayoutSidebarPlugin
public AbstractLayoutSidebarPlugin()
-
-
Method Details
-
getNodeLabel
-
getSiteIcon
-
getSiteLabel
-
isEligiblePage