Class ResourceJpaRepository

  • All Implemented Interfaces:
    ResourceRepository, org.silverpeas.core.persistence.datasource.repository.EntityRepository<Resource>, org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush<Resource>

    @Repository
    public class ResourceJpaRepository
    extends org.silverpeas.core.persistence.datasource.repository.jpa.BasicJpaEntityRepository<Resource>
    implements ResourceRepository
    Author:
    ebonnet
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteResourcesFromCategory​(Long categoryId)  
      List<Resource> findAllBookableResources​(String instanceId)  
      List<Resource> findAllReservedResources​(Long reservationIdToSkip, List<Long> aimedResourceIds, String startPeriod, String endPeriod)  
      List<Resource> findAllResourcesByCategory​(Long categoryId)  
      List<Resource> findAllResourcesForReservation​(Long reservationId)  
      • 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 interface org.silverpeas.core.persistence.datasource.repository.EntityRepository

        contains, delete, delete, deleteByComponentInstanceId, deleteById, deleteById, findByCriteria, flush, getAll, getById, getById, getById, save, save, save
      • Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.WithSaveAndFlush

        saveAndFlush