]> git.mxchange.org Git - jfinancials-war.git/blobdiff - src/java/org/mxchange/jfinancials/beans/business/basicdata/list/FinancialsBasicDataListWebViewController.java
Updated copyright year
[jfinancials-war.git] / src / java / org / mxchange / jfinancials / beans / business / basicdata / list / FinancialsBasicDataListWebViewController.java
index c10637170ea2a7bfceae749fac7f9ed6ca04d021..4ad192a1aac0790b63899e8a4eea910a50285c57 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2018 Free Software Foundation
+ * Copyright (C) 2022 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
@@ -27,6 +27,15 @@ import org.mxchange.jcontactsbusiness.model.basicdata.BasicData;
  */
 public interface FinancialsBasicDataListWebViewController extends Serializable {
 
+       /**
+        * Checks whether given company's road number is already used.
+        * <p>
+        * @param companyRoadNumber Company's road number
+        * <p>
+        * @return Whether it is already in use
+        */
+       boolean isCompanyRoadNumberUsed (final String companyRoadNumber);
+
        /**
         * Retrieves a single business data entity for given id number or throws a
         * proper exception if not found.
@@ -59,4 +68,13 @@ public interface FinancialsBasicDataListWebViewController extends Serializable {
         */
        Boolean isCompanyNameUsed (final String companyName);
 
+       /**
+        * Checks whether given company short name already exists
+        * <p>
+        * @param companyShortName Company short name to check
+        * <p>
+        * @return Whether the company short name exists
+        */
+       Boolean isCompanyShortNameUsed (final String companyShortName);
+
 }