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 TypeMethodDescriptionlong
countByHostOperatingSystemId
(long hostOperatingSystemIId) long
countByHostRoleId
(long hostRoleId) long
countByNetworkItemId
(long networkItemId) long
countByNetworkItemIdAndName
(long networkItemId, String name) long
countByNetworkItemIn
(List<InventoryItem> networkItems) long
countByResponsiblePersonId
(long responsiblePersonId) void
deleteByNetworkItemId
(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, 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
-
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
-