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 Details

    • SITE_NAME_PROP_NAME

      public static final String SITE_NAME_PROP_NAME
      See Also:
    • SITE_ID_PROP_NAME

      public static final String SITE_ID_PROP_NAME
      See Also:
    • SITE_TYPE_PROP_NAME

      public static final String SITE_TYPE_PROP_NAME
      See Also:
    • SITE_EXPAND_PAGES_PROP_NAME

      public static final String SITE_EXPAND_PAGES_PROP_NAME
      See Also:
    • NODE_ID_PROP_NAME

      public static final String NODE_ID_PROP_NAME
      See Also:
    • SITE_DISPLAY_NAME_PROP_NAME

      public static final String SITE_DISPLAY_NAME_PROP_NAME
      See Also:
    • SITE_ICON_PROP_NAME

      public static final String SITE_ICON_PROP_NAME
      See Also:
    • SITE_TRANSLATION_OBJECT_TYPE

      public static final String SITE_TRANSLATION_OBJECT_TYPE
      See Also:
    • SITE_TRANSLATION_LABEL_FIELD_NAME

      public static final String 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

    • resolvePageItemProperties

      protected io.meeds.portal.navigation.model.SidebarItem resolvePageItemProperties(io.meeds.portal.navigation.model.SidebarItem item, Locale locale)
    • getNodeLabel

      protected String getNodeLabel(long nodeId, Locale locale)
    • getSiteIcon

      protected String getSiteIcon(org.exoplatform.portal.mop.SiteKey siteKey)
    • getSiteLabel

      protected String getSiteLabel(org.exoplatform.portal.mop.SiteKey siteKey, Locale locale)
    • isEligiblePage

      protected boolean isEligiblePage(long nodeId, String username)
    • isVisibilityEligible

      protected boolean isVisibilityEligible(org.exoplatform.portal.mop.navigation.NodeState state)