--- /dev/null
+/*
+ * Copyright (C) 2017 Roland Häder
+ *
+ * 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.jcontactsbusiness.model.headquarter;
+
+import java.io.Serializable;
+import javax.ejb.Remote;
+import org.mxchange.jcontactsbusiness.exceptions.headquarter.HeadquarterAlreadyAddedException;
+
+/**
+ * An administrative remote interface for company headquarter data
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+@Remote
+public interface AdminHeadquarterSessionBeanRemote extends Serializable {
+
+ /**
+ * Adds given headquarter entity to persistence. If the headquarter'
+ * address was already added, a proper exception is thrown. The parameter is
+ * validated before being accepted like that branchId is not set.
+ * <p>
+ * @param headquarter Headquarter instance
+ * <p>
+ * @return Updated headquarter instance
+ * <p>
+ * @throws HeadquarterAlreadyAddedException If the headquarter' address
+ * was already added
+ */
+ Headquarter addHeadquarter (final Headquarter headquarter) throws HeadquarterAlreadyAddedException;
+
+}
--- /dev/null
+/*
+ * Copyright (C) 2017 Roland Häder
+ *
+ * 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.jcontactsbusiness.model.headquarter;
+
+import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter;
+import java.io.Serializable;
+import java.util.List;
+import javax.ejb.Remote;
+
+/**
+ * A general remote interface for company headquarter data
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+@Remote
+public interface HeadquarterSessionBeanRemote extends Serializable {
+
+ /**
+ * Returns a list of all headquarters
+ * <p>
+ * @return A list of all headquarters
+ */
+ List<Headquarter> allHeadquarters ();
+
+}
+++ /dev/null
-/*
- * Copyright (C) 2017 Roland Häder
- *
- * 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.jcontactsbusiness.model.headquarters;
-
-import java.io.Serializable;
-import javax.ejb.Remote;
-import org.mxchange.jcontactsbusiness.exceptions.headquarters.HeadquartersAlreadyAddedException;
-
-/**
- * An administrative remote interface for company headquarters data
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-@Remote
-public interface AdminHeadquartersSessionBeanRemote extends Serializable {
-
- /**
- * Adds given headquarters entity to persistence. If the headquarters'
- * address was already added, a proper exception is thrown. The parameter is
- * validated before being accepted like that branchId is not set.
- * <p>
- * @param headquarters Headquarter instance
- * <p>
- * @return Updated headquarters instance
- * <p>
- * @throws HeadquartersAlreadyAddedException If the headquarters' address
- * was already added
- */
- Headquarter addHeadquarters (final Headquarter headquarters) throws HeadquartersAlreadyAddedException;
-
-}
+++ /dev/null
-/*
- * Copyright (C) 2017 Roland Häder
- *
- * 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.jcontactsbusiness.model.headquarters;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Remote;
-
-/**
- * A general remote interface for company headquarters data
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-@Remote
-public interface HeadquartersSessionBeanRemote extends Serializable {
-
- /**
- * Returns a list of all headquarters
- * <p>
- * @return A list of all headquarters
- */
- List<Headquarter> allHeadquarters ();
-
-}