Преглед на файлове

Document, Person PLace Form Controller Interfaces

Andrew Grant преди 6 месеца
родител
ревизия
9bc8572be7

+ 18 - 0
src/main/java/scot/carricksoftware/grants/controllers/text/documenttext/DocumentTextFormController.java

@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) Andrew Grant of Carrick Software 29/03/2025, 13:08. All rights reserved.
+ *
+ */
+
+package scot.carricksoftware.grants.controllers.text.documenttext;
+
+import org.springframework.ui.Model;
+import org.springframework.validation.BindingResult;
+import org.springframework.web.bind.annotation.ModelAttribute;
+import scot.carricksoftware.grants.commands.text.DocumentTextCommand;
+
+@SuppressWarnings("unused")
+
+public interface DocumentTextFormController {
+
+    String saveOrUpdate(@ModelAttribute DocumentTextCommand documentTextCommand, BindingResult bindingResult, Model model);
+}

+ 18 - 0
src/main/java/scot/carricksoftware/grants/controllers/text/persontext/PersonTextFormController.java

@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) Andrew Grant of Carrick Software 29/03/2025, 13:08. All rights reserved.
+ *
+ */
+
+package scot.carricksoftware.grants.controllers.text.persontext;
+
+import org.springframework.ui.Model;
+import org.springframework.validation.BindingResult;
+import org.springframework.web.bind.annotation.ModelAttribute;
+import scot.carricksoftware.grants.commands.text.PersonTextCommand;
+
+@SuppressWarnings("unused")
+
+public interface PersonTextFormController {
+
+    String saveOrUpdate(@ModelAttribute PersonTextCommand personTextCommand, BindingResult bindingResult, Model model);
+}

+ 18 - 0
src/main/java/scot/carricksoftware/grants/controllers/text/placetext/PlaceTextFormController.java

@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) Andrew Grant of Carrick Software 29/03/2025, 13:08. All rights reserved.
+ *
+ */
+
+package scot.carricksoftware.grants.controllers.text.placetext;
+
+import org.springframework.ui.Model;
+import org.springframework.validation.BindingResult;
+import org.springframework.web.bind.annotation.ModelAttribute;
+import scot.carricksoftware.grants.commands.text.PlaceTextCommand;
+
+@SuppressWarnings("unused")
+
+public interface PlaceTextFormController {
+
+    String saveOrUpdate(@ModelAttribute PlaceTextCommand placeTextCommand, BindingResult bindingResult, Model model);
+}