Enum ObjectOperationOption

    • Enum Constant Detail

      • RESOLVE

        public static final ObjectOperationOption RESOLVE
        Resolve the object reference. This only makes sense with a (path-based) selector.
      • NO_FETCH

        public static final ObjectOperationOption NO_FETCH
        No not fetch any information from external sources, e.g. do not fetch account data from resource, do not fetch resource schema, etc. Such operation returns only the data stored in midPoint repository.
      • FORCE

        public static final ObjectOperationOption FORCE
        Force the operation even if it would otherwise fail due to external failure. E.g. attempt to delete an account that no longer exists on resource may fail without a FORCE option. If FORCE option is used then the operation is finished even if the account does not exist (e.g. at least shadow is removed from midPoint repository).
      • RAW

        public static final ObjectOperationOption RAW
        Avoid any smart processing of the data except for schema application. Do not synchronize the data, do not apply any expressions, etc.
      • CRYPT

        public static final ObjectOperationOption CRYPT
        Encrypt any cleartext data on write, decrypt any encrypted data on read. Applies only to the encrypted data formats (ProtectedString, ProtectedByteArray).
    • Method Detail

      • values

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

        public static ObjectOperationOption 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