aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/gv/egiz/moazs/DeliveryRequestHandler.java27
-rw-r--r--src/main/java/at/gv/egiz/moazs/Mzs2AppClient.java13
2 files changed, 40 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/DeliveryRequestHandler.java b/src/main/java/at/gv/egiz/moazs/DeliveryRequestHandler.java
new file mode 100644
index 0000000..59325e3
--- /dev/null
+++ b/src/main/java/at/gv/egiz/moazs/DeliveryRequestHandler.java
@@ -0,0 +1,27 @@
+package at.gv.egiz.moazs;
+
+import at.gv.e_government.reference.namespace.moazs10.app2mzs_.DeliveryRequestType;
+import at.gv.e_government.reference.namespace.moazs10.app2mzs_.DeliveryResponseType;
+import org.springframework.stereotype.Component;
+
+import java.util.function.Function;
+
+@Component
+public class DeliveryRequestHandler implements Function<DeliveryRequestType, DeliveryResponseType> {
+
+
+ /**
+ * Handles the Delivery Request
+ * @param request
+ * @return response
+ */
+ @Override
+ public DeliveryResponseType apply(DeliveryRequestType deliveryRequestType) {
+
+ //check if DR is complete
+
+ //
+
+ return null;
+ }
+}
diff --git a/src/main/java/at/gv/egiz/moazs/Mzs2AppClient.java b/src/main/java/at/gv/egiz/moazs/Mzs2AppClient.java
new file mode 100644
index 0000000..fbbe03c
--- /dev/null
+++ b/src/main/java/at/gv/egiz/moazs/Mzs2AppClient.java
@@ -0,0 +1,13 @@
+package at.gv.egiz.moazs;
+
+import at.gv.e_government.reference.namespace.moazs10.app2mzs_.DeliveryResponseType;
+import org.springframework.stereotype.Component;
+
+@Component
+public class Mzs2AppClient {
+
+ public void sendNotification(DeliveryResponseType response) {
+
+ }
+
+}