Interface NetworkHostRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<NetworkHost,,Long> org.springframework.data.jpa.repository.JpaRepository<NetworkHost,,Long> org.springframework.data.repository.ListCrudRepository<NetworkHost,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<NetworkHost,,Long> org.springframework.data.repository.PagingAndSortingRepository<NetworkHost,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<NetworkHost>,org.springframework.data.repository.Repository<NetworkHost,Long>
@Repository
public interface NetworkHostRepository
extends org.springframework.data.jpa.repository.JpaRepository<NetworkHost,Long>
-
Method Summary
Modifier and TypeMethodDescriptionlongcountByHostOperatingSystemId(long hostOperatingSystemIId) longcountByHostRoleId(long hostRoleId) longcountByNetworkItemId(long networkItemId) longcountByNetworkItemIdAndName(long networkItemId, String name) longcountByNetworkItemIn(List<InventoryItem> networkItems) longcountByResponsiblePersonId(long responsiblePersonId) voiddeleteByNetworkItemId(long networkItemId) findByName(String name) findByNetworkItemId(long networkItemId) findByNetworkItemIn(List<InventoryItem> items) 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
-
countByNetworkItemId
long countByNetworkItemId(long networkItemId) -
countByNetworkItemIn
-
countByNetworkItemIdAndName
-
countByResponsiblePersonId
long countByResponsiblePersonId(long responsiblePersonId) -
countByHostRoleId
long countByHostRoleId(long hostRoleId) -
countByHostOperatingSystemId
long countByHostOperatingSystemId(long hostOperatingSystemIId) -
findByNetworkItemId
-
deleteByNetworkItemId
void deleteByNetworkItemId(long networkItemId) -
findByName
-
findByNetworkItemIn
-