]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Thu, 22 Oct 2015 09:12:39 +0000 (11:12 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Oct 2015 09:12:39 +0000 (11:12 +0200)
- updated constructor invocation + removed no longer needed setter calls
- updated jar(s)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcontacts-business-core.jar
lib/jcontacts-core.jar
lib/jcountry-core.jar
lib/jphone-core.jar
lib/juser-core.jar
src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java
src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java

index 0fe8af59887fac4e9ca050a8d5b51878e29999b2..20fa3745a1fd031cd1e06ab42ff53330983d49ef 100644 (file)
Binary files a/lib/jcontacts-business-core.jar and b/lib/jcontacts-business-core.jar differ
index 6b3619e1b879be6ab4b7b20ecf765dde842559b6..39ba8b2afd0485a67193d21df02299ba987fe176 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index 234d3fbe4b8bfd5ad614a4b2509deb29ba454fef..28024eeb45e65d2334a4e91585545cbe4004aa66 100644 (file)
Binary files a/lib/jcountry-core.jar and b/lib/jcountry-core.jar differ
index a5d222b5e458841311e097be654fba5408b3bc86..e5c2573169bfc234a14736809e9df575171e2584 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 250549b88c0f7b748202c4f70c205928268eaf2f..1bd555dcbee0a4ab63c5f9ebbdb2abe1ea0e0564 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index eb4dee33e9a3ea4e6fad828c25b817fba7adae60..0c01a0818b10cdae92e0eebd85d41bc53e2bda40 100644 (file)
@@ -41,7 +41,6 @@ import org.mxchange.addressbook.model.addressbook.Addressbook;
 import org.mxchange.addressbook.model.addressbook.AddressbookSessionBeanRemote;
 import org.mxchange.addressbook.model.addressbook.UserAddressbook;
 import org.mxchange.addressbook.model.addressbook.entry.AddressbookEntry;
-import org.mxchange.addressbook.model.addressbook.status.AddressbokStatus;
 import org.mxchange.jusercore.events.login.UserLoggedInEvent;
 import org.mxchange.jusercore.model.user.User;
 
@@ -143,12 +142,7 @@ public class AddressbookWebSessionBean implements AddressbookWebSessionControlle
                }
 
                // Create address book instance with name
-               Addressbook book = new UserAddressbook(this.getAddressbookName());
-
-               // Set default status to UNLOCKED and owner
-               book.setAddressbookStatus(AddressbokStatus.UNLOCKED);
-               book.setAddressbookUser(this.loginController.getLoggedInUser());
-               book.setAddressbookCreated(new GregorianCalendar());
+               Addressbook book = new UserAddressbook(this.getAddressbookName(), this.loginController.getLoggedInUser(), new GregorianCalendar());
 
                try {
                        // Register this address book
index a3ace0cbc7363369c1042a59107e09c04d14898a..c466d99812ad997a0a82000976e1f2fcd9a03fc3 100644 (file)
@@ -334,9 +334,9 @@ public class UserWebSessionBean implements UserWebSessionController {
                user.setUserCreated(new GregorianCalendar());
 
                // Generate phone number
-               DialableLandLineNumber phone = new LandLineNumber(this.getPhoneCountry(), this.getPhoneAreaCode(), this.getPhoneNumber());
-               DialableCellphoneNumber cellphone = new CellphoneNumber(this.getCellphoneCarrier(), this.getCellphoneNumber());
-               DialableFaxNumber fax = new FaxNumber(this.getFaxCountry(), this.getFaxAreaCode(), this.getFaxNumber());
+               DialableLandLineNumber phone = new LandLineNumber(this.getPhoneCountry(), this.getPhoneAreaCode(), this.getPhoneNumber(), new GregorianCalendar());
+               DialableCellphoneNumber cellphone = new CellphoneNumber(this.getCellphoneCarrier(), this.getCellphoneNumber(), new GregorianCalendar());
+               DialableFaxNumber fax = new FaxNumber(this.getFaxCountry(), this.getFaxAreaCode(), this.getFaxNumber(), new GregorianCalendar());
 
                // Create new contact
                Contact contact = new UserContact(this.getGender(), this.getFirstName(), this.getFamilyName());