Interface ReservationObjectTimesRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ReservationObjectTimesEntity,Long>, DomainIdRepository<ReservationObjectTimesEntity,Long>, org.springframework.data.jpa.repository.JpaRepository<ReservationObjectTimesEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<ReservationObjectTimesEntity>, org.springframework.data.repository.PagingAndSortingRepository<ReservationObjectTimesEntity,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<ReservationObjectTimesEntity>, org.springframework.data.repository.Repository<ReservationObjectTimesEntity,Long>

@Repository public interface ReservationObjectTimesRepository extends DomainIdRepository<ReservationObjectTimesEntity,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface sk.iway.iwcm.system.datatable.spring.DomainIdRepository

    findAllByDomainId, findAllByDomainId, findFirstByIdAndDomainId

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, findAll, findAll, findAll, findOne

    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

    • findAllByObjectIdAndDomainId

      List<ReservationObjectTimesEntity> findAllByObjectIdAndDomainId(Long objectId, Integer domainId)
    • deleteAllByObjectIdAndDomainId

      @Transactional @Modifying @Query("DELETE FROM ReservationObjectTimesEntity rote WHERE rote.objectId = :objectId AND rote.domainId = :domainId") void deleteAllByObjectIdAndDomainId(@Param("objectId") Long objectId, @Param("domainId") Integer domainId)