From beac12aa3562e23382a1bff3f550d8fa3b597ed0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 6 Aug 2017 23:27:17 +0200 Subject: [PATCH] project initialized and cleaned from jshop-ee-lib, no need for jshop-core here MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- build.xml | 6 +- lib/jproduct-core.jar | Bin 21554 -> 0 bytes nbproject/build-impl.xml | 18 ++-- nbproject/project.properties | 13 ++- nbproject/project.xml | 4 +- .../model/basket/BasketSessionBeanRemote.java | 55 ------------ .../model/receipt/ReceiptBeanRemote.java | 78 ------------------ .../model/receipt/WrapableReceipt.java | 28 ------- 8 files changed, 19 insertions(+), 183 deletions(-) delete mode 100644 lib/jproduct-core.jar delete mode 100644 src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java delete mode 100644 src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java delete mode 100644 src/org/mxchange/jshopcore/model/receipt/WrapableReceipt.java diff --git a/build.xml b/build.xml index e1b5260..2432977 100644 --- a/build.xml +++ b/build.xml @@ -7,8 +7,8 @@ - - Builds, tests, and runs the project jshop-ee-lib. + + Builds, tests, and runs the project jproduct-lib. - + @@ -474,7 +474,7 @@ is divided into following sections: - + @@ -625,7 +625,7 @@ is divided into following sections: - + @@ -917,7 +917,7 @@ is divided into following sections: - + @@ -929,8 +929,8 @@ is divided into following sections: - - + + @@ -1410,7 +1410,7 @@ is divided into following sections: - + @@ -1422,8 +1422,8 @@ is divided into following sections: - - + + diff --git a/nbproject/project.properties b/nbproject/project.properties index eccff81..e25b91c 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -3,7 +3,7 @@ annotation.processing.enabled.in.editor=true annotation.processing.processors.list= annotation.processing.run.all.processors=true annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output -application.title=jshop-ee-lib +application.title=jproduct-lib application.vendor=Roland H\u00e4der auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml build.classes.dir=${build.dir}/classes @@ -26,13 +26,12 @@ debug.test.classpath=\ dist.archive.excludes= # This directory is removed when the project is cleaned: dist.dir=dist -dist.jar=${dist.dir}/jshop-ee-lib.jar +dist.jar=${dist.dir}/jproduct-lib.jar dist.javadoc.dir=${dist.dir}/javadoc endorsed.classpath= excludes= file.reference.jcoreee.jar=lib/jcoreee.jar file.reference.jcustomer-core.jar=lib/jcustomer-core.jar -file.reference.jproduct-core.jar=lib/jproduct-core.jar includes=** jar.archive.disabled=${jnlp.enabled} jar.compress=false @@ -40,8 +39,7 @@ jar.index=${jnlp.enabled} javac.classpath=\ ${file.reference.jcoreee.jar}:\ ${file.reference.jcustomer-core.jar}:\ - ${file.reference.jproduct-core.jar}:\ - ${reference.jshop-core.jar}:\ + ${reference.jproduct-core.jar}:\ ${libs.javaee-api-7.0.classpath} # Space-separated list of extra javac options javac.compilerargs= @@ -83,9 +81,9 @@ manifest.custom.permissions= meta.inf.dir=${src.dir}/META-INF mkdist.disabled=true platform.active=default_platform -project.jshop-core=../jshop-core +project.jproduct-core=../jproduct-core project.license=gpl30 -reference.jshop-core.jar=${project.jshop-core}/dist/jshop-core.jar +reference.jproduct-core.jar=${project.jproduct-core}/dist/jproduct-core.jar run.classpath=\ ${javac.classpath}:\ ${build.classes.dir} @@ -99,6 +97,5 @@ run.test.classpath=\ source.encoding=UTF-8 source.reference.jcoreee.jar=../jcoreee/src/ source.reference.jcustomer-core.jar=../jcustomer-core/src/ -source.reference.jproduct-core.jar=../jproduct-core/src/ src.dir=src test.src.dir=test diff --git a/nbproject/project.xml b/nbproject/project.xml index 4a49af5..dca01e6 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -3,7 +3,7 @@ org.netbeans.modules.java.j2seproject - jshop-ee-lib + jproduct-lib @@ -16,7 +16,7 @@ - jshop-core + jproduct-core jar jar diff --git a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java b/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java deleted file mode 100644 index 05efbbd..0000000 --- a/src/org/mxchange/jshopcore/model/basket/BasketSessionBeanRemote.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright (C) 2016, 2017 Roland Häder - * - * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.jshopcore.model.basket; - -import java.io.Serializable; -import java.util.List; -import javax.ejb.Remote; -import org.mxchange.jcustomercore.model.customer.Customer; - -/** - * An interface for a basket bean - *

- * @author Roland Häder - */ -@Remote -public interface BasketSessionBeanRemote extends Serializable { - - /** - * Returns user's current basket, or creates an empty initial if none is - * found. - *

- * @return User's current basked - */ - Basket getCurrentBasket (); - - /** - * Clears this bean from previous usage - */ - void clear (); - - /** - * Registers the order list of tems with the customer - *

- * @param customer Customer instance - * @param orderedItems Ordered items list - *

- * @return Access key - */ - String registerItems (final Customer customer, final List orderedItems); - -} diff --git a/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java b/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java deleted file mode 100644 index e5dd352..0000000 --- a/src/org/mxchange/jshopcore/model/receipt/ReceiptBeanRemote.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (C) 2016, 2017 Roland Häder - * - * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.jshopcore.model.receipt; - -import java.io.Serializable; -import javax.ejb.Remote; -import org.mxchange.jcustomercore.model.customer.Customer; - -/** - * A remote interface for official recipt creation - *

- * @author Roland Häder - */ -@Remote -public interface ReceiptBeanRemote extends Serializable { - - /** - * Returns a wrapped PDF byte stream for given access key or null if not - * found. - *

- * @param accessKey Access key on the online PDF - *

- * @return Wrapped byte stream - */ - WrapableReceipt createReceiptFromAccessKey (final String accessKey); - - /** - * Fetches access key, if customer instance matches, else null is returned - *

- * @param customer Customer instance - *

- * @return Access key or null - */ - String fetchAccessKey (final Customer customer); - - /** - * Getter for access key - *

- * @return Access key - */ - String getAccessKey (); - - /** - * Setter for access key - *

- * @param accessKey Access key - */ - void setAccessKey (final String accessKey); - - /** - * Getter for customer instance - *

- * @return Customer instance - */ - Customer getCustomer (); - - /** - * Setter for customer instance - *

- * @param customer Customer instance - */ - void setCustomer (final Customer customer); - -} diff --git a/src/org/mxchange/jshopcore/model/receipt/WrapableReceipt.java b/src/org/mxchange/jshopcore/model/receipt/WrapableReceipt.java deleted file mode 100644 index 487d1f8..0000000 --- a/src/org/mxchange/jshopcore/model/receipt/WrapableReceipt.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2016, 2017 Roland Häder - * - * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.jshopcore.model.receipt; - -import java.io.Serializable; - -/** - * A receipt wrapper interface. - *

- * @author Roland Häder - */ -public interface WrapableReceipt extends Serializable { - -} -- 2.39.5