Interface ShareableEntityRepository

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<ShareableEntity> findAllByProjectIdAndShared​(java.lang.Long projectId, boolean shared)
      Find all shareable entities on project with share status
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findOne
    • Method Detail

      • findAllByProjectIdAndShared

        java.util.List<ShareableEntity> findAllByProjectIdAndShared​(java.lang.Long projectId,
                                                                    boolean shared)
        Find all shareable entities on project with share status
        Parameters:
        projectId - Project id
        shared - Shared or not
        Returns:
        List of shareable entities