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 Type
    Method
    Description
    long
    countByHostOperatingSystemId(long hostOperatingSystemIId)
     
    long
    countByHostRoleId(long hostRoleId)
     
    long
    countByNetworkItemId(long networkItemId)
     
    long
    countByNetworkItemIdAndName(long networkItemId, String name)
     
    long
     
    long
    countByResponsiblePersonId(long responsiblePersonId)
     
    void
    deleteByNetworkItemId(long networkItemId)
     
     
    findByNetworkItemId(long networkItemId)
     
     

    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

      long countByNetworkItemIn(List<InventoryItem> networkItems)
    • countByNetworkItemIdAndName

      long countByNetworkItemIdAndName(long networkItemId, String name)
    • countByResponsiblePersonId

      long countByResponsiblePersonId(long responsiblePersonId)
    • countByHostRoleId

      long countByHostRoleId(long hostRoleId)
    • countByHostOperatingSystemId

      long countByHostOperatingSystemId(long hostOperatingSystemIId)
    • findByNetworkItemId

      List<NetworkHost> findByNetworkItemId(long networkItemId)
    • deleteByNetworkItemId

      void deleteByNetworkItemId(long networkItemId)
    • findByName

      NetworkHost findByName(String name)
    • findByNetworkItemIn

      List<NetworkHost> findByNetworkItemIn(List<InventoryItem> items)