]> git.mxchange.org Git - jcontacts-business-lib.git/blobdiff - src/org/mxchange/jcontactsbusiness/model/basicdata/BasicCompanyDataSessionBeanRemote.java
Updated copyright year
[jcontacts-business-lib.git] / src / org / mxchange / jcontactsbusiness / model / basicdata / BasicCompanyDataSessionBeanRemote.java
index 967fcb210f831d548296b6a7270cc9a6e01ba56e..bdacb6385ec9b7db4d909a2e9081bc75d8d664c8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 Roland Häder
+ * Copyright (C) 2017 - 2024 Free Software Foundation
  *
  * 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
  */
 package org.mxchange.jcontactsbusiness.model.basicdata;
 
-import org.mxchange.jcontactsbusiness.model.basicdata.BusinessBasicData;
 import java.io.Serializable;
 import java.util.List;
 import javax.ejb.Remote;
-import org.mxchange.jcontactsbusiness.exceptions.basicdata.BasicCompanyDataNotFoundException;
 
 /**
  * A remote interface for business contact data
@@ -30,34 +28,12 @@ import org.mxchange.jcontactsbusiness.exceptions.basicdata.BasicCompanyDataNotFo
 @Remote
 public interface BasicCompanyDataSessionBeanRemote extends Serializable {
 
-       /**
-        * Checks whether given company name already exists
-        * <p>
-        * @param companyName Company name to check
-        * <p>
-        * @return Whether the company name exists
-        */
-       Boolean isCompanyNameUsed (final String companyName);
-
-       /**
-        * Retrieves a single business data entity for given id number or throws a
-        * proper exception if not found.
-        * <p>
-        * @param basicDataId Company basic data id to lookup
-        * <p>
-        * @return Business contact instance
-        * <p>
-        * @throws BasicCompanyDataNotFoundException If the id number could not be
-        * looked up and solved into an entity
-        */
-       BusinessBasicData findBasicDataById (final Long basicDataId) throws BasicCompanyDataNotFoundException;
-
        /**
         * Returns a list, even empty if not thing found, from all business
         * contacts. NULL should not be returned by this method.
         * <p>
         * @return A list with all business contacts
         */
-       List<BusinessBasicData> allCompanyBasicData ();
+       List<BasicData> fetchAllBusinessBasicData ();
 
 }