Interface ReservationRepository
- All Superinterfaces:
org.silverpeas.core.persistence.datasource.repository.EntityRepository<Reservation>,org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush<Reservation>
- All Known Implementing Classes:
ReservationJpaManager
public interface ReservationRepository
extends org.silverpeas.core.persistence.datasource.repository.EntityRepository<Reservation>, org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush<Reservation>
- Author:
- ehugonnet
-
Method Summary
Modifier and TypeMethodDescriptionfindAllReservations(String instanceId) findAllReservationsForCategoryInRange(String instanceId, Long categoryId, String startPeriod, String endPeriod) findAllReservationsForResourceInRange(String instanceId, Long resourceId, String startPeriod, String endPeriod) findAllReservationsForUser(String instanceId, Integer userId) findAllReservationsForUserAndCategoryInRange(String instanceId, Integer userId, Long categoryId, String startPeriod, String endPeriod) findAllReservationsForUserAndResourceInRange(String instanceId, Integer userId, Long resourceId, String startPeriod, String endPeriod) findAllReservationsForUserInRange(String instanceId, Integer userId, String startPeriod, String endPeriod) findAllReservationsForValidation(String instanceId, Long managerId, String startPeriod, String endPeriod) findAllReservationsInRange(String instanceId, String startPeriod, String endPeriod) findAllReservationsNotRefusedForResourceInRange(Long resourceId, String startPeriod, String endPeriod) Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.EntityRepository
contains, delete, delete, deleteByComponentInstanceId, deleteById, deleteById, findByCriteria, flush, getAll, getById, getById, getById, save, save, saveMethods inherited from interface org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush
saveAndFlush
-
Method Details
-
findAllReservationsInRange
List<Reservation> findAllReservationsInRange(String instanceId, String startPeriod, String endPeriod) -
findAllReservationsForUserInRange
-
findAllReservationsForUser
-
findAllReservationsForValidation
-
findAllReservationsNotRefusedForResourceInRange
List<Reservation> findAllReservationsNotRefusedForResourceInRange(Long resourceId, String startPeriod, String endPeriod) -
findAllReservationsForCategoryInRange
-
findAllReservationsForUserAndCategoryInRange
-
findAllReservationsForResourceInRange
-
findAllReservationsForUserAndResourceInRange
-
findAllReservations
-