|
@@ -9,25 +9,9 @@ import org.springframework.data.repository.PagingAndSortingRepository;
|
|
import org.springframework.stereotype.Repository;
|
|
import org.springframework.stereotype.Repository;
|
|
import scot.carricksoftware.grants.domains.certificates.MarriageCertificate;
|
|
import scot.carricksoftware.grants.domains.certificates.MarriageCertificate;
|
|
|
|
|
|
-import java.util.Optional;
|
|
|
|
-
|
|
|
|
@SuppressWarnings("unused")
|
|
@SuppressWarnings("unused")
|
|
@Repository
|
|
@Repository
|
|
public interface MarriageCertificateRepository extends PagingAndSortingRepository<MarriageCertificate, Long> {
|
|
public interface MarriageCertificateRepository extends PagingAndSortingRepository<MarriageCertificate, Long> {
|
|
|
|
|
|
- @SuppressWarnings("unused")
|
|
|
|
- MarriageCertificate save(MarriageCertificate marriageCertificate);
|
|
|
|
-
|
|
|
|
- @SuppressWarnings("unused")
|
|
|
|
- long count();
|
|
|
|
-
|
|
|
|
- @SuppressWarnings("unused")
|
|
|
|
- void deleteById(Long id);
|
|
|
|
-
|
|
|
|
- @SuppressWarnings("unused")
|
|
|
|
- Optional<MarriageCertificate> findById(Long id);
|
|
|
|
-
|
|
|
|
- @SuppressWarnings("unused")
|
|
|
|
- Iterable<MarriageCertificate> findAll();
|
|
|
|
|
|
|
|
}
|
|
}
|