浏览代码

GatherDeathCertificateTimeLineData

Andrew Grant 2 月之前
父节点
当前提交
029d5b2b5f

+ 12 - 0
src/main/java/scot/carricksoftware/grantswriter/writer/latex/parts/people/subsections/helpers/GatherDeathCertificateTimeLineData.java

@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
+ *
+ */
+
+package scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.helpers;
+
+import scot.carricksoftware.grantswriter.domains.people.Person;
+
+public interface GatherDeathCertificateTimeLineData {
+   void gather(@SuppressWarnings("unused") Person person);
+}

+ 30 - 0
src/main/java/scot/carricksoftware/grantswriter/writer/latex/parts/people/subsections/helpers/GatherDeathCertificateTimeLineDataImpl.java

@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
+ *
+ */
+
+package scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.helpers;
+
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+import org.springframework.stereotype.Component;
+import scot.carricksoftware.grantswriter.domains.people.Person;
+import scot.carricksoftware.grantswriter.services.certificates.deathcertificate.DeathCertificateService;
+
+
+@Component
+public class GatherDeathCertificateTimeLineDataImpl implements GatherDeathCertificateTimeLineData {
+    private static final Logger logger = LogManager.getLogger(GatherDeathCertificateTimeLineDataImpl.class);
+
+    private final DeathCertificateService deathCertificateService;
+
+    public GatherDeathCertificateTimeLineDataImpl(DeathCertificateService deathCertificateService) {
+        this.deathCertificateService = deathCertificateService;
+    }
+
+    @Override
+    public void gather(Person person) {
+       logger.debug("GatherDeathCertificateTimeLineDataImpl::gather");
+    }
+
+}