Class ReservationJpaManager
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.repository.jpa.AbstractJpaEntityRepository<E>
-
- org.silverpeas.core.persistence.datasource.repository.jpa.BasicJpaEntityRepository<Reservation>
-
- org.silverpeas.components.resourcesmanager.repository.ReservationJpaManager
-
- All Implemented Interfaces:
ReservationRepository,org.silverpeas.core.persistence.datasource.repository.EntityRepository<Reservation>,org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush<Reservation>
@Repository public class ReservationJpaManager extends org.silverpeas.core.persistence.datasource.repository.jpa.BasicJpaEntityRepository<Reservation> implements ReservationRepository
- Author:
- ebonnet
-
-
Constructor Summary
Constructors Constructor Description ReservationJpaManager()
-
Method Summary
-
Methods inherited from class org.silverpeas.core.persistence.datasource.repository.jpa.BasicJpaEntityRepository
deleteByComponentInstanceId, saveAndFlush
-
Methods inherited from class org.silverpeas.core.persistence.datasource.repository.jpa.AbstractJpaEntityRepository
contains, countByCriteria, countFromJpqlString, delete, deleteById, deleteFromJpqlQuery, deleteFromNamedQuery, findByCriteria, findByNamedQuery, findFirstByNamedQuery, flush, getAll, getById, getById, getEntityClass, getEntityManager, getFromJpqlString, getFromJpqlString, getFromNamedQuery, getFromNamedQuery, getIdentifierConverter, getMaximumItemsInClause, listFromJpqlString, listFromJpqlString, listFromJpqlString, listFromJpqlString, listFromNamedQuery, listFromNamedQuery, newNamedParameters, noParameter, save, setMaximumItemsInClause, split, streamByNamedQuery, streamByNamedQuery, streamFromJpqlString, streamFromJpqlString, updateFromJpqlQuery, updateFromNamedQuery
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
findAllReservationsInRange
public List<Reservation> findAllReservationsInRange(String instanceId, String startPeriod, String endPeriod)
- Specified by:
findAllReservationsInRangein interfaceReservationRepository
-
findAllReservationsForUserInRange
public List<Reservation> findAllReservationsForUserInRange(String instanceId, Integer userId, String startPeriod, String endPeriod)
- Specified by:
findAllReservationsForUserInRangein interfaceReservationRepository
-
findAllReservationsForUser
public List<Reservation> findAllReservationsForUser(String instanceId, Integer userId)
- Specified by:
findAllReservationsForUserin interfaceReservationRepository
-
findAllReservationsForValidation
public List<Reservation> findAllReservationsForValidation(String instanceId, Long managerId, String startPeriod, String endPeriod)
- Specified by:
findAllReservationsForValidationin interfaceReservationRepository
-
findAllReservationsNotRefusedForResourceInRange
public List<Reservation> findAllReservationsNotRefusedForResourceInRange(Long resourceId, String startPeriod, String endPeriod)
- Specified by:
findAllReservationsNotRefusedForResourceInRangein interfaceReservationRepository
-
findAllReservationsForCategoryInRange
public List<Reservation> findAllReservationsForCategoryInRange(String instanceId, Long categoryId, String startPeriod, String endPeriod)
- Specified by:
findAllReservationsForCategoryInRangein interfaceReservationRepository
-
findAllReservationsForUserAndCategoryInRange
public List<Reservation> findAllReservationsForUserAndCategoryInRange(String instanceId, Integer userId, Long categoryId, String startPeriod, String endPeriod)
- Specified by:
findAllReservationsForUserAndCategoryInRangein interfaceReservationRepository
-
findAllReservationsForResourceInRange
public List<Reservation> findAllReservationsForResourceInRange(String instanceId, Long resourceId, String startPeriod, String endPeriod)
- Specified by:
findAllReservationsForResourceInRangein interfaceReservationRepository
-
findAllReservationsForUserAndResourceInRange
public List<Reservation> findAllReservationsForUserAndResourceInRange(String instanceId, Integer userId, Long resourceId, String startPeriod, String endPeriod)
- Specified by:
findAllReservationsForUserAndResourceInRangein interfaceReservationRepository
-
findAllReservations
public List<Reservation> findAllReservations(String instanceId)
- Specified by:
findAllReservationsin interfaceReservationRepository
-
-