aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-04-03 10:30:19 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-04-03 10:30:19 +0200
commitb20ce8edab2cbe947337f2194575f898277df938 (patch)
tree1e4283f2233aad6a15f0abd27ed0cb4963adeccd /src/main/java/at/gv
parentf26318e8ff806f845125a58ef0803a96f9f00ce0 (diff)
downloadmoa-zs-b20ce8edab2cbe947337f2194575f898277df938.tar.gz
moa-zs-b20ce8edab2cbe947337f2194575f898277df938.tar.bz2
moa-zs-b20ce8edab2cbe947337f2194575f898277df938.zip
Add Stubs for RequestHandler and MZS2AppClient
Diffstat (limited to 'src/main/java/at/gv')
-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) {
+
+ }
+
+}