]> git.mxchange.org Git - jfinancials-war.git/blobdiff - src/java/org/mxchange/jfinancials/beans/generic_product/FinancialProductWebRequestController.java
Updated copyright year
[jfinancials-war.git] / src / java / org / mxchange / jfinancials / beans / generic_product / FinancialProductWebRequestController.java
index 52490c107453efab2d5873e010b9b4b2b6199e5a..9bb02a382b277fec86f68b06a791666a56823cf9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 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
 package org.mxchange.jfinancials.beans.generic_product;
 
 import java.io.Serializable;
-import java.util.List;
 import javax.ejb.Local;
-import javax.faces.view.facelets.FaceletException;
-import org.mxchange.jproduct.exceptions.product.ProductNotFoundException;
-import org.mxchange.jproduct.model.product.Product;
 
 /**
  * An interface for products
@@ -31,35 +27,4 @@ import org.mxchange.jproduct.model.product.Product;
 @Local
 public interface FinancialProductWebRequestController extends Serializable {
 
-       /**
-        * Checks whether the given product i18n key has already used.
-        * <p>
-        * @param productI18nKey Product i18n key
-        * <p>
-        * @return Whether the i18n key has been used
-        */
-       boolean isProductI18nKeyAdded (final String productI18nKey);
-
-       /**
-        * Some "getter" for a linked list of only available products
-        * <p>
-        * @return Only available products
-        * <p>
-        * @throws javax.faces.view.facelets.FaceletException If anything went wrong
-        */
-       List<Product> allProducts () throws FaceletException;
-
-       /**
-        * Returns a product instance (entity) for given primary key. If not found,
-        * a proper exception is thrown.
-        * <p>
-        * @param productId Product id (primary key)
-        * <p>
-        * @return Product entity matching to primary key
-        * <p>
-        * @throws ProductNotFoundException If a product with given primary key
-        * could not be found
-        */
-       Product findProductById (final Long productId) throws ProductNotFoundException;
-
 }