From 3e1c1724639a5ecc6bf7a73ea3c111085193c238 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 14 Apr 2020 21:49:45 +0200 Subject: [PATCH] Continued: - renamed allSomeEntities() to fetchAllSomeEntities() - maybe removed deprecated or not recommended business methods - if a method fetches e.g. a limited list of "Bar" entities, limited by an entity "Foo" it must be named "fetchAllBarsByFoo()" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/basicdata/BasicCompanyDataSessionBeanRemote.java | 2 +- .../model/branchoffice/BranchOfficeSessionBeanRemote.java | 2 +- .../model/department/DepartmentSessionBeanRemote.java | 2 +- .../model/employee/EmployeeSessionBeanRemote.java | 2 +- .../model/headquarter/HeadquarterSessionBeanRemote.java | 2 +- .../model/opening_time/OpeningTimeSessionBeanRemote.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/org/mxchange/jcontactsbusiness/model/basicdata/BasicCompanyDataSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/basicdata/BasicCompanyDataSessionBeanRemote.java index a7e4635..6e9f99a 100644 --- a/src/org/mxchange/jcontactsbusiness/model/basicdata/BasicCompanyDataSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/model/basicdata/BasicCompanyDataSessionBeanRemote.java @@ -34,6 +34,6 @@ public interface BasicCompanyDataSessionBeanRemote extends Serializable { *

* @return A list with all business contacts */ - List allBusinessBasicData (); + List fetchAllBusinessBasicData (); } diff --git a/src/org/mxchange/jcontactsbusiness/model/branchoffice/BranchOfficeSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/branchoffice/BranchOfficeSessionBeanRemote.java index c388538..0b6a0f9 100644 --- a/src/org/mxchange/jcontactsbusiness/model/branchoffice/BranchOfficeSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/model/branchoffice/BranchOfficeSessionBeanRemote.java @@ -33,6 +33,6 @@ public interface BranchOfficeSessionBeanRemote extends Serializable { *

* @return All branch offices */ - List allBranchOffices (); + List fetchAllBranchOffices (); } diff --git a/src/org/mxchange/jcontactsbusiness/model/department/DepartmentSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/department/DepartmentSessionBeanRemote.java index 32d02e0..9115a37 100644 --- a/src/org/mxchange/jcontactsbusiness/model/department/DepartmentSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/model/department/DepartmentSessionBeanRemote.java @@ -34,6 +34,6 @@ public interface DepartmentSessionBeanRemote extends Serializable { *

* @return A list with all company departments */ - List allDepartments (); + List fetchAllDepartments (); } diff --git a/src/org/mxchange/jcontactsbusiness/model/employee/EmployeeSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/employee/EmployeeSessionBeanRemote.java index f8b563b..0939363 100644 --- a/src/org/mxchange/jcontactsbusiness/model/employee/EmployeeSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/model/employee/EmployeeSessionBeanRemote.java @@ -33,6 +33,6 @@ public interface EmployeeSessionBeanRemote extends Serializable { *

* @return A list of all company employees */ - List allEmployees (); + List fetchAllEmployees (); } diff --git a/src/org/mxchange/jcontactsbusiness/model/headquarter/HeadquarterSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/headquarter/HeadquarterSessionBeanRemote.java index b7213c8..95172d8 100644 --- a/src/org/mxchange/jcontactsbusiness/model/headquarter/HeadquarterSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/model/headquarter/HeadquarterSessionBeanRemote.java @@ -34,6 +34,6 @@ public interface HeadquarterSessionBeanRemote extends Serializable { *

* @return A list of all headquarters */ - List allHeadquarters (); + List fetchAllHeadquarters (); } diff --git a/src/org/mxchange/jcontactsbusiness/model/opening_time/OpeningTimeSessionBeanRemote.java b/src/org/mxchange/jcontactsbusiness/model/opening_time/OpeningTimeSessionBeanRemote.java index ddba352..b448aa5 100644 --- a/src/org/mxchange/jcontactsbusiness/model/opening_time/OpeningTimeSessionBeanRemote.java +++ b/src/org/mxchange/jcontactsbusiness/model/opening_time/OpeningTimeSessionBeanRemote.java @@ -34,6 +34,6 @@ public interface OpeningTimeSessionBeanRemote extends Serializable { *

* @return A list with all opening times */ - List allOpeningTimes (); + List fetchAllOpeningTimes (); } -- 2.39.5