Package com.evolveum.midpoint.schema
Class ObjectDeltaOperation<O extends ObjectType>
- java.lang.Object
-
- com.evolveum.midpoint.schema.ObjectDeltaOperation<O>
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
LensObjectDeltaOperation
public class ObjectDeltaOperation<O extends ObjectType> extends Object implements DebugDumpable, Serializable, Cloneable
- Author:
- Radovan Semancik
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ObjectDeltaOperation()
ObjectDeltaOperation(ObjectDelta<O> objectDelta)
ObjectDeltaOperation(ObjectDelta<O> objectDelta, @Nullable OperationResult executionResult)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
ObjectDeltaOperation
public ObjectDeltaOperation()
-
ObjectDeltaOperation
public ObjectDeltaOperation(ObjectDelta<O> objectDelta)
-
ObjectDeltaOperation
public ObjectDeltaOperation(ObjectDelta<O> objectDelta, @Nullable @Nullable OperationResult executionResult)
-
-
Method Detail
-
getObjectDelta
public ObjectDelta<O> getObjectDelta()
-
setObjectDelta
public void setObjectDelta(ObjectDelta<O> objectDelta)
-
getExecutionResult
@Nullable public @Nullable OperationResult getExecutionResult()
-
setExecutionResult
public void setExecutionResult(@Nullable @Nullable OperationResult executionResult)
-
getObjectName
public PolyString getObjectName()
-
setObjectName
public void setObjectName(PolyString objectName)
-
getResourceOid
public String getResourceOid()
-
setResourceOid
public void setResourceOid(String resourceOid)
-
getResourceName
public PolyString getResourceName()
-
setResourceName
public void setResourceName(PolyString resourceName)
-
containsDelta
public boolean containsDelta(ObjectDelta<O> delta, ParameterizedEquivalenceStrategy equivalenceStrategy)
-
clone
public ObjectDeltaOperation<O> clone()
-
copyToClone
protected void copyToClone(ObjectDeltaOperation<O> clone)
-
checkConsistence
public static void checkConsistence(Collection<? extends ObjectDeltaOperation<?>> deltas)
-
checkConsistence
public void checkConsistence()
-
cloneCollection
public static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> origCollection)
-
cloneDeltaCollection
public static Collection<ObjectDeltaOperation<? extends ObjectType>> cloneDeltaCollection(Collection<ObjectDelta<? extends ObjectType>> origCollection)
-
findFocusDeltaInCollection
public static ObjectDeltaOperation<? extends ObjectType> findFocusDeltaInCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> odos)
-
findFocusDeltaOidInCollection
public static String findFocusDeltaOidInCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> odos)
-
findProjectionDeltasInCollection
public static List<ObjectDeltaOperation<ShadowType>> findProjectionDeltasInCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> odos)
-
findProjectionDeltaOidsInCollection
public static List<String> findProjectionDeltaOidsInCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> executeChanges)
-
findAddDelta
public static <O extends ObjectType> ObjectDeltaOperation<O> findAddDelta(Collection<ObjectDeltaOperation<? extends ObjectType>> executedChanges, PrismObject<O> object)
-
findAddDeltaOid
public static <O extends ObjectType> String findAddDeltaOid(Collection<ObjectDeltaOperation<? extends ObjectType>> executedChanges, PrismObject<O> object)
-
findProjectionDeltaOidInCollection
public static String findProjectionDeltaOidInCollection(Collection<ObjectDeltaOperation<? extends ObjectType>> executeChanges)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
shorterDebugDump
public String shorterDebugDump(int indent)
-
getDebugDumpClassName
protected String getDebugDumpClassName()
-
shorterDebugDump
public static <O extends ObjectType> String shorterDebugDump(List<? extends ObjectDeltaOperation<O>> deltaOps, int indent)
-
getStatus
public OperationResultStatus getStatus()
-
wasReallyExecuted
@Experimental public boolean wasReallyExecuted()
Approximate information if the delta was "really" executed i.e. if there's a real chance that the delta was - at least partially - applied. Any solution based on operation result status will never be 100% accurate, e.g. because a network timeout could occur just before returning a status value. So please use with care.
-
getOid
public String getOid()
-
-