Package com.evolveum.midpoint.schema
Enum ObjectOperationOption
- java.lang.Object
-
- java.lang.Enum<ObjectOperationOption>
-
- com.evolveum.midpoint.schema.ObjectOperationOption
-
- All Implemented Interfaces:
Serializable
,Comparable<ObjectOperationOption>
public enum ObjectOperationOption extends Enum<ObjectOperationOption>
- Author:
- semancik
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- if the argument is null
-
hasOption
public static boolean hasOption(Collection<ObjectOperationOption> options, ObjectOperationOption option)
-
createCollection
public static Collection<ObjectOperationOption> createCollection(ObjectOperationOption... options)
-
-