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 TypeMethodDescriptionlongcountByDeliveryId(long deliveryId) longcountByDepotId(long depotId) longcountByInventoryItemStatusId(long inventoryItemStatusId) longcountByInventoryItemTypeId(long inventoryItemTypeId) longcountByManufacturerId(long manufacturerId) longcountByOwnerId(long ownerId) longcountByParentId(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, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods 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
-