Interface EquipmentRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<RoomEquipment, Long>, org.springframework.data.jpa.repository.JpaRepository<RoomEquipment, Long>, org.springframework.data.repository.ListCrudRepository<RoomEquipment, Long>, org.springframework.data.repository.ListPagingAndSortingRepository<RoomEquipment, Long>, org.springframework.data.repository.PagingAndSortingRepository<RoomEquipment, Long>, org.springframework.data.repository.query.QueryByExampleExecutor<RoomEquipment>, org.springframework.data.repository.Repository<RoomEquipment, Long>

@Table(name="equipment") public interface EquipmentRepository extends org.springframework.data.jpa.repository.JpaRepository<RoomEquipment, Long>
Fetches/saves RoomEquipment from/to the database table equipment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteAllByTypeName(@NonNull String typeName)
    Removes all RoomEquipment whose RoomEquipment.type has the given EquipmentType.name.
    All RoomEquipment in the database table.

    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

    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