Interface InventoryItemRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<InventoryItem,Long>, org.springframework.data.jpa.repository.JpaRepository<InventoryItem,Long>, org.springframework.data.repository.ListCrudRepository<InventoryItem,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<InventoryItem,Long>, org.springframework.data.repository.PagingAndSortingRepository<InventoryItem,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<InventoryItem>, org.springframework.data.repository.Repository<InventoryItem,Long>

@Repository public interface InventoryItemRepository extends org.springframework.data.jpa.repository.JpaRepository<InventoryItem,Long>
  • Method Details

    • countByInventoryItemTypeId

      long countByInventoryItemTypeId(long inventoryItemTypeId)
    • countByManufacturerId

      long countByManufacturerId(long manufacturerId)
    • countByInventoryItemStatusId

      long countByInventoryItemStatusId(long inventoryItemStatusId)
    • countByDeliveryId

      long countByDeliveryId(long deliveryId)
    • countByDepotId

      long countByDepotId(long depotId)
    • countByOwnerId

      long countByOwnerId(long ownerId)
    • findByOwnerId

      List<InventoryItem> findByOwnerId(long ownerId)
    • findByInventoryNumber

      InventoryItem findByInventoryNumber(String inventoryNumber)
    • findByParent

      List<InventoryItem> findByParent(InventoryItem parent)
    • findByParentIsNull

      List<InventoryItem> findByParentIsNull()
    • countByParentId

      long countByParentId(long parentId)
    • findByInventoryItemTypeId

      List<InventoryItem> findByInventoryItemTypeId(long inventoryItemTypeId)
    • findByInventoryItemTypeIn

      List<InventoryItem> findByInventoryItemTypeIn(List<InventoryItemType> inventoryItemTypes)
    • findByDepotAndOwnerIn

      List<InventoryItem> findByDepotAndOwnerIn(Depot depot, List<Owner> owners)
    • findByDepotAndOwnerId

      List<InventoryItem> findByDepotAndOwnerId(Depot depot, long ownerId)
    • findByOwnerIn

      List<InventoryItem> findByOwnerIn(List<Owner> owner)
    • findByDepot

      List<InventoryItem> findByDepot(Depot depot)