Interface ItemModelSearchService

All Known Implementing Classes:
DefaultItemModelSearchService, DefaultWebhookSearchService

public interface ItemModelSearchService
Convenience service to search for ItemModels
  • Method Details

    • nonCachingFindByPk

      <T extends ItemModel> 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()