]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Used new "contact-added event"
authorRoland Häder <roland@mxchange.org>
Wed, 20 Apr 2016 14:53:24 +0000 (16:53 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 20 Apr 2016 17:56:44 +0000 (19:56 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestBean.java

index 798afbef7e08ae025779ed28aef79f90c5c99a09..a7f3822be3c352dc1142cef404bf680e0432c5ff 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Haeder
+ * Copyright (C) 2016 Cho-Time GmbH
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as
@@ -31,9 +31,9 @@ import javax.naming.NamingException;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jcontacts.contact.ContactSessionBeanRemote;
 import org.mxchange.jcontacts.contact.gender.Gender;
+import org.mxchange.jcontacts.events.contact.AdminAddedContactEvent;
 import org.mxchange.jcountry.data.Country;
 import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
-import org.mxchange.jusercore.events.user.AdminAddedUserEvent;
 
 /**
  * A user bean (controller)
@@ -50,11 +50,11 @@ public class PizzaAdminContactWebRequestBean implements PizzaAdminContactWebRequ
        private static final long serialVersionUID = 542_145_347_916L;
 
        /**
-        * An event fired when the administrator has added a new user
+        * An event fired when the administrator has added a new contact
         */
        @Inject
        @Any
-       private Event<AdminAddedUserEvent> addedUserEvent;
+       private Event<AdminAddedContactEvent> addedContactEvent;
 
        /**
         * Birth day