From: Roland Häder Date: Tue, 14 Apr 2020 19:49:45 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e1c1724639a5ecc6bf7a73ea3c111085193c238;p=jcontacts-business-lib.git 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()" Signed-off-by: Roland Häder --- 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 (); }