Class TopbarMenuInfoFilter

  • All Implemented Interfaces:
    MenuInfoFilter

    public class TopbarMenuInfoFilter
    extends java.lang.Object
    implements MenuInfoFilter
    Updates topbar's navigation when the favorite space root category exists.

    It adds member's favorite workspaces if any.

    It adds member's team portal if any.

    If CSP plugin is here and active, it adds a link to CSP Hub.

    Also, it skips categories which name contains "$NAME$".

    Since:
    jcms-10.0.0
    Version:
    $Revision: 119349 $
    Author:
    Sylvain Devaux
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isAccepted​(MenuInfo menuInfo)
      If given menuInfo is the "Favorite workspace root cat", accepts it only if member has at least one favorite workspace, and / or a team portal.
      MenuInfo update​(MenuInfo menuInfo)
      Dynamically adds menu items when given menuInfo is the "Favorite workspace root cat".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait