<copyfiles files="${file.reference.jcontacts-core.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jcontacts-business-core.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jcontacts-lib.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.juser-core.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${reference.addressbook-lib.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.cdi-api.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.gf-client.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.jcontacts-core.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jcontacts-business-core.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.jcontacts-lib.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+ <copyfiles files="${file.reference.juser-core.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${reference.addressbook-lib.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.cdi-api.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.gf-client.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
-build.xml.data.CRC32=8c263e2e
+build.xml.data.CRC32=625e5111
build.xml.script.CRC32=be5f34f7
build.xml.stylesheet.CRC32=651128d4@1.68.1.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=8c263e2e
-nbproject/build-impl.xml.script.CRC32=51a78ef4
+nbproject/build-impl.xml.data.CRC32=625e5111
+nbproject/build-impl.xml.script.CRC32=fb1e7256
nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.68.1.1
file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar
file.reference.jcore.jar=lib/jcore.jar
file.reference.jcoreee.jar=lib/jcoreee.jar
+file.reference.juser-core.jar=lib/juser-core.jar
includes=**
j2ee.compile.on.save=true
j2ee.copy.static.files.on.save=true
${file.reference.jcontacts-core.jar}:\
${file.reference.jcontacts-business-core.jar}:\
${file.reference.jcontacts-lib.jar}:\
+ ${file.reference.juser-core.jar}:\
${reference.addressbook-lib.jar}:\
${file.reference.cdi-api.jar}:\
${file.reference.gf-client.jar}
source.reference.jcore-logger-lib.jar=../jcore-logger-lib/src/
source.reference.jcore.jar=../jcore/src/
source.reference.jcoreee.jar=../jcoreee/src/
+source.reference.juser-core.jar=../juser-core/src/
source.root=src
src.dir=${source.root}/java
test.src.dir=test
<file>${file.reference.jcontacts-lib.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
+ <library dirs="200">
+ <file>${file.reference.juser-core.jar}</file>
+ <path-in-war>WEB-INF/lib</path-in-war>
+ </library>
<library dirs="200">
<file>${reference.addressbook-lib.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
import org.mxchange.jcontacts.contact.Contact;
import org.mxchange.jcontacts.contact.UserContact;
import org.mxchange.jcontacts.contact.gender.Gender;
+import org.mxchange.jusercore.model.user.LoginUser;
+import org.mxchange.jusercore.model.user.User;
/**
* A user bean (controller)
}
@Override
- public User createCustomerInstance () {
+ public User createUserInstance () {
// User message
- //this.getLogger().logTrace("createInstance: CALLED!");
+ //this.getLogger().logTrace("createUserInstance: CALLED!");
// Required personal data must be set
assert (this.isRequiredPersonalDataSet()) : "not all personal data is set"; //NOI18N
// Create new user instance
- User user = new AddressbookUser();
+ User user = new LoginUser();
// Create new contact
Contact contact = new UserContact(this.getGender(), this.getFirstName(), this.getFamilyName(), this.getCompanyName());
user.setContact(contact);
// Trace message
- //this.getLogger().logTrace(MessageFormat.format("createInstance: user={0} - EXIT!", user));
+ //this.getLogger().logTrace(MessageFormat.format("createUserInstance: user={0} - EXIT!", user));
// Return it
return user;
}
import java.io.Serializable;
import org.mxchange.jcontacts.contact.gender.Gender;
+import org.mxchange.jusercore.model.user.User;
/**
* An interface for user beans
/**
* Creates an instance from all properties
* <p>
- * @return A Customer instance
+ * @return A user instance
*/
- public User createCustomerInstance ();
+ public User createUserInstance ();
/**
* Cellphone number