Class PortalModes


  • @StableMinor(version="14.0",
                 sinceVersion="7.1")
    public abstract class PortalModes
    extends Object
    Contains constants for the Portal Modes and a factory method for obtaining Portal Modes.

    Since:
    7.1.0
    Version:
    $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
    • Field Detail

      • MODE_NAVIGATION

        public static final IPortalMode MODE_NAVIGATION
        Represents the navigation mode.
        Since:
        7.1.0
      • MODE_PORTAL_STUDIO

        public static final IPortalMode MODE_PORTAL_STUDIO
        Represents the portal studio mode.
        Since:
        7.1.0
      • MODE_PORTAL_SETTINGS

        public static final IPortalMode MODE_PORTAL_SETTINGS
        Represents the administration mode.
        Since:
        7.1.0
      • MODE_CONTENT_ADMINISTRATION

        public static final IPortalMode MODE_CONTENT_ADMINISTRATION
        Represents the content administration mode.
        Since:
        7.1.0
      • MODE_IN_CONTEXT_EDITION

        public static final IPortalMode MODE_IN_CONTEXT_EDITION
        Represents the content in-context edit mode.
        Since:
        7.1.0
      • MODE_PORTAL_PERSONALIZATION

        public static final IPortalMode MODE_PORTAL_PERSONALIZATION
        Represents the portal personalization mode.
        Since:
        7.1.0
      • MODE_CUSTOMER_EXPERIENCE

        public static final IPortalMode MODE_CUSTOMER_EXPERIENCE
        Represents the portal customer experience mode.
        Since:
        11.0.0
    • Constructor Detail

      • PortalModes

        public PortalModes()
    • Method Detail

      • getPortalModeFromId

        public static IPortalMode getPortalModeFromId​(int value)
        Returns a given portal mode from a mode id.
        Parameters:
        value - the mode id
        Returns:
        the found portal mode
        Throws:
        IllegalArgumentException - if no portal mode has the given identifier.
        Since:
        7.1.0
      • getPortalModes

        public static IPortalMode[] getPortalModes()