Class ConflictWatcherImpl
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.ConflictWatcherImpl
- All Implemented Interfaces:
ConflictWatcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ObjectType>
voidafterAddObject
(@NotNull String oid, @NotNull PrismObject<T> object) void
afterDeleteObject
(String oid) <T extends ObjectType>
voidafterGetObject
(PrismObject<T> object) void
afterGetVersion
(String oid, String currentRepoVersion) void
afterModifyObject
(String oid) <T extends ObjectType>
voidbeforeModifyObject
(PrismObject<T> object) int
@NotNull String
getOid()
boolean
boolean
boolean
void
setExpectedVersion
(String version) toString()
-
Constructor Details
-
ConflictWatcherImpl
-
-
Method Details
-
afterAddObject
public <T extends ObjectType> void afterAddObject(@NotNull @NotNull String oid, @NotNull @NotNull PrismObject<T> object) -
afterDeleteObject
-
beforeModifyObject
-
afterModifyObject
-
afterGetVersion
-
afterGetObject
-
getOid
- Specified by:
getOid
in interfaceConflictWatcher
-
hasConflict
public boolean hasConflict()- Specified by:
hasConflict
in interfaceConflictWatcher
-
isInitialized
public boolean isInitialized() -
getExpectedVersion
public int getExpectedVersion() -
isObjectDeleted
public boolean isObjectDeleted() -
setExpectedVersion
- Specified by:
setExpectedVersion
in interfaceConflictWatcher
-
toString
-