# Uses of Class
org.silverpeas.components.resourcesmanager.model.Reservation

Packages that use Reservation
Package
Description
org.silverpeas.components.resourcesmanager.model
org.silverpeas.components.resourcesmanager.repository
org.silverpeas.components.resourcesmanager.service

- ## Uses of Reservation in org.silverpeas.components.resourcesmanager.model

  Methods in org.silverpeas.components.resourcesmanager.model that return Reservation
  Modifier and Type
  Method
  Description
  `Reservation`
  ReservedResource.`getReservation()`
  Methods in org.silverpeas.components.resourcesmanager.model with parameters of type Reservation
  Modifier and Type
  Method
  Description
  `void`
  ReservedResource.`setReservation(Reservation reservation)`

- ## Uses of Reservation in org.silverpeas.components.resourcesmanager.repository

  Methods in org.silverpeas.components.resourcesmanager.repository that return types with arguments of type Reservation
  Modifier and Type
  Method
  Description
  `List<Reservation>`
  ReservationJpaManager.`findAllReservations(String instanceId)`
  `List<Reservation>`
  ReservationRepository.`findAllReservations(String instanceId)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsForCategoryInRange(String instanceId, Long categoryId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsForCategoryInRange(String instanceId, Long categoryId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsForResourceInRange(String instanceId, Long resourceId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsForResourceInRange(String instanceId, Long resourceId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsForUser(String instanceId, Integer userId)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsForUser(String instanceId, Integer userId)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsForUserAndCategoryInRange(String instanceId, Integer userId, Long categoryId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsForUserAndCategoryInRange(String instanceId, Integer userId, Long categoryId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsForUserAndResourceInRange(String instanceId, Integer userId, Long resourceId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsForUserAndResourceInRange(String instanceId, Integer userId, Long resourceId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsForUserInRange(String instanceId, Integer userId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsForUserInRange(String instanceId, Integer userId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsForValidation(String instanceId, Long managerId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsForValidation(String instanceId, Long managerId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsInRange(String instanceId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsInRange(String instanceId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationJpaManager.`findAllReservationsNotRefusedForResourceInRange(Long resourceId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationRepository.`findAllReservationsNotRefusedForResourceInRange(Long resourceId, String startPeriod, String endPeriod)`

- ## Uses of Reservation in org.silverpeas.components.resourcesmanager.service

  Methods in org.silverpeas.components.resourcesmanager.service that return Reservation
  Modifier and Type
  Method
  Description
  `Reservation`
  ReservationService.`getReservation(long id)`
  `Reservation`
  ResourcesManager.`getReservation(String instanceId, Long reservationId)`
  `Reservation`
  SimpleResourcesManager.`getReservation(String instanceId, Long reservationId)`
  Methods in org.silverpeas.components.resourcesmanager.service that return types with arguments of type Reservation
  Modifier and Type
  Method
  Description
  `List<Reservation>`
  ReservationService.`findAllReservations(String instanceId)`
  `List<Reservation>`
  ReservationService.`findAllReservationsForCategoryInRange(String instanceId, Integer userId, Long categoryId, String startPeriod, String endPeriod)`
  Finds all reservations related to the given user on the given period and for which at least one resource of the given category is attached.
  `List<Reservation>`
  ReservationService.`findAllReservationsForResourceInRange(String instanceId, Integer userId, Long resourceId, String startPeriod, String endPeriod)`
  Finds all reservations related to the given user on the given period and for which the given resource is attached.
  `List<Reservation>`
  ReservationService.`findAllReservationsForUser(String instanceId, Integer userId)`
  `List<Reservation>`
  ReservationService.`findAllReservationsForValidation(String instanceId, Long userId, String startPeriod, String endPeriod)`
  `List<Reservation>`
  ReservationService.`findAllReservationsInRange(String instanceId, Integer userId, String startPeriod, String endPeriod)`
  Finds all reservations related to the given user on the given period.
  `List<Reservation>`
  ResourcesManager.`getReservationForValidation(String instanceId, String userId, org.silverpeas.core.date.period.Period period)`
  `List<Reservation>`
  SimpleResourcesManager.`getReservationForValidation(String instanceId, String userId, org.silverpeas.core.date.period.Period period)`
  `List<Reservation>`
  ResourcesManager.`getReservationOfUser(String instanceId, Integer userId, org.silverpeas.core.date.period.Period period)`
  `List<Reservation>`
  SimpleResourcesManager.`getReservationOfUser(String instanceId, Integer userId, org.silverpeas.core.date.period.Period period)`
  `List<Reservation>`
  ResourcesManager.`getReservations(String instanceId)`
  `List<Reservation>`
  SimpleResourcesManager.`getReservations(String instanceId)`
  `List<Reservation>`
  ResourcesManager.`getReservationWithResource(String instanceId, Integer userId, org.silverpeas.core.date.period.Period period, Long resourceId)`
  `List<Reservation>`
  SimpleResourcesManager.`getReservationWithResource(String instanceId, Integer userId, org.silverpeas.core.date.period.Period period, Long resourceId)`
  `List<Reservation>`
  ResourcesManager.`getReservationWithResourcesOfCategory(String instanceId, Integer userId, org.silverpeas.core.date.period.Period period, Long categoryId)`
  `List<Reservation>`
  SimpleResourcesManager.`getReservationWithResourcesOfCategory(String instanceId, Integer userId, org.silverpeas.core.date.period.Period period, Long categoryId)`
  `List<Reservation>`
  ResourcesManager.`getUserReservations(String instanceId, String userId)`
  `List<Reservation>`
  SimpleResourcesManager.`getUserReservations(String instanceId, String userId)`
  Methods in org.silverpeas.components.resourcesmanager.service with parameters of type Reservation
  Modifier and Type
  Method
  Description
  `String`
  ReservationService.`computeReservationStatus(Reservation reservation)`
  `void`
  ReservationService.`createReservation(Reservation reservation, List<Long> resourceIds)`
  `void`
  ResourcesManager.`saveReservation(Reservation reservation, List<Long> resourceIds)`
  `void`
  SimpleResourcesManager.`saveReservation(Reservation reservation, List<Long> resourceIds)`
  `void`
  ReservationService.`updateReservation(Reservation reservation)`
  `void`
  ResourcesManager.`updateReservation(Reservation reservation, List<Long> resourceIds, boolean updateDate)`
  `void`
  SimpleResourcesManager.`updateReservation(Reservation reservation, List<Long> resourceIds, boolean updateDate)`