Class PortletProperties


  • public final class PortletProperties
    extends Object
    Constants for Liferay portlets. This doesn't have to be used by the application developer.

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

    Since:
    8.1
    Author:
    Vaadin Ltd.
    • Field Detail

      • DISPLAY_CATEGORY

        public static final String DISPLAY_CATEGORY
        Property key for the Liferay category property. By default this is "category.vaadin"
        See Also:
        Constant Field Values
      • PORTLET_NAME

        public static final String PORTLET_NAME
        Property key for the name of the Portlet. It is recommended to use something like the bundle symbolic name and a version string appended for the value of this property as this is used as a Portlet id.
        See Also:
        Constant Field Values
      • PORTLET_SECURITY_ROLE

        public static final String PORTLET_SECURITY_ROLE
        Property key for the security roles mapped to the Portlet.
        See Also:
        Constant Field Values
      • PORTLET_UI_PROPERTY

        public static final String PORTLET_UI_PROPERTY
        This property is used to mark the UI service as a Portlet UI. The value of this property must be non-null and will be ignored but must be present to use the UI as a Portlet.

        The alternative is to simply annotate the UI with VaadinLiferayPortletConfiguration.

        See Also:
        Constant Field Values