<propertyfile file="${built-jar.properties}">
<entry key="${basedir}" value=""/>
</propertyfile>
+ <antcall target="-maybe-call-dep">
+ <param name="call.built.properties" value="${built-jar.properties}"/>
+ <param location="${project.jcontacts-core}" name="call.subproject"/>
+ <param location="${project.jcontacts-core}/build.xml" name="call.script"/>
+ <param name="call.target" value="jar"/>
+ <param name="transfer.built-jar.properties" value="${built-jar.properties}"/>
+ <param name="transfer.not.archive.disabled" value="true"/>
+ </antcall>
</target>
<target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
<target depends="init" name="-check-automatic-build">
<propertyfile file="${built-clean.properties}">
<entry key="${basedir}" value=""/>
</propertyfile>
+ <antcall target="-maybe-call-dep">
+ <param name="call.built.properties" value="${built-clean.properties}"/>
+ <param location="${project.jcontacts-core}" name="call.subproject"/>
+ <param location="${project.jcontacts-core}/build.xml" name="call.script"/>
+ <param name="call.target" value="clean"/>
+ <param name="transfer.built-clean.properties" value="${built-clean.properties}"/>
+ <param name="transfer.not.archive.disabled" value="true"/>
+ </antcall>
</target>
<target depends="init" name="-do-clean">
<delete dir="${build.dir}"/>
-build.xml.data.CRC32=fb242293
+build.xml.data.CRC32=3fa9afd6
build.xml.script.CRC32=62996a1a
build.xml.stylesheet.CRC32=8064a381@1.75.2.48
# 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=fb242293
-nbproject/build-impl.xml.script.CRC32=77e8f329
+nbproject/build-impl.xml.data.CRC32=3fa9afd6
+nbproject/build-impl.xml.script.CRC32=a88e4bf5
nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48
jar.index=${jnlp.enabled}
javac.classpath=\
${file.reference.juser-core.jar}:\
- ${libs.javaee-api-7.0.classpath}
+ ${libs.javaee-api-7.0.classpath}:\
+ ${reference.jcontacts-core.jar}
# Space-separated list of extra javac options
javac.compilerargs=-Xlint:unchecked -Xlint:deprecation
javac.deprecation=true
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=true
platform.active=default_platform
+project.jcontacts-core=../jcontacts-core
project.license=gpl30
+reference.jcontacts-core.jar=${project.jcontacts-core}/dist/jcontacts-core.jar
run.classpath=\
${javac.classpath}:\
${build.classes.dir}
<libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
<definitions>.\lib\nblibraries.properties</definitions>
</libraries>
+ <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
+ <reference>
+ <foreign-project>jcontacts-core</foreign-project>
+ <artifact-type>jar</artifact-type>
+ <script>build.xml</script>
+ <target>jar</target>
+ <clean-target>clean</clean-target>
+ <id>jar</id>
+ </reference>
+ </references>
</configuration>
</project>
--- /dev/null
+/*
+ * Copyright (C) 2015 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.model.login;
+
+import java.io.Serializable;
+import javax.ejb.Remote;
+import org.mxchange.jusercore.exceptions.UserNotFoundException;
+import org.mxchange.jusercore.exceptions.UserStatusLockedException;
+import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * A remote interface for user login
+ * <p>
+ * @author Roland Haeder
+ */
+@Remote
+public interface UserLoginSessionBeanRemote extends Serializable {
+
+ /**
+ * Registers given user data, if not yet found
+ * <p>
+ * @param user User instance to register
+ * @throws org.mxchange.jusercore.exceptions.UserNotFoundException If the user account was not found
+ * @throws org.mxchange.jusercore.exceptions.UserStatusLockedException If the user account is locked
+ * @throws org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException If the user account is unconfirmed
+ */
+ public void loginUser (final User user) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException;
+}
--- /dev/null
+/*
+ * Copyright (C) 2015 Roland Haeder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.model.register;
+
+import java.io.Serializable;
+import javax.ejb.Remote;
+import org.mxchange.jusercore.exceptions.UserAlreadyRegisteredException;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * A remote interface for user registtration
+ * <p>
+ * @author Roland Haeder
+ */
+@Remote
+public interface UserRegistrationSessionBeanRemote extends Serializable {
+
+ /**
+ * Registers given user data, if not yet found
+ * <p>
+ * @param user User instance to register
+ * @throws org.mxchange.jusercore.exceptions.UserAlreadyRegisteredException If the user has already been registered
+ */
+ public void registerUser (final User user) throws UserAlreadyRegisteredException;
+}