com.evolveum.midpoint.schema
Enum ObjectOperationOption

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

public enum ObjectOperationOption
extends Enum<ObjectOperationOption>

Author:
semancik

Enum Constant Summary
CRYPT
          Encrypt any cleartext data on write, decrypt any encrypted data on read.
FORCE
          Force the operation even if it would otherwise fail due to external failure.
NO_FETCH
          No not fetch any information from external sources, e.g.
RAW
          Avoid any smart processing of the data except for schema application.
RESOLVE
          Resolve the object reference.
 
Method Summary
static Collection<ObjectOperationOption> createCollection(ObjectOperationOption... options)
           
static boolean hasOption(Collection<ObjectOperationOption> options, ObjectOperationOption option)
           
static ObjectOperationOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ObjectOperationOption[] 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

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

hasOption

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

createCollection

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


Copyright © 2013 evolveum. All Rights Reserved.