]> git.mxchange.org Git - jcontacts-business-lib.git/commitdiff
Having basic data and "business contact" which is really no contact in general
authorRoland Häder <roland@mxchange.org>
Sun, 23 Jul 2017 11:51:27 +0000 (13:51 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 23 Jul 2017 11:51:27 +0000 (13:51 +0200)
terms was a bad style anyway. Now these two entities are merged into
"BusinessBasicData" and kept in main package of this project.

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jcontactsbusiness/BusinessContactSessionBeanRemote.java

index 7723f54c6503ea40e36b2c72edfa379c70e6c37e..e5bb2479d70dbb9a6855bc6df112104f1165dc73 100644 (file)
@@ -40,7 +40,7 @@ public interface BusinessContactSessionBeanRemote extends Serializable {
         * @throws BusinessContactNotFoundException If the id number could not be
         * looked up and solved into an entity
         */
-       BusinessContact findBusinessContactById (final Long businessContactId) throws BusinessContactNotFoundException;
+       BusinessBasicData findBusinessDataById (final Long businessContactId) throws BusinessContactNotFoundException;
 
        /**
         * Returns a list, even empty if not thing found, from all business
@@ -48,6 +48,6 @@ public interface BusinessContactSessionBeanRemote extends Serializable {
         * <p>
         * @return A list with all business contacts
         */
-       List<BusinessContact> allBusinessContacts ();
+       List<BusinessBasicData> allBusinessContacts ();
 
 }