Annotation Type VaadinLiferayPortletConfiguration


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @interface VaadinLiferayPortletConfiguration
    This annotation is used to inform the PortletUIServiceTrackerCustomizer that this UI should be wrapped in a Portlet and provides the necessary configuration for that.

    This only applies to Liferay Portal 7+ with OSGi support.

    Since:
    8.1
    Author:
    Vaadin Ltd.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String category
      Category of the portlet in Liferay menus.
      String displayName
      Display name of the portlet.
      String name
      Portlet name, must conform to the portlet specification and is used as the key for the portlet.
      String[] securityRole
      Array of allowed security roles.
    • Element Detail

      • category

        String category
        Category of the portlet in Liferay menus. By default category.vaadin.
        Default:
        "category.vaadin"
      • name

        String name
        Portlet name, must conform to the portlet specification and is used as the key for the portlet.
        Default:
        ""
      • displayName

        String displayName
        Display name of the portlet.
        Default:
        ""
      • securityRole

        String[] securityRole
        Array of allowed security roles. By default, power-user and user.
        Default:
        {"power-user", "user"}