Interface CachedObjectValue<T extends ObjectType>

All Known Implementing Classes:
GlobalCacheObjectValue, LocalCacheObjectValue

public interface CachedObjectValue<T extends ObjectType>
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    computeCompleteFlag(@NotNull PrismObject<?> object)
     
     
    boolean
    Is this object complete, i.e., are there no incomplete items in it? This is a very simple mechanism to allow resolving operations with "include" options from the cache.
  • Method Details

    • isComplete

      boolean isComplete()
      Is this object complete, i.e., are there no incomplete items in it? This is a very simple mechanism to allow resolving operations with "include" options from the cache. We assume that if a cached object is complete, then it's safe to return it from the cache regardless of any "include" or "exclude" retrieval options that might be in place. Note that we assume that the object was retrieved WITHOUT any "exclude" options. (Such excluded items are not marked as incomplete.)
    • getObject

      PrismObject<T> getObject()
    • computeCompleteFlag

      static boolean computeCompleteFlag(@NotNull @NotNull PrismObject<?> object)