]> git.mxchange.org Git - juser-login-core.git/blobdiff - src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java
added event when a user updated personal data
[juser-login-core.git] / src / org / mxchange / jusercore / events / user / update / UpdatedUserPersonalDataEvent.java
diff --git a/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java b/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java
new file mode 100644 (file)
index 0000000..93c849a
--- /dev/null
@@ -0,0 +1,35 @@
+/*\r
+ * Copyright (C) 2016 Roland Haeder<roland@mxchange.org>\r
+ *\r
+ * This program is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation, either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *\r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
+ */\r
+package org.mxchange.jusercore.events.user.update;\r
+\r
+import org.mxchange.jusercore.model.user.User;\r
+\r
+/**\r
+ * An interface for events being fired when a user updates personal data.\r
+ * <p>\r
+ * @author Roland Haeder<roland@mxchange.org>\r
+ */\r
+public interface UpdatedUserPersonalDataEvent {\r
+\r
+       /**\r
+        * Getter for updated user instance\r
+        * <p>\r
+        * @return Added user instance\r
+        */\r
+       User getUpdatedUser ();\r
+\r
+}\r