Enum Class ObjectOperationOption

java.lang.Object
java.lang.Enum<ObjectOperationOption>
com.evolveum.midpoint.schema.ObjectOperationOption
All Implemented Interfaces:
Serializable, Comparable<ObjectOperationOption>, Constable

public enum ObjectOperationOption extends Enum<ObjectOperationOption>
Author:
semancik
  • Enum Constant Details

    • 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 Details

    • values

      public static ObjectOperationOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ObjectOperationOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • hasOption

      public static boolean hasOption(Collection<ObjectOperationOption> options, ObjectOperationOption option)
    • createCollection

      public static Collection<ObjectOperationOption> createCollection(ObjectOperationOption... options)