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 Summary
Modifier and TypeMethodDescriptionlong
countByDeliveryId
(long deliveryId) long
countByDepotId
(long depotId) long
countByInventoryItemStatusId
(long inventoryItemStatusId) long
countByInventoryItemTypeId
(long inventoryItemTypeId) long
countByManufacturerId
(long manufacturerId) long
countByOwnerId
(long ownerId) long
countByParentId
(long parentId) findByDepot
(Depot depot) findByDepotAndOwnerId
(Depot depot, long ownerId) findByDepotAndOwnerIn
(Depot depot, List<Owner> owners) findByInventoryItemTypeId
(long inventoryItemTypeId) findByInventoryItemTypeIn
(List<InventoryItemType> inventoryItemTypes) findByInventoryNumber
(String inventoryNumber) findByOwnerId
(long ownerId) findByOwnerIn
(List<Owner> owner) findByParent
(InventoryItem parent) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
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
-
findByInventoryNumber
-
findByParent
-
findByParentIsNull
List<InventoryItem> findByParentIsNull() -
countByParentId
long countByParentId(long parentId) -
findByInventoryItemTypeId
-
findByInventoryItemTypeIn
-
findByDepotAndOwnerIn
-
findByDepotAndOwnerId
-
findByOwnerIn
-
findByDepot
-