Package com.evolveum.midpoint.repo.api
Class ModifyObjectResult<T extends ObjectType>
- java.lang.Object
-
- com.evolveum.midpoint.repo.api.ModifyObjectResult<T>
-
public class ModifyObjectResult<T extends ObjectType> extends Object
Contains information about object modification result; primarily needed by repository caching algorithms. Because it is bound to the current (SQL) implementation of the repository, avoid using this information for any other purposes. Note that objectBefore and objectAfter might be null if the object XML representation was not changed. It is currently the case for lookup tables (when rows are modified) and certification campaigns (when cases are modified). In all other cases these are non-null. EXPERIMENTAL. We will probably drop objectBefore and modifications.
-
-
Constructor Summary
Constructors Constructor Description ModifyObjectResult(PrismObject<T> objectBefore, PrismObject<T> objectAfter, Collection<? extends ItemDelta> modifications)
ModifyObjectResult(Collection<? extends ItemDelta> modifications)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismObject<T>
getObjectAfter()
PrismObject<T>
getObjectBefore()
String
toString()
-
-
-
Constructor Detail
-
ModifyObjectResult
public ModifyObjectResult(Collection<? extends ItemDelta> modifications)
-
ModifyObjectResult
public ModifyObjectResult(PrismObject<T> objectBefore, PrismObject<T> objectAfter, Collection<? extends ItemDelta> modifications)
-
-
Method Detail
-
getObjectBefore
public PrismObject<T> getObjectBefore()
-
getObjectAfter
public PrismObject<T> getObjectAfter()
-
-