Enum PortalPrivilege.Subtype

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PortalPrivilege.Subtype>
    Enclosing class:
    PortalPrivilege

    public static enum PortalPrivilege.Subtype
    extends java.lang.Enum<PortalPrivilege.Subtype>
    An enumeration of the fine-grained operation subtypes a portal privilege can permit.
    Since:
    100.12.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CLOSEST_FACILITY
      The ability to perform closest facility tasks.
      LOCATION_ALLOCATION
      The ability to perform location-allocation tasks.
      NONE
      The privilege does not relate to a fine-grained operation.
      OPTIMIZED_ROUTING
      The ability to perform optimized routing tasks.
      ORIGIN_DESTINATION_COST_MATRIX
      The ability to perform origin-destination cost matrix tasks.
      ROUTING
      The ability to perform simple routing tasks.
      SERVICE_AREA
      The ability to perform service area tasks.
      STORED
      The ability to perform geocode operations and store the results, in a database for instance.
      TEMPORARY
      The ability to perform geocode operations in which the results are not stored.
      UNKNOWN
      An unknown portal privilege subtype.
      VEHICLE_ROUTING
      The ability to perform vehicle routing tasks.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns a string representing the PortalPrivilege.Subtype.
      static PortalPrivilege.Subtype valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PortalPrivilege.Subtype[] 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, valueOf
      • Methods inherited from class java.lang.Object

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

      • UNKNOWN

        public static final PortalPrivilege.Subtype UNKNOWN
        An unknown portal privilege subtype.
        Since:
        100.12.0
      • NONE

        public static final PortalPrivilege.Subtype NONE
        The privilege does not relate to a fine-grained operation.
        Since:
        100.12.0
      • STORED

        public static final PortalPrivilege.Subtype STORED
        The ability to perform geocode operations and store the results, in a database for instance.
        Since:
        100.12.0
      • TEMPORARY

        public static final PortalPrivilege.Subtype TEMPORARY
        The ability to perform geocode operations in which the results are not stored.
        Since:
        100.12.0
      • CLOSEST_FACILITY

        public static final PortalPrivilege.Subtype CLOSEST_FACILITY
        The ability to perform closest facility tasks.
        Since:
        100.12.0
      • LOCATION_ALLOCATION

        public static final PortalPrivilege.Subtype LOCATION_ALLOCATION
        The ability to perform location-allocation tasks.
        Since:
        100.12.0
      • OPTIMIZED_ROUTING

        public static final PortalPrivilege.Subtype OPTIMIZED_ROUTING
        The ability to perform optimized routing tasks.
        Since:
        100.12.0
      • ORIGIN_DESTINATION_COST_MATRIX

        public static final PortalPrivilege.Subtype ORIGIN_DESTINATION_COST_MATRIX
        The ability to perform origin-destination cost matrix tasks.
        Since:
        100.12.0
      • ROUTING

        public static final PortalPrivilege.Subtype ROUTING
        The ability to perform simple routing tasks.
        Since:
        100.12.0
      • SERVICE_AREA

        public static final PortalPrivilege.Subtype SERVICE_AREA
        The ability to perform service area tasks.
        Since:
        100.12.0
      • VEHICLE_ROUTING

        public static final PortalPrivilege.Subtype VEHICLE_ROUTING
        The ability to perform vehicle routing tasks.
        Since:
        100.12.0
    • Method Detail

      • values

        public static PortalPrivilege.Subtype[] 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 (PortalPrivilege.Subtype c : PortalPrivilege.Subtype.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PortalPrivilege.Subtype 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
      • toString

        public java.lang.String toString()
        Returns a string representing the PortalPrivilege.Subtype.
        Overrides:
        toString in class java.lang.Enum<PortalPrivilege.Subtype>
        Returns:
        a string representing the PortalPrivilege.Subtype
        Since:
        100.12.0