]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
auto-formatted project + updated jars
authorRoland Haeder <roland@mxchange.org>
Tue, 29 Sep 2015 08:41:21 +0000 (10:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 29 Sep 2015 08:41:21 +0000 (10:41 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

28 files changed:
build.xml
lib/jcore.jar
lib/jcoreee.jar
lib/jshop-core.jar
lib/jshop-ee-lib.jar
nbproject/ant-deploy.xml
nbproject/build-impl.xml
nbproject/faces-config.NavData
nbproject/project.xml
src/java/org/mxchange/jshopcore/model/category/CategoryConverter.java
src/java/org/mxchange/pizzaapplication/beans/AbstractWebBean.java
src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebBean.java
src/java/org/mxchange/pizzaapplication/beans/basket/BasketWebController.java
src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebBean.java
src/java/org/mxchange/pizzaapplication/beans/category/AdminCategoryWebController.java
src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebBean.java
src/java/org/mxchange/pizzaapplication/beans/checkout/CheckoutWebController.java
src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java
src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebController.java
src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebBean.java
src/java/org/mxchange/pizzaapplication/beans/gender/GenderWebController.java
src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebBean.java
src/java/org/mxchange/pizzaapplication/beans/product/AdminProductWebController.java
src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebBean.java
src/java/org/mxchange/pizzaapplication/beans/receipt/ReceiptWebController.java
src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebBean.java
src/java/org/mxchange/pizzaapplication/beans/shop/ShopWebController.java
src/java/org/mxchange/pizzaapplication/servlet/receipt/PdfReceiptServlet.java

index 00b4eedaaf944319e543ec5ba703098e4a64e85a..7cd04328ccbbfd7cdfc5c8de9bf6e40da703eef6 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -67,5 +67,5 @@
     properties which you can use check the target you are overriding in 
     nbproject/build-impl.xml file. 
 
-    -->
+       -->
 </project>
index 7884f3df59de98ef74951706b221477a588f99cb..bff5c73b4f02f01a1d004c465d1c99a0d024e32c 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index 621440d1defd7a7b73478a55e38af44a08cbff60..4c3d68de8dd147c6cea847cc09d39662582273f6 100644 (file)
Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ
index e271a4aa7306764425f4ef65c6a7067a3cb2e52a..79352af46d8352944b5f1245449b4b8fe19398fb 100644 (file)
Binary files a/lib/jshop-core.jar and b/lib/jshop-core.jar differ
index f3d15dbea77369d99943a70dec939d4f05fb93fd..7d624eadf70f71a36ec5d70cb9f13bffad328c74 100644 (file)
Binary files a/lib/jshop-ee-lib.jar and b/lib/jshop-ee-lib.jar differ
index 2d5f8778d18757ea5ded4eea4da13ca1adc51093..b824cf229727e4029fb8e4665d0c3ff44a145055 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <project default="-deploy-ant" basedir=".">
-    <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
-        <property file="${deploy.ant.properties.file}" />
-        <available file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" property="sun.web.present"/>
-        <available file="${deploy.ant.docbase.dir}/WEB-INF/glassfish-web.xml" property="glassfish.web.present"/>
-        <available file="${deploy.ant.resource.dir}" property="has.setup"/>
-        <tempfile prefix="gfv3" property="gfv3.password.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <echo message="AS_ADMIN_PASSWORD=${gfv3.password}" file="${gfv3.password.file}"/>
-    </target>
+       <target name="-init-cl-deployment-env" if="deploy.ant.enabled">
+               <property file="${deploy.ant.properties.file}" />
+               <available file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" property="sun.web.present"/>
+               <available file="${deploy.ant.docbase.dir}/WEB-INF/glassfish-web.xml" property="glassfish.web.present"/>
+               <available file="${deploy.ant.resource.dir}" property="has.setup"/>
+               <tempfile prefix="gfv3" property="gfv3.password.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
+               <echo message="AS_ADMIN_PASSWORD=${gfv3.password}" file="${gfv3.password.file}"/>
+       </target>
     
-    <target name="-parse-sun-web" depends="-init-cl-deployment-env" if="sun.web.present">
-        <tempfile prefix="gfv3" property="temp.sun.web" destdir="${java.io.tmpdir}"/>
-        <copy file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" tofile="${temp.sun.web}"/>
-        <!-- The doctype triggers resolution which can fail -->
-        <replace file="${temp.sun.web}">
-            <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
-            <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
-        </replace>
-        <replace file="${temp.sun.web}">
-            <replacetoken><![CDATA[<sun-web-app]]></replacetoken>
-            <replacevalue><![CDATA[--> <sun-web-app]]></replacevalue>
-        </replace>
-        <xmlproperty file="${temp.sun.web}" validate="false">
-        </xmlproperty>    
-        <delete file="${temp.sun.web}"/>
-        <condition property="deploy.ant.client.url" value="${gfv3.url}${sun-web-app.context-root}" else="${gfv3.url}/${ant.project.name}">
-            <isset property="sun-web-app.context-root"/>
-        </condition>
-        <condition property="deploy.context.root.argument" value="&amp;contextroot=${sun-web-app.context-root}" else="/${ant.project.name}">
-            <isset property="sun-web-app.context-root"/>
-        </condition>
-    </target>
-    <target name="-parse-glassfish-web" depends="-init-cl-deployment-env" if="glassfish.web.present">
-        <tempfile prefix="gfv3" property="temp.gf.web" destdir="${java.io.tmpdir}"/>
-        <copy file="${deploy.ant.docbase.dir}/WEB-INF/glassfish-web.xml" tofile="${temp.gf.web}"/>
-        <!-- The doctype triggers resolution which can fail -->
-        <replace file="${temp.gf.web}">
-            <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
-            <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
-        </replace>
-        <replace file="${temp.gf.web}">
-            <replacetoken><![CDATA[<glassfish-web-app]]></replacetoken>
-            <replacevalue><![CDATA[--> <glassfish-web-app]]></replacevalue>
-        </replace>
-        <xmlproperty file="${temp.gf.web}" validate="false">
-        </xmlproperty>
-        <delete file="${temp.gf.web}"/>
-        <condition property="deploy.ant.client.url" value="${gfv3.url}${glassfish-web-app.context-root}" else="${gfv3.url}/${ant.project.name}">
-            <isset property="glassfish-web-app.context-root"/>
-        </condition>
-        <condition property="deploy.context.root.argument" value="&amp;contextroot=${glassfish-web-app.context-root}" else="/${ant.project.name}">
-            <isset property="glassfish-web-app.context-root"/>
-        </condition>
-    </target>
-    <target name="-no-parse-sun-web" depends="-init-cl-deployment-env" unless="sun.web.present">
-        <property name="deploy.context.root.argument" value=""/>
-    </target>
-    <target name="-add-resources" depends="-init-cl-deployment-env" if="has.setup">
-        <tempfile prefix="gfv3" property="gfv3.resources.dir" destdir="${java.io.tmpdir}"/>
-        <mkdir dir="${gfv3.resources.dir}"/>
-        <mkdir dir="${gfv3.resources.dir}/META-INF"/>
-        <copy todir="${gfv3.resources.dir}/META-INF">
-            <fileset dir="${deploy.ant.resource.dir}"/>
-        </copy>
-        <jar destfile="${deploy.ant.archive}" update="true">
-            <fileset dir="${gfv3.resources.dir}"/>
-        </jar>
-        <delete dir="${gfv3.resources.dir}"/>
-    </target>
-    <target name="-deploy-ant" depends="-parse-glassfish-web, -parse-sun-web, -no-parse-sun-web,-add-resources" if="deploy.ant.enabled">
-        <antcall target="-deploy-without-pw"/>
-        <antcall target="-deploy-with-pw"/>
-    </target>
+       <target name="-parse-sun-web" depends="-init-cl-deployment-env" if="sun.web.present">
+               <tempfile prefix="gfv3" property="temp.sun.web" destdir="${java.io.tmpdir}"/>
+               <copy file="${deploy.ant.docbase.dir}/WEB-INF/sun-web.xml" tofile="${temp.sun.web}"/>
+               <!-- The doctype triggers resolution which can fail -->
+               <replace file="${temp.sun.web}">
+                       <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
+                       <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
+               </replace>
+               <replace file="${temp.sun.web}">
+                       <replacetoken><![CDATA[<sun-web-app]]></replacetoken>
+                       <replacevalue><![CDATA[--> <sun-web-app]]></replacevalue>
+               </replace>
+               <xmlproperty file="${temp.sun.web}" validate="false">
+               </xmlproperty>    
+               <delete file="${temp.sun.web}"/>
+               <condition property="deploy.ant.client.url" value="${gfv3.url}${sun-web-app.context-root}" else="${gfv3.url}/${ant.project.name}">
+                       <isset property="sun-web-app.context-root"/>
+               </condition>
+               <condition property="deploy.context.root.argument" value="&amp;contextroot=${sun-web-app.context-root}" else="/${ant.project.name}">
+                       <isset property="sun-web-app.context-root"/>
+               </condition>
+       </target>
+       <target name="-parse-glassfish-web" depends="-init-cl-deployment-env" if="glassfish.web.present">
+               <tempfile prefix="gfv3" property="temp.gf.web" destdir="${java.io.tmpdir}"/>
+               <copy file="${deploy.ant.docbase.dir}/WEB-INF/glassfish-web.xml" tofile="${temp.gf.web}"/>
+               <!-- The doctype triggers resolution which can fail -->
+               <replace file="${temp.gf.web}">
+                       <replacetoken><![CDATA[<!DOCTYPE]]></replacetoken>
+                       <replacevalue><![CDATA[<!-- <!DOCTYPE]]></replacevalue>
+               </replace>
+               <replace file="${temp.gf.web}">
+                       <replacetoken><![CDATA[<glassfish-web-app]]></replacetoken>
+                       <replacevalue><![CDATA[--> <glassfish-web-app]]></replacevalue>
+               </replace>
+               <xmlproperty file="${temp.gf.web}" validate="false">
+               </xmlproperty>
+               <delete file="${temp.gf.web}"/>
+               <condition property="deploy.ant.client.url" value="${gfv3.url}${glassfish-web-app.context-root}" else="${gfv3.url}/${ant.project.name}">
+                       <isset property="glassfish-web-app.context-root"/>
+               </condition>
+               <condition property="deploy.context.root.argument" value="&amp;contextroot=${glassfish-web-app.context-root}" else="/${ant.project.name}">
+                       <isset property="glassfish-web-app.context-root"/>
+               </condition>
+       </target>
+       <target name="-no-parse-sun-web" depends="-init-cl-deployment-env" unless="sun.web.present">
+               <property name="deploy.context.root.argument" value=""/>
+       </target>
+       <target name="-add-resources" depends="-init-cl-deployment-env" if="has.setup">
+               <tempfile prefix="gfv3" property="gfv3.resources.dir" destdir="${java.io.tmpdir}"/>
+               <mkdir dir="${gfv3.resources.dir}"/>
+               <mkdir dir="${gfv3.resources.dir}/META-INF"/>
+               <copy todir="${gfv3.resources.dir}/META-INF">
+                       <fileset dir="${deploy.ant.resource.dir}"/>
+               </copy>
+               <jar destfile="${deploy.ant.archive}" update="true">
+                       <fileset dir="${gfv3.resources.dir}"/>
+               </jar>
+               <delete dir="${gfv3.resources.dir}"/>
+       </target>
+       <target name="-deploy-ant" depends="-parse-glassfish-web, -parse-sun-web, -no-parse-sun-web,-add-resources" if="deploy.ant.enabled">
+               <antcall target="-deploy-without-pw"/>
+               <antcall target="-deploy-with-pw"/>
+       </target>
 
-    <target name="-deploy-without-pw" unless="gfv3.password">
-        <echo message="Deploying ${deploy.ant.archive}"/>
-        <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <property name="full.deploy.ant.archive" location="${deploy.ant.archive}"/>
-        <get src="${gfv3.admin.url}/__asadmin/deploy?path=${full.deploy.ant.archive}${deploy.context.root.argument}&amp;force=true&amp;name=${ant.project.name}"
-            dest="${gfv3.results.file}"/>
-        <delete file="${gfv3.results.file}"/>    
-    </target>
-    <target name="-deploy-with-pw" if="gfv3.password">
-        <echo message="Deploying ${deploy.ant.archive}"/>
-        <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <property name="full.deploy.ant.archive" location="${deploy.ant.archive}"/>
-        <get username="${gfv3.username}" password="${gfv3.password}" src="${gfv3.admin.url}/__asadmin/deploy?path=${full.deploy.ant.archive}${deploy.context.root.argument}&amp;force=true&amp;name=${ant.project.name}"
-            dest="${gfv3.results.file}"/>
-        <delete file="${gfv3.results.file}"/>
-    </target>
-    <target name="-undeploy-ant" depends="-init-cl-deployment-env" if="deploy.ant.enabled">
-        <antcall target="-undeploy-without-pw"/>
-        <antcall target="-undeploy-with-pw"/>
-    </target>
+       <target name="-deploy-without-pw" unless="gfv3.password">
+               <echo message="Deploying ${deploy.ant.archive}"/>
+               <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
+               <property name="full.deploy.ant.archive" location="${deploy.ant.archive}"/>
+               <get src="${gfv3.admin.url}/__asadmin/deploy?path=${full.deploy.ant.archive}${deploy.context.root.argument}&amp;force=true&amp;name=${ant.project.name}"
+                        dest="${gfv3.results.file}"/>
+               <delete file="${gfv3.results.file}"/>    
+       </target>
+       <target name="-deploy-with-pw" if="gfv3.password">
+               <echo message="Deploying ${deploy.ant.archive}"/>
+               <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
+               <property name="full.deploy.ant.archive" location="${deploy.ant.archive}"/>
+               <get username="${gfv3.username}" password="${gfv3.password}" src="${gfv3.admin.url}/__asadmin/deploy?path=${full.deploy.ant.archive}${deploy.context.root.argument}&amp;force=true&amp;name=${ant.project.name}"
+                        dest="${gfv3.results.file}"/>
+               <delete file="${gfv3.results.file}"/>
+       </target>
+       <target name="-undeploy-ant" depends="-init-cl-deployment-env" if="deploy.ant.enabled">
+               <antcall target="-undeploy-without-pw"/>
+               <antcall target="-undeploy-with-pw"/>
+       </target>
 
-    <target name="-undeploy-without-pw" unless="gfv3.password">
-        <echo message="Undeploying ${deploy.ant.archive}"/>
-        <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <get src="${gfv3.admin.url}/__asadmin/undeploy?name=${ant.project.name}"
-            dest="${gfv3.results.file}"/>
-        <delete file="${gfv3.results.file}"/>    
-    </target>
-    <target name="-undeploy-with-pw" if="gfv3.password">
-        <echo message="Undeploying ${deploy.ant.archive}"/>
-        <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
-        <get username="${gfv3.username}" password="${gfv3.password}" src="${gfv3.admin.url}/__asadmin/undeploy?name=${ant.project.name}"
-            dest="${gfv3.results.file}"/>
-        <delete file="${gfv3.results.file}"/>
-    </target>
+       <target name="-undeploy-without-pw" unless="gfv3.password">
+               <echo message="Undeploying ${deploy.ant.archive}"/>
+               <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
+               <get src="${gfv3.admin.url}/__asadmin/undeploy?name=${ant.project.name}"
+                        dest="${gfv3.results.file}"/>
+               <delete file="${gfv3.results.file}"/>    
+       </target>
+       <target name="-undeploy-with-pw" if="gfv3.password">
+               <echo message="Undeploying ${deploy.ant.archive}"/>
+               <tempfile prefix="gfv3" property="gfv3.results.file" destdir="${java.io.tmpdir}"/>  <!-- do not forget to delete this! -->
+               <get username="${gfv3.username}" password="${gfv3.password}" src="${gfv3.admin.url}/__asadmin/undeploy?name=${ant.project.name}"
+                        dest="${gfv3.results.file}"/>
+               <delete file="${gfv3.results.file}"/>
+       </target>
 </project>
index db3227338b67b878c0705f5630c128c78819fe2d..4774f90f52a9d999e9fb91d97faa2d1f8223f559 100644 (file)
@@ -1466,34 +1466,34 @@ exists or setup the property manually. For example like this:
     <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
     <!--
                 
-                CLEANUP SECTION
-            -->
-    <target depends="init" name="deps-clean" unless="no.deps">
-        <ant antfile="${project.PizzaService-lib}/build.xml" inheritall="false" target="clean"/>
-    </target>
-    <target depends="init" name="do-clean">
-        <condition property="build.dir.to.clean" value="${build.web.dir}">
-            <isset property="dist.ear.dir"/>
-        </condition>
-        <property name="build.dir.to.clean" value="${build.web.dir}"/>
-        <delete includeEmptyDirs="true" quiet="true">
-            <fileset dir="${build.dir.to.clean}/WEB-INF/lib"/>
-        </delete>
-        <delete dir="${build.dir}"/>
-        <available file="${build.dir.to.clean}/WEB-INF/lib" property="status.clean-failed" type="dir"/>
-        <delete dir="${dist.dir}"/>
-    </target>
-    <target depends="do-clean" if="status.clean-failed" name="check-clean">
-        <echo message="Warning: unable to delete some files in ${build.web.dir}/WEB-INF/lib - they are probably locked by the J2EE server. "/>
-        <echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/>
-    </target>
-    <target depends="init" if="netbeans.home" name="undeploy-clean">
-        <nbundeploy failOnError="false" startServer="false"/>
-    </target>
-    <target name="-post-clean">
-        <!-- Empty placeholder for easier customization. -->
-        <!-- You can override this target in the ../build.xml file. -->
-    </target>
-    <target depends="init,undeploy-clean,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
-    <target depends="clean" description="Clean build products." name="clean-ear"/>
+               CLEANUP SECTION
+       -->
+       <target depends="init" name="deps-clean" unless="no.deps">
+               <ant antfile="${project.PizzaService-lib}/build.xml" inheritall="false" target="clean"/>
+       </target>
+       <target depends="init" name="do-clean">
+               <condition property="build.dir.to.clean" value="${build.web.dir}">
+                       <isset property="dist.ear.dir"/>
+               </condition>
+               <property name="build.dir.to.clean" value="${build.web.dir}"/>
+               <delete includeEmptyDirs="true" quiet="true">
+                       <fileset dir="${build.dir.to.clean}/WEB-INF/lib"/>
+               </delete>
+               <delete dir="${build.dir}"/>
+               <available file="${build.dir.to.clean}/WEB-INF/lib" property="status.clean-failed" type="dir"/>
+               <delete dir="${dist.dir}"/>
+       </target>
+       <target depends="do-clean" if="status.clean-failed" name="check-clean">
+               <echo message="Warning: unable to delete some files in ${build.web.dir}/WEB-INF/lib - they are probably locked by the J2EE server. "/>
+               <echo level="info" message="To delete all files undeploy the module from Server Registry in Runtime tab and then use Clean again."/>
+       </target>
+       <target depends="init" if="netbeans.home" name="undeploy-clean">
+               <nbundeploy failOnError="false" startServer="false"/>
+       </target>
+       <target name="-post-clean">
+               <!-- Empty placeholder for easier customization. -->
+               <!-- You can override this target in the ../build.xml file. -->
+       </target>
+       <target depends="init,undeploy-clean,deps-clean,do-clean,check-clean,-post-clean" description="Clean build products." name="clean"/>
+       <target depends="clean" description="Clean build products." name="clean-ear"/>
 </project>
index 2a273b2459e519656bd29590d3ff2affe0f7c56f..dc560dfacb78c9cd9f0c8fe8a4eb53817a432749 100644 (file)
@@ -1,25 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <Scene Scope="Project" version="2">
-    <Scope Scope="Faces Configuration Only"/>
-    <Scope Scope="Project">
-        <Node id="admin/admin_logout.xhtml" x="400" y="600" zoom="true"/>
-        <Node id="item_added.xhtml" x="1150" y="150" zoom="true"/>
-        <Node id="admin/index.xhtml" x="400" y="300" zoom="true"/>
-        <Node id="*" x="150" y="300" zoom="true"/>
-        <Node id="customer/register.xhtml" x="650" y="150" zoom="true"/>
-        <Node id="errorHandler.xhtml" x="900" y="450" zoom="true"/>
-        <Node id="terms.xhtml" x="650" y="300" zoom="true"/>
-        <Node id="customer/checkout.xhtml" x="400" y="150" zoom="true"/>
-        <Node id="bye.xhtml" x="650" y="450" zoom="true"/>
-        <Node id="privacy.xhtml" x="150" y="150" zoom="true"/>
-        <Node id="customer/checkout2.xhtml" x="150" y="750" zoom="true"/>
-        <Node id="index.xhtml" x="1400" y="150" zoom="true"/>
-        <Node id="imprint.xhtml" x="1150" y="300" zoom="true"/>
-        <Node id="admin/category.xhtml" x="150" y="600" zoom="true"/>
-        <Node id="customer/lost_passwd.xhtml" x="400" y="450" zoom="true"/>
-        <Node id="basket.xhtml" x="900" y="150" zoom="true"/>
-        <Node id="admin/product.xhtml" x="150" y="450" zoom="true"/>
-        <Node id="customer/login.xhtml" x="900" y="300" zoom="true"/>
-    </Scope>
-    <Scope Scope="All Faces Configurations"/>
+       <Scope Scope="Faces Configuration Only"/>
+       <Scope Scope="Project">
+               <Node id="admin/admin_logout.xhtml" x="400" y="600" zoom="true"/>
+               <Node id="item_added.xhtml" x="1150" y="150" zoom="true"/>
+               <Node id="admin/index.xhtml" x="400" y="300" zoom="true"/>
+               <Node id="*" x="150" y="300" zoom="true"/>
+               <Node id="customer/register.xhtml" x="650" y="150" zoom="true"/>
+               <Node id="errorHandler.xhtml" x="900" y="450" zoom="true"/>
+               <Node id="terms.xhtml" x="650" y="300" zoom="true"/>
+               <Node id="customer/checkout.xhtml" x="400" y="150" zoom="true"/>
+               <Node id="bye.xhtml" x="650" y="450" zoom="true"/>
+               <Node id="privacy.xhtml" x="150" y="150" zoom="true"/>
+               <Node id="customer/checkout2.xhtml" x="150" y="750" zoom="true"/>
+               <Node id="index.xhtml" x="1400" y="150" zoom="true"/>
+               <Node id="imprint.xhtml" x="1150" y="300" zoom="true"/>
+               <Node id="admin/category.xhtml" x="150" y="600" zoom="true"/>
+               <Node id="customer/lost_passwd.xhtml" x="400" y="450" zoom="true"/>
+               <Node id="basket.xhtml" x="900" y="150" zoom="true"/>
+               <Node id="admin/product.xhtml" x="150" y="450" zoom="true"/>
+               <Node id="customer/login.xhtml" x="900" y="300" zoom="true"/>
+       </Scope>
+       <Scope Scope="All Faces Configurations"/>
 </Scene>
index 191d55796a6ef57ab54b7d874e42c4c99fbc109a..183d8993042c740a76c87084ffd2499e148a697c 100644 (file)
@@ -1,76 +1,76 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://www.netbeans.org/ns/project/1">
-    <type>org.netbeans.modules.web.project</type>
-    <configuration>
-        <data xmlns="http://www.netbeans.org/ns/web-project/3">
-            <name>PizzaService-war</name>
-            <minimum-ant-version>1.6.5</minimum-ant-version>
-            <web-module-libraries>
-                <library dirs="200">
-                    <file>${file.reference.jcore.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.jcore-logger-lib.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.jcoreee.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.jshop-core.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.jshop-ee-lib.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${reference.PizzaService-lib.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.cdi-api.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.gf-client.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.log4j-api-2.3.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.log4j-core-2.3.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-                <library dirs="200">
-                    <file>${file.reference.log4j-web-2.3.jar}</file>
-                    <path-in-war>WEB-INF/lib</path-in-war>
-                </library>
-            </web-module-libraries>
-            <web-module-additional-libraries/>
-            <source-roots>
-                <root id="src.dir"/>
-            </source-roots>
-            <test-roots>
-                <root id="test.src.dir"/>
-            </test-roots>
-        </data>
-        <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
-            <definitions>.\lib\nblibraries.properties</definitions>
-        </libraries>
-        <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
-            <reference>
-                <foreign-project>PizzaService-lib</foreign-project>
-                <artifact-type>jar</artifact-type>
-                <script>build.xml</script>
-                <target>jar</target>
-                <clean-target>clean</clean-target>
-                <id>jar</id>
-            </reference>
-        </references>
-    </configuration>
+       <type>org.netbeans.modules.web.project</type>
+       <configuration>
+               <data xmlns="http://www.netbeans.org/ns/web-project/3">
+                       <name>PizzaService-war</name>
+                       <minimum-ant-version>1.6.5</minimum-ant-version>
+                       <web-module-libraries>
+                               <library dirs="200">
+                                       <file>${file.reference.jcore.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.jcore-logger-lib.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.jcoreee.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.jshop-core.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.jshop-ee-lib.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${reference.PizzaService-lib.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.cdi-api.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.gf-client.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.log4j-api-2.3.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.log4j-core-2.3.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                               <library dirs="200">
+                                       <file>${file.reference.log4j-web-2.3.jar}</file>
+                                       <path-in-war>WEB-INF/lib</path-in-war>
+                               </library>
+                       </web-module-libraries>
+                       <web-module-additional-libraries/>
+                       <source-roots>
+                               <root id="src.dir"/>
+                       </source-roots>
+                       <test-roots>
+                               <root id="test.src.dir"/>
+                       </test-roots>
+               </data>
+               <libraries xmlns="http://www.netbeans.org/ns/ant-project-libraries/1">
+                       <definitions>.\lib\nblibraries.properties</definitions>
+               </libraries>
+               <references xmlns="http://www.netbeans.org/ns/ant-project-references/1">
+                       <reference>
+                               <foreign-project>PizzaService-lib</foreign-project>
+                               <artifact-type>jar</artifact-type>
+                               <script>build.xml</script>
+                               <target>jar</target>
+                               <clean-target>clean</clean-target>
+                               <id>jar</id>
+                       </reference>
+               </references>
+       </configuration>
 </project>
index 97f7c3992e1fd423e219b16a3d8d26f58393a5ea..9ad96b2875c9d6bafb473d7462eca2cbf731fe0a 100644 (file)
@@ -34,7 +34,7 @@ import org.mxchange.pizzaapplication.beans.shop.ShopWebController;
 
 /**
  * A converter for transfering category objects
- *
+ * <p>
  * @author Roland Haeder
  */
 @FacesConverter (forClass = ProductCategory.class, value = "category")
@@ -61,7 +61,7 @@ public class CategoryConverter implements Converter {
                try {
                        // Get initial context
                        Context context = new InitialContext();
-                       
+
                        // Lookup logger
                        this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
                } catch (final NamingException ex) {
@@ -93,7 +93,7 @@ public class CategoryConverter implements Converter {
                        Long categoryId = Long.parseLong(submittedValue);
 
                        // Category id should not be below 1
-                       assert(categoryId > 0) : "categoryId is smaller than one: " + categoryId; //NOI18N
+                       assert (categoryId > 0) : "categoryId is smaller than one: " + categoryId; //NOI18N
 
                        // Debug message
                        this.loggerBeanLocal.logDebug(MessageFormat.format("getAsObject: categoryId={0}", categoryId)); //NOI18N
index afb864ac5443a4de09f2f578c7fafd1950346453..ad78dd8898bdfb5a38d2a6399d880bcc3372f037 100644 (file)
@@ -22,7 +22,7 @@ import java.util.ResourceBundle;
 /**
  * An abstract web web bean for web applications. This class currently only
  * handles loading the resource bundle (i18n).
- *
+ * <p>
  * @author Roland Haeder
  */
 public abstract class AbstractWebBean implements Serializable {
@@ -47,7 +47,7 @@ public abstract class AbstractWebBean implements Serializable {
 
        /**
         * Getter for bundle instance
-        *
+        * <p>
         * @return Bundle instance
         */
        protected ResourceBundle getBundle () {
@@ -56,7 +56,7 @@ public abstract class AbstractWebBean implements Serializable {
 
        /**
         * Getter for message from given key
-        *
+        * <p>
         * @param key Key to get message from
         * @return Message
         */
index d1e88221914c0ef611fb0f4c69306e35be7d9d6c..6a77a62c2f45088566be47c20b2cba4a8c24962c 100644 (file)
@@ -35,12 +35,12 @@ import org.mxchange.jshopcore.model.product.Product;
 
 /**
  * A bean for the basket
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("basketController")
 @SessionScoped
-public class BasketWebBean  implements BasketWebController {
+public class BasketWebBean implements BasketWebController {
 
        /**
         * Serial number
@@ -125,7 +125,6 @@ public class BasketWebBean  implements BasketWebController {
 
                        // Trace message
                        //this.getLogger().logTrace(MessageFormat.format("addItem: item {0} - has been added to basket. - EXIT!", item));
-
                        // Added
                        return "item_added"; //NOI18N
                } catch (final BasketItemAlreadyAddedException ex) {
@@ -144,7 +143,6 @@ public class BasketWebBean  implements BasketWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("allItems: list={0} - EXIT!", list));
-
                // Return it
                return list;
        }
@@ -171,7 +169,6 @@ public class BasketWebBean  implements BasketWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("calculateCurrentItemPrice: totalPrice={0} - EXIT!", totalPrice));
-
                // Return it
                return totalPrice;
        }
@@ -198,7 +195,6 @@ public class BasketWebBean  implements BasketWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("calculateItemPrice: totalPrice={0} - EXIT!", totalPrice));
-
                // Return it
                return totalPrice;
        }
@@ -222,7 +218,6 @@ public class BasketWebBean  implements BasketWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("calculateTotalPrice: totalPrice={0} - EXIT!", totalPrice));
-
                // Return final sum
                return totalPrice;
        }
@@ -253,7 +248,6 @@ public class BasketWebBean  implements BasketWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("changeItem: targetPage={0} - EXIT!", targetPage));
-
                // Return page
                return targetPage;
        }
@@ -317,7 +311,6 @@ public class BasketWebBean  implements BasketWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("getItemAmount: itemAmount={0} - EXIT!", itemAmount));
-
                // Return it
                return itemAmount;
        }
@@ -362,13 +355,11 @@ public class BasketWebBean  implements BasketWebController {
 
                // Debug message
                //this.getLogger().logDebug(MessageFormat.format("isProductAdded: fake={0}", fake));
-
                // Ask bean about it
                boolean isAdded = this.basket.isAdded(fake);
 
                // Debug message
                //this.getLogger().logDebug(MessageFormat.format("isProductAdded: isAdded={0}", isAdded));
-
                // Is it added?
                if (isAdded) {
                        // Get item
@@ -376,14 +367,12 @@ public class BasketWebBean  implements BasketWebController {
 
                        // Debug message
                        //this.getLogger().logDebug(MessageFormat.format("isProductAdded: item={0} - setting as current item.", item));
-
                        // Set this as current item
                        this.setCurrentItem(item);
                }
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("isProductAdded: isAdded={0} - EXIT!", isAdded));
-
                // Return status
                return isAdded;
        }
@@ -417,14 +406,13 @@ public class BasketWebBean  implements BasketWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("outputLastAddedItem: lastItem={0} - EXIT!", lastItem));
-
                // Return it
                return lastItem;
        }
 
        /**
         * Getter for basket bean instance
-        *
+        * <p>
         * @return Basket bean instance
         */
        private BasketSessionBeanRemote getBasketBean () {
@@ -435,7 +423,7 @@ public class BasketWebBean  implements BasketWebController {
         * Somewhat getter for an item instance from given product instance. This
         * method returns null if no item was found to given product. The product is
         * found by checking it's id and itemType=product
-        *
+        * <p>
         * @param product Product instance
         * @return Item instance or null if not found
         */
@@ -457,13 +445,11 @@ public class BasketWebBean  implements BasketWebController {
 
                // Debug message
                //this.getLogger().logDebug(MessageFormat.format("getItemFromProduct: fake={0}", fake));
-
                // Get all items
                List<AddableBasketItem> list = this.basket.getAll();
 
                // Debug message
                //this.getLogger().logDebug(MessageFormat.format("getItemFromProduct: list={0}", list));
-
                // Check all entries
                for (final AddableBasketItem item : list) {
                        // Debug message
@@ -485,7 +471,6 @@ public class BasketWebBean  implements BasketWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("getItemFromProduct: foundItem={0} - EXIT!", foundItem));
-
                // Return it
                return foundItem;
        }
index eccff4bfc80c0db58e43f8b99b37e834395b3010..e5a8419761facbe80ce1a02500a1dfd5dd8f34cb 100644 (file)
@@ -23,7 +23,7 @@ import org.mxchange.jshopcore.model.product.Product;
 
 /**
  * An interface for a basket
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface BasketWebController extends Serializable {
@@ -31,7 +31,7 @@ public interface BasketWebController extends Serializable {
        /**
         * Adds given product instance to basket by adding amount from form data to
         * it.
-        *
+        * <p>
         * @param product Product instance to add
         * @return Redirect target or null
         */
@@ -39,7 +39,7 @@ public interface BasketWebController extends Serializable {
 
        /**
         * Gets for all added items
-        *
+        * <p>
         * @return A list of all added items
         */
        public List<AddableBasketItem> allItems ();
@@ -47,14 +47,14 @@ public interface BasketWebController extends Serializable {
        /**
         * Calculates total price (no tax added) of current item. If no current item
         * is set and no amount, a NPE is thrown.
-        *
+        * <p>
         * @return Current item's total price
         */
        public Float calculateCurrentItemPrice ();
 
        /**
         * Calculates total price (no tax added) for given item.
-        *
+        * <p>
         * @param item Item instance to calculate total price for
         * @return Total price
         */
@@ -62,7 +62,7 @@ public interface BasketWebController extends Serializable {
 
        /**
         * Calculates total sum (no tax added) for all items
-        *
+        * <p>
         * @return Total price of all items
         */
        public Float calculateTotalPrice ();
@@ -70,7 +70,7 @@ public interface BasketWebController extends Serializable {
        /**
         * Changes given item instance's amount in basket and redirects to proper
         * page. If the item is not found, another "error" page is called.
-        *
+        * <p>
         * @param item Item instance to change
         * @return Page redirection
         */
@@ -83,28 +83,28 @@ public interface BasketWebController extends Serializable {
 
        /**
         * Getter for item amount property
-        *
+        * <p>
         * @return Item amount property
         */
        public Long getOrderedAmount ();
 
        /**
         * Setter for item amount property
-        *
+        * <p>
         * @param amount Item amount property
         */
        public void setOrderedAmount (final Long amount);
 
        /**
         * Getter for current item
-        *
+        * <p>
         * @return Current item
         */
        public AddableBasketItem getCurrentItem ();
 
        /**
         * Setter for current item
-        *
+        * <p>
         * @param currentItem Current item
         */
        public void setCurrentItem (final AddableBasketItem currentItem);
@@ -113,7 +113,7 @@ public interface BasketWebController extends Serializable {
         * Some getter for item amount of given product. This method requires a full
         * iteration over all items in the basket to look for proper product
         * instance.
-        *
+        * <p>
         * @param product Product instance
         * @return Item amount of given product
         */
@@ -121,14 +121,14 @@ public interface BasketWebController extends Serializable {
 
        /**
         * Getter for last entry
-        *
+        * <p>
         * @return Last added item in basket
         */
        public AddableBasketItem getLast ();
 
        /**
         * Getter for last num rows
-        *
+        * <p>
         * @return Last num rows
         */
        public int getLastNumRows ();
@@ -136,21 +136,21 @@ public interface BasketWebController extends Serializable {
        /**
         * Checks whether the basket has items in it. This method is wrapper to
         * isEmpty()
-        *
+        * <p>
         * @return Whether the basket is empty
         */
        public boolean hasItems ();
 
        /**
         * Checks whether the basket is empty
-        *
+        * <p>
         * @return Whether the basket is empty
         */
        public boolean isEmpty ();
 
        /**
         * Checks whether the currently set product is added in basked
-        *
+        * <p>
         * @param product Product instance
         * @return Whether the product is added
         */
@@ -158,7 +158,7 @@ public interface BasketWebController extends Serializable {
 
        /**
         * Outputs last added item in the basket.
-        *
+        * <p>
         * @return Last added item
         */
        public String outputLastAddedItem ();
index e275349fb49be1bd172a1dd280bb690a68ec82fd..33b3d1d7e1cbd15f7dec36f3bbc2bd1c876978b2 100644 (file)
@@ -32,7 +32,7 @@ import org.mxchange.pizzaapplication.beans.shop.ShopWebController;
 
 /**
  * Main application class
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("admin_category")
index f749293a7b6f306937803b1fd1a864b056a9d81b..c8f5358aceeb0ef743d1c5a44a99ccd22c8d852c 100644 (file)
@@ -21,14 +21,14 @@ import org.mxchange.jshopcore.model.category.Category;
 
 /**
  * An interface for product controllers for "ADMIN" role
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface AdminCategoryWebController {
 
        /**
         * Adds given category data from request to database
-        *
+        * <p>
         * @throws javax.faces.view.facelets.FaceletException If something
         * unexpected happened
         */
@@ -36,28 +36,28 @@ public interface AdminCategoryWebController {
 
        /**
         * Getter for parent id
-        *
+        * <p>
         * @return Parent id
         */
        public Category getParentCategory ();
 
        /**
         * Setter for parent category
-        *
+        * <p>
         * @param parentCategory Parent category to set
         */
        public void setParentCategory (final Category parentCategory);
 
        /**
         * Getter for category title
-        *
+        * <p>
         * @return the title
         */
        public String getCategoryTitle ();
 
        /**
         * Setter for category title
-        *
+        * <p>
         * @param categoryTitle the title to set
         */
        public void setCategoryTitle (final String categoryTitle);
index 48c16d91e75d0c6c6d4c05a356c27ce741284306..465ea4043edfc5e75a7c4a94a42fc74360d6a725 100644 (file)
@@ -43,7 +43,7 @@ import org.mxchange.pizzaapplication.beans.receipt.ReceiptWebController;
 
 /**
  * Checkout controller
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("checkoutController")
@@ -138,13 +138,11 @@ public class CheckoutWebBean implements CheckoutWebController {
 
                // Debug message
                //this.getLogger().logDebug(MessageFormat.format("doCheckout: customer={0}", this.getCustomer()));
-
                // Get ordered list
                List<AddableBasketItem> list = this.basketController.allItems();
 
                // Debug message
                //this.getLogger().logTrace(MessageFormat.format("doCheckout: list={0}", list));
-
                // Construct container
                WrapableCheckout wrapper = new CheckoutWrapper();
                wrapper.setCustomer(this.getCustomer());
index a3250207d9cf7273a771ee94d74c9260cc407f17..395e5439b088688692e771492931a9f26bcebcb3 100644 (file)
@@ -21,28 +21,28 @@ import org.mxchange.jshopcore.model.customer.Customer;
 
 /**
  * An interface for the shop
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface CheckoutWebController extends Serializable {
 
        /**
         * Runs the actual checkout and returns a proper page redirection target.
-        *
+        * <p>
         * @return Page redirection target
         */
        public String doCheckout ();
 
        /**
         * Getter for customer instance
-        *
+        * <p>
         * @return Customer instance
         */
        public Customer getCustomer ();
 
        /**
         * Setter for customer instance
-        *
+        * <p>
         * @param customer Customer instance
         */
        public void setCustomer (final Customer customer);
index eb9469879609214d7551db619525eeff79f17d8b..ff541c69ef40c21102d6cf928e667a8d21867505 100644 (file)
@@ -31,7 +31,7 @@ import org.mxchange.jshopcore.model.customer.ShopCustomer;
 
 /**
  * A customer bean which hides the customer instance
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("customerController")
@@ -43,7 +43,6 @@ public class CustomerWebBean implements CustomerWebController {
         */
        private static final long serialVersionUID = 542_145_347_916L;
 
-
        /////////////////////// Properties /////////////////////
        /**
         * Cellphone number
@@ -165,7 +164,6 @@ public class CustomerWebBean implements CustomerWebController {
 
                // Trace message
                //this.getLogger().logTrace(MessageFormat.format("createInstance: customer={0} - EXIT!", customer));
-
                // Return it
                return customer;
        }
index cdc51756e4f1580399add8bfa194e09c6f6287c7..8db9fd76d88f6468d5c2e9df96ab7e6f83377496 100644 (file)
@@ -22,203 +22,203 @@ import org.mxchange.jshopcore.model.customer.Customer;
 
 /**
  * An interface for customer beans
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface CustomerWebController extends Serializable {
 
        /**
         * Creates an instance from all properties
-        *
+        * <p>
         * @return A Customer instance
         */
        public Customer createCustomerInstance ();
 
        /**
         * Cellphone number
-        *
+        * <p>
         * @return the cellphoneNumber
         */
        public String getCellphoneNumber ();
 
        /**
         * Cellphone number
-        *
+        * <p>
         * @param cellphoneNumber the cellphoneNumber to set
         */
        public void setCellphoneNumber (final String cellphoneNumber);
 
        /**
         * City
-        *
+        * <p>
         * @return the city
         */
        public String getCity ();
 
        /**
         * City
-        *
+        * <p>
         * @param city the city to set
         */
        public void setCity (final String city);
 
        /**
         * Company name
-        *
+        * <p>
         * @return the companyName
         */
        public String getCompanyName ();
 
        /**
         * Company name
-        *
+        * <p>
         * @param companyName the companyName to set
         */
        public void setCompanyName (final String companyName);
 
        /**
         * Country code
-        *
+        * <p>
         * @return the countryCode
         */
        public String getCountryCode ();
 
        /**
         * Country code
-        *
+        * <p>
         * @param countryCode the countryCode to set
         */
        public void setCountryCode (final String countryCode);
 
        /**
         * Email address
-        *
+        * <p>
         * @return the emailAddress
         */
        public String getEmailAddress ();
 
        /**
         * Email address
-        *
+        * <p>
         * @param emailAddress the emailAddress to set
         */
        public void setEmailAddress (final String emailAddress);
 
        /**
         * Family name
-        *
+        * <p>
         * @return the familyName
         */
        public String getFamilyName ();
 
        /**
         * Family name
-        *
+        * <p>
         * @param familyName the familyName to set
         */
        public void setFamilyName (final String familyName);
 
        /**
         * Fax number
-        *
+        * <p>
         * @return the faxNumber
         */
        public String getFaxNumber ();
 
        /**
         * Fax number
-        *
+        * <p>
         * @param faxNumber the faxNumber to set
         */
        public void setFaxNumber (final String faxNumber);
 
        /**
         * First name
-        *
+        * <p>
         * @return the first name
         */
        public String getFirstName ();
 
        /**
         * First name
-        *
+        * <p>
         * @param firstName the first name to set
         */
        public void setFirstName (final String firstName);
 
        /**
         * Gender of the contact
-        *
+        * <p>
         * @return the gender
         */
        public Gender getGender ();
 
        /**
         * Gender of the contact
-        *
+        * <p>
         * @param gender the gender to set
         */
        public void setGender (final Gender gender);
 
        /**
         * House number
-        *
+        * <p>
         * @return the houseNumber
         */
        public Short getHouseNumber ();
 
        /**
         * House number
-        *
+        * <p>
         * @param houseNumber the houseNumber to set
         */
        public void setHouseNumber (final Short houseNumber);
 
        /**
         * Phone number
-        *
+        * <p>
         * @return the phoneNumber
         */
        public String getPhoneNumber ();
 
        /**
         * Phone number
-        *
+        * <p>
         * @param phoneNumber the phoneNumber to set
         */
        public void setPhoneNumber (final String phoneNumber);
 
        /**
         * Street
-        *
+        * <p>
         * @return the street
         */
        public String getStreet ();
 
        /**
         * Street
-        *
+        * <p>
         * @param street the street to set
         */
        public void setStreet (final String street);
 
        /**
         * ZIP code
-        *
+        * <p>
         * @return the zipCode
         */
        public Long getZipCode ();
 
        /**
         * ZIP code
-        *
+        * <p>
         * @param zipCode the zipCode to set
         */
        public void setZipCode (final Long zipCode);
 
        /**
         * Checks whether all required personal data is set
-        *
+        * <p>
         * @return Whether the required personal data is set
         */
        public boolean isRequiredPersonalDataSet ();
index 803fbbe8012c118cd713742c2794f93f7c67fb7d..8203582c69c718946fc67b197d374bd104d9d156 100644 (file)
@@ -24,7 +24,7 @@ import org.mxchange.jcore.model.contact.gender.GenderUtils;
 
 /**
  * A customer bean which hides the customer instance
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("gender")
index 7fa87790299df65d723cb65e2fb73ebf91f52db9..e75f2330e25b7c8f63a361070b186d49e3d445d4 100644 (file)
@@ -22,21 +22,21 @@ import org.mxchange.jcore.model.contact.gender.Gender;
 
 /**
  * An interface for data beans
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface GenderWebController extends Serializable {
 
        /**
         * Getter for all genders as array
-        *
+        * <p>
         * @return All genders as array
         */
        public Gender[] getAllGenders ();
 
        /**
         * Getter for only selectable genders as array, UNKNOWN is not selectable
-        *
+        * <p>
         * @return All genders as array
         */
        public List<Gender> getSelectableGenders ();
index 49392973d5076e4595e04c2c3762532375c4e8f4..0ec98444fedc5ed457544d34ba87ed68c39996fb 100644 (file)
@@ -34,7 +34,7 @@ import org.mxchange.pizzaapplication.beans.shop.ShopWebController;
 
 /**
  * Main application class
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("admin_product")
index 0942bff87f1b4acb8ec2a7a9da79d5c99002417f..11dae64da3df7d7e3f8833e9605593edbf79ccb1 100644 (file)
@@ -23,14 +23,14 @@ import org.mxchange.jshopcore.model.product.Product;
 
 /**
  * An interface for product controllers for "ADMIN" role
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface AdminProductWebController {
 
        /**
         * Adds given product data from request to database
-        *
+        * <p>
         * @throws javax.faces.view.facelets.FaceletException If something
         * unexpected happened
         */
@@ -38,7 +38,7 @@ public interface AdminProductWebController {
 
        /**
         * Some "getter" for a linked list of all products
-        *
+        * <p>
         * @return All products
         * @throws javax.faces.view.facelets.FaceletException If anything went wrong
         */
@@ -46,56 +46,56 @@ public interface AdminProductWebController {
 
        /**
         * Getter for product's available property
-        *
+        * <p>
         * @return Product's available property
         */
        public Boolean getProductAvailability ();
 
        /**
         * Setter for product's available property
-        *
+        * <p>
         * @param available Product's available property
         */
        public void setProductAvailability (final Boolean available);
 
        /**
         * Getter for product's category
-        *
+        * <p>
         * @return Product's category
         */
        public Category getProductCategory ();
 
        /**
         * Setter for product's category instance
-        *
+        * <p>
         * @param productCategory Product's category instance
         */
        public void setProductCategory (final Category productCategory);
 
        /**
         * Getter for product's price property
-        *
+        * <p>
         * @return Product's price property
         */
        public Float getProductPrice ();
 
        /**
         * Setter for product's price property
-        *
+        * <p>
         * @param price Product's price property
         */
        public void setProductPrice (final Float price);
 
        /**
         * Getter for product's title property
-        *
+        * <p>
         * @return Product's title
         */
        public String getProductTitle ();
 
        /**
         * Setter for product's title property
-        *
+        * <p>
         * @param title Product's title
         */
        public void setProductTitle (final String title);
index 83de0a0cb1503ad1504610f87004855fa132417c..7874c927002306016483978252a2f3bbe95e80fc 100644 (file)
@@ -27,7 +27,7 @@ import org.mxchange.jshopcore.model.receipt.ReceiptBeanRemote;
 
 /**
  * Checkout controller
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("receiptController")
index a06cda1e8bd271640bfee217d2b8a6c95b836edc..ff5998b625c7674dd2d9a7ddebd540aa28156dcd 100644 (file)
@@ -21,28 +21,28 @@ import org.mxchange.jshopcore.model.customer.Customer;
 
 /**
  * An interface for the shop
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface ReceiptWebController extends Serializable {
 
        /**
         * Fetches last access key for given customer instance
-        *
+        * <p>
         * @return Access key to receipt
         */
        public String fetchAccessKey ();
 
        /**
         * Getter for customer instamce
-        *
+        * <p>
         * @return Customer instance
         */
        public Customer getCustomer ();
 
        /**
         * Setter for customer instamce
-        *
+        * <p>
         * @param customer Customer instance
         */
        public void setCustomer (final Customer customer);
index ced5b406d975f7fce4d4a2c3c427be4746f09590..d661a292a7df68500eab74eb29a71f4d9a28208c 100644 (file)
@@ -35,7 +35,7 @@ import org.mxchange.pizzaapplication.beans.AbstractWebBean;
 
 /**
  * General shop controller
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 @Named ("controller")
@@ -94,7 +94,7 @@ public class ShopWebBean extends AbstractWebBean implements ShopWebController {
                // TODO Find something better here to prevent warning
                return Collections.unmodifiableList(this.availableProducts);
        }
-       
+
        /**
         * Initialization of this bean
         */
@@ -103,16 +103,16 @@ public class ShopWebBean extends AbstractWebBean implements ShopWebController {
                try {
                        // Get initial context
                        Context context = new InitialContext();
-                       
+
                        // Try to lookup the bean
                        CategorySessionBeanRemote categoryBean = (CategorySessionBeanRemote) context.lookup("ejb/stateless-category"); //NOI18N
-                       
+
                        // Get all categories
                        this.categories = categoryBean.getAllCategories();
-                       
+
                        // Try to lookup the bean
                        ProductSessionBeanRemote productBean = (ProductSessionBeanRemote) context.lookup("ejb/stateless-product"); //NOI18N
-                       
+
                        // Get available products list
                        this.availableProducts = productBean.getAvailableProducts();
                } catch (final NamingException e) {
index 4de37aa2f279d1d2921894ed1593b34bb8280c93..705a66ada086145b608bdca13b6e33844420a186 100644 (file)
@@ -24,28 +24,28 @@ import org.mxchange.jshopcore.model.product.Product;
 
 /**
  * An interface for the shop
- *
+ * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface ShopWebController extends Serializable {
 
        /**
         * Adds given category to the "cached" instance
-        *
+        * <p>
         * @param category Category instance
         */
        public void addCategory (final Category category);
 
        /**
         * Adds given product to the "cached" instance
-        *
+        * <p>
         * @param product Product instance
         */
        public void addProduct (final Product product);
 
        /**
         * Some "getter" for a linked list of all categories
-        *
+        * <p>
         * @return All categories
         * @throws javax.faces.view.facelets.FaceletException If anything went wrong
         */
@@ -54,7 +54,7 @@ public interface ShopWebController extends Serializable {
        /**
         * Some "getter" for a linked list of all categories including "Has no
         * parent" fake category.
-        *
+        * <p>
         * @return All categories
         * @throws javax.faces.view.facelets.FaceletException If anything went wrong
         */
@@ -62,7 +62,7 @@ public interface ShopWebController extends Serializable {
 
        /**
         * Some "getter" for a linked list of only available products
-        *
+        * <p>
         * @return Only available products
         * @throws javax.faces.view.facelets.FaceletException If anything went wrong
         */
index 6df5e74dfd6f2469acfb185512894a3cfd95f2cb..db32ccae16e9d5ce4cafbba8240a0db7d7272f35 100644 (file)
@@ -30,7 +30,7 @@ import org.mxchange.jshopcore.model.receipt.WrapableReceipt;
 
 /**
  * A servlet for a PDF receipt (official)
- *
+ * <p>
  * @author Roland Haeder
  */
 public class PdfReceiptServlet extends HttpServlet {