]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please repeat:
authorRoland Häder <roland@mxchange.org>
Thu, 2 Apr 2020 16:46:18 +0000 (18:46 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 2 Apr 2020 16:46:18 +0000 (18:46 +0200)
- #tpzo fixed: Viewt -> View

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/beans/business/department/FinancialsAdminDepartmentWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/business/department/list/FinancialsDepartmentListWebViewBean.java
src/java/org/mxchange/jfinancials/beans/business/department/list/FinancialsDepartmentListWebViewController.java [new file with mode: 0644]
src/java/org/mxchange/jfinancials/beans/business/department/list/FinancialsDepartmentListWebViewtController.java [deleted file]
src/java/org/mxchange/jfinancials/converter/business/department/FinancialsDepartmentConverter.java

index f4ec53657f1645e7f40408a2c3088597b9313faa..acde45d914facebcacc35b3615cda10f1eb7aafb 100644 (file)
@@ -33,8 +33,8 @@ import org.mxchange.jcontactsbusiness.model.department.Department;
 import org.mxchange.jcontactsbusiness.model.employee.Employable;
 import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter;
 import org.mxchange.jfinancials.beans.BaseFinancialsBean;
-import org.mxchange.jfinancials.beans.business.department.list.FinancialsDepartmentListWebViewtController;
 import org.mxchange.jusercore.model.user.User;
+import org.mxchange.jfinancials.beans.business.department.list.FinancialsDepartmentListWebViewController;
 
 /**
  * An administrative bean for departments
@@ -92,7 +92,7 @@ public class FinancialsAdminDepartmentWebRequestBean extends BaseFinancialsBean
         * A general department controller (backing bean)
         */
        @Inject
-       private FinancialsDepartmentListWebViewtController departmentListController;
+       private FinancialsDepartmentListWebViewController departmentListController;
 
        /**
         * Owning user instance (which this department is assigned to)
index 37cffa55e37d3d6adf3244d3285ffc32b4aaa146..2b40abf57d10d7ba9a918adaff38c4d0bb511c8e 100644 (file)
@@ -42,7 +42,7 @@ import org.mxchange.jfinancials.beans.BaseFinancialsBean;
  */
 @Named ("departmentListController")
 @ViewScoped
-public class FinancialsDepartmentListWebViewBean extends BaseFinancialsBean implements FinancialsDepartmentListWebViewtController {
+public class FinancialsDepartmentListWebViewBean extends BaseFinancialsBean implements FinancialsDepartmentListWebViewController {
 
        /**
         * Serial number
diff --git a/src/java/org/mxchange/jfinancials/beans/business/department/list/FinancialsDepartmentListWebViewController.java b/src/java/org/mxchange/jfinancials/beans/business/department/list/FinancialsDepartmentListWebViewController.java
new file mode 100644 (file)
index 0000000..d6b5d29
--- /dev/null
@@ -0,0 +1,54 @@
+/*
+ * Copyright (C) 2017 - 2020 Free Software Foundation
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero 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 Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jfinancials.beans.business.department.list;
+
+import java.io.Serializable;
+import org.mxchange.jcontactsbusiness.exceptions.department.DepartmentNotFoundException;
+import org.mxchange.jcontactsbusiness.model.department.Department;
+
+/**
+ * An interface for general department controller
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+public interface FinancialsDepartmentListWebViewController extends Serializable {
+
+       /**
+        * Retrieves a single company department entity for given id number or
+        * throws a proper exception if not found.
+        * <p>
+        * @param departmentId Company department id to lookup
+        * <p>
+        * @return Company department instance
+        * <p>
+        * @throws DepartmentNotFoundException If the id number could not be looked
+        * up and solved into an entity
+        */
+       Department findDepartmentById (final Long departmentId) throws DepartmentNotFoundException;
+
+       /**
+        * Checks whether the given department is already found in local cache.
+        * Please note that this method fully relies on the cache, so you must
+        * always fire proper events that add/update/delete entries in cache.
+        * <p>
+        * @param department Department to check it's address
+        * <p>
+        * @return Whether the address has been found
+        */
+       boolean isDepartmentAlreadyAdded (final Department department);
+
+}
diff --git a/src/java/org/mxchange/jfinancials/beans/business/department/list/FinancialsDepartmentListWebViewtController.java b/src/java/org/mxchange/jfinancials/beans/business/department/list/FinancialsDepartmentListWebViewtController.java
deleted file mode 100644 (file)
index b256ae0..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (C) 2017 - 2020 Free Software Foundation
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero 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 Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jfinancials.beans.business.department.list;
-
-import java.io.Serializable;
-import org.mxchange.jcontactsbusiness.exceptions.department.DepartmentNotFoundException;
-import org.mxchange.jcontactsbusiness.model.department.Department;
-
-/**
- * An interface for general department controller
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-public interface FinancialsDepartmentListWebViewtController extends Serializable {
-
-       /**
-        * Retrieves a single company department entity for given id number or
-        * throws a proper exception if not found.
-        * <p>
-        * @param departmentId Company department id to lookup
-        * <p>
-        * @return Company department instance
-        * <p>
-        * @throws DepartmentNotFoundException If the id number could not be looked
-        * up and solved into an entity
-        */
-       Department findDepartmentById (final Long departmentId) throws DepartmentNotFoundException;
-
-       /**
-        * Checks whether the given department is already found in local cache.
-        * Please note that this method fully relies on the cache, so you must
-        * always fire proper events that add/update/delete entries in cache.
-        * <p>
-        * @param department Department to check it's address
-        * <p>
-        * @return Whether the address has been found
-        */
-       boolean isDepartmentAlreadyAdded (final Department department);
-
-}
index ddd779f6d39d0110e349b29e95eba000d44661c1..e84e76cf6f1b67144d7a7ccd130f7e7df41e6c59 100644 (file)
@@ -25,7 +25,7 @@ import javax.faces.convert.FacesConverter;
 import org.mxchange.jcontactsbusiness.exceptions.department.DepartmentNotFoundException;
 import org.mxchange.jcontactsbusiness.model.department.Department;
 import org.mxchange.jfinancials.beans.business.department.list.FinancialsDepartmentListWebViewBean;
-import org.mxchange.jfinancials.beans.business.department.list.FinancialsDepartmentListWebViewtController;
+import org.mxchange.jfinancials.beans.business.department.list.FinancialsDepartmentListWebViewController;
 
 /**
  * Converter for company department id <-> instance
@@ -38,7 +38,7 @@ public class FinancialsDepartmentConverter implements Converter<Department> {
        /**
         * Company department EJB
         */
-       private static FinancialsDepartmentListWebViewtController DEPARTMENT_LIST_CONTROLLER;
+       private static FinancialsDepartmentListWebViewController DEPARTMENT_LIST_CONTROLLER;
 
        @Override
        public Department getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) {