Enum RightCheckingMode

    • Enum Constant Detail

      • EXACT

        public static final RightCheckingMode EXACT
        Exact right checking mode, i.e. the user will see all contents he has right on.
        This mode is for not caching results.
      • FAST

        public static final RightCheckingMode FAST
        Fast right checking mode, i.e. the user could not see some contents he has right on.
        This mode is for caching results.
      • NONE

        public static final RightCheckingMode NONE
        No right checking mode, i.e. the user could see some contents he does not have right on.
        This mode is for not caching results, but having better performances than EXACT (because Solr will never query the read-rights to Ametys)
    • Method Detail

      • values

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

        public static RightCheckingMode valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null