Class ConflictWatcherImpl

java.lang.Object
com.evolveum.midpoint.repo.sqlbase.ConflictWatcherImpl
All Implemented Interfaces:
ConflictWatcher

public class ConflictWatcherImpl extends Object implements ConflictWatcher
  • Constructor Details

    • ConflictWatcherImpl

      public ConflictWatcherImpl(@NotNull @NotNull String oid)
  • Method Details

    • afterAddObject

      public <T extends ObjectType> void afterAddObject(@NotNull @NotNull String oid, @NotNull @NotNull PrismObject<T> object)
    • afterDeleteObject

      public void afterDeleteObject(String oid)
    • beforeModifyObject

      public <T extends ObjectType> void beforeModifyObject(PrismObject<T> object)
    • afterModifyObject

      public void afterModifyObject(String oid)
    • afterGetVersion

      public void afterGetVersion(String oid, String currentRepoVersion)
    • afterGetObject

      public <T extends ObjectType> void afterGetObject(PrismObject<T> object)
    • getOid

      @NotNull public @NotNull String getOid()
      Specified by:
      getOid in interface ConflictWatcher
    • hasConflict

      public boolean hasConflict()
      Specified by:
      hasConflict in interface ConflictWatcher
    • isInitialized

      public boolean isInitialized()
    • getExpectedVersion

      public int getExpectedVersion()
    • isObjectDeleted

      public boolean isObjectDeleted()
    • setExpectedVersion

      public void setExpectedVersion(String version)
      Specified by:
      setExpectedVersion in interface ConflictWatcher
    • toString

      public String toString()
      Overrides:
      toString in class Object