1 package org.imageconverter.domain.conversion;
2
3 import java.util.Optional;
4
5 import org.springframework.data.jpa.repository.JpaRepository;
6 import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
7 import org.springframework.data.repository.PagingAndSortingRepository;
8
9
10
11
12
13
14 public interface ImageConversionRepository extends JpaRepository<ImageConversion, Long>, JpaSpecificationExecutor<ImageConversion>, PagingAndSortingRepository<ImageConversion, Long> {
15
16
17
18
19
20
21
22
23 Optional<ImageConversion> findByFileName(String fileName);
24
25
26
27
28 }