|
@@ -1,33 +0,0 @@
|
|
|
-/*
|
|
|
- * Copyright (c) Andrew Grant of Carrick Software 11/03/2025, 19:47. All rights reserved.
|
|
|
- *
|
|
|
- */
|
|
|
-
|
|
|
-package scot.carricksoftware.grantswriter.repositories.text;
|
|
|
-
|
|
|
-import org.springframework.data.repository.PagingAndSortingRepository;
|
|
|
-import org.springframework.stereotype.Repository;
|
|
|
-import scot.carricksoftware.grantswriter.domains.text.DocumentText;
|
|
|
-
|
|
|
-import java.util.Optional;
|
|
|
-
|
|
|
-
|
|
|
-@SuppressWarnings("unused")
|
|
|
-@Repository
|
|
|
-public interface DocumentTextRepository extends PagingAndSortingRepository<DocumentText, Long> {
|
|
|
-
|
|
|
- @SuppressWarnings("unused")
|
|
|
- DocumentText save(DocumentText documentText);
|
|
|
-
|
|
|
- @SuppressWarnings("unused")
|
|
|
- long count();
|
|
|
-
|
|
|
- @SuppressWarnings("unused")
|
|
|
- void deleteById(Long id);
|
|
|
-
|
|
|
- @SuppressWarnings("unused")
|
|
|
- Optional<DocumentText> findById(Long id);
|
|
|
-
|
|
|
- @SuppressWarnings("unused")
|
|
|
- Iterable<DocumentText> findAll();
|
|
|
-}
|