Interface ReservationObjectRepository
- All Superinterfaces:
 org.springframework.data.repository.CrudRepository<ReservationObjectEntity,,Long> DomainIdRepository<ReservationObjectEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<ReservationObjectEntity,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<ReservationObjectEntity>,org.springframework.data.repository.PagingAndSortingRepository<ReservationObjectEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ReservationObjectEntity>,org.springframework.data.repository.Repository<ReservationObjectEntity,Long> 
@Repository
public interface ReservationObjectRepository
extends DomainIdRepository<ReservationObjectEntity,Long> 
- 
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface sk.iway.iwcm.system.datatable.spring.DomainIdRepository
findAllByDomainId, findAllByDomainId, findFirstByIdAndDomainIdMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, findAll, findAll, findAll, findOneMethods 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
- 
findAllByIdIn
@Query("SELECT roe FROM ReservationObjectEntity roe WHERE roe.id IN :ids") List<ReservationObjectEntity> findAllByIdIn(@Param("ids") Integer[] ids)  - 
isReservationForAllDay
 - 
findAllByDomainIdAndReservationForAllDayFalse
 - 
findAllByDomainIdAndReservationForAllDayTrue
 - 
getAllDayReservationsWhereIdsIn
@Query("SELECT roe FROM ReservationObjectEntity roe WHERE roe.reservationForAllDay = true AND roe.id IN :ids") List<ReservationObjectEntity> getAllDayReservationsWhereIdsIn(@Param("ids") List<Integer> ids)  - 
getMaxReservationsById
 
 -