Enum ServiceInterfaceMenuLevel

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ServiceInterfaceMenuLevel>

    public enum ServiceInterfaceMenuLevel
    extends java.lang.Enum<ServiceInterfaceMenuLevel>
    Levels for which a service interface menu can be generated.
    Since:
    10.2.0
    Version:
    $Revision: 20413 $ $Date: 2017-07-20 16:57:40 -0300 (Thu, 20 Jul 2017) $
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      SHARED
      Menu level for configurations that are shared among multiple users.
      STRUCTURE
      Menu level for configurations that would affect the portal structure.
      USER
      Menu level for configurations specific for current user.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ServiceInterfaceMenuLevel valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ServiceInterfaceMenuLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • STRUCTURE

        public static final ServiceInterfaceMenuLevel STRUCTURE
        Menu level for configurations that would affect the portal structure.
        Since:
        10.2.0
      • SHARED

        public static final ServiceInterfaceMenuLevel SHARED
        Menu level for configurations that are shared among multiple users.
        Since:
        10.2.0
      • USER

        public static final ServiceInterfaceMenuLevel USER
        Menu level for configurations specific for current user.
        Since:
        10.2.0
    • Method Detail

      • values

        public static ServiceInterfaceMenuLevel[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ServiceInterfaceMenuLevel c : ServiceInterfaceMenuLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServiceInterfaceMenuLevel valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null