]> git.mxchange.org Git - jfinancials-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>
Fri, 29 Apr 2016 19:20:24 +0000 (21:20 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestBean.java

index fadc833a31dd42243623c767686dd557c9f18159..3e1826f00166f7fac0131d995fbd718a2dc83862 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
@@ -36,6 +36,7 @@ import org.mxchange.jcontacts.contact.ContactSessionBeanRemote;
 import org.mxchange.jcontacts.contact.UserContact;
 import org.mxchange.jcontacts.contact.gender.Gender;
 import org.mxchange.jcontacts.contact.utils.ContactUtils;
+import org.mxchange.jcontacts.events.contact.add.AdminAddedContactEvent;
 import org.mxchange.jcontacts.events.contact.add.AdminContactAddedEvent;
 import org.mxchange.jcontacts.events.contact.update.AdminContactUpdatedEvent;
 import org.mxchange.jcontacts.events.contact.update.AdminUpdatedContactEvent;
@@ -48,7 +49,6 @@ import org.mxchange.jphone.phonenumbers.fax.FaxNumber;
 import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
 import org.mxchange.jphone.phonenumbers.landline.LandLineNumber;
 import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
-import org.mxchange.jusercore.events.user.add.AdminAddedUserEvent;
 
 /**
  * An administrative user bean (controller)
@@ -65,11 +65,11 @@ public class AddressbookAdminContactWebRequestBean implements AddressbookAdminCo
        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;
 
        /**
         * Admin helper instance