Interface ItemModelSearchService

    • Method Detail

      • nonCachingFindByPk

        <T extends ItemModel> java.util.Optional<T> nonCachingFindByPk​(PK pk)
        Finds an ItemModel by the given PK. Warning: this method clears the cache before doing the search. This may impact performance.
        Type Parameters:
        T - Expected type of the item found
        Parameters:
        pk - PK of the item to find
        Returns:
        the ItemModel wrapped in an Optional if found, otherwise Optional.empty()