From d2cbfab21697a4435283d863036354ddc2356b59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 10 Aug 2016 16:37:10 +0200 Subject: [PATCH] Continued a bit: - added new jar depdendency jcontact-core.jar - added new event for unlinked cellphone-contact (by admin) - fixed comment (minor) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- lib/jcontacts-core.jar | Bin 0 -> 32294 bytes nbproject/project.properties | 201 +++++++++--------- .../AdminCellphoneNumberUnlinkedEvent.java | 66 ++++++ .../AdminUnlinkedCellphoneNumberEvent.java | 44 ++++ .../AdminCellphoneNumberUpdatedEvent.java | 2 +- 5 files changed, 213 insertions(+), 100 deletions(-) create mode 100644 lib/jcontacts-core.jar create mode 100644 src/org/mxchange/jphone/events/cellphone/unlinked/AdminCellphoneNumberUnlinkedEvent.java create mode 100644 src/org/mxchange/jphone/events/cellphone/unlinked/AdminUnlinkedCellphoneNumberEvent.java diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar new file mode 100644 index 0000000000000000000000000000000000000000..bbb86d3bc64f0068e59f8a9a6ceed3c7a18275fe GIT binary patch literal 32294 zcmeHw33yz`ac1>kfEf%PaT6o}f*kS04e-7X5Clkw07(%5DUgz&Aut3+0%oY0fk^6b zEK9OtIWgB)Br1-q#FD8bitWgzNQssuC5{x^NjCA3WWBq#cWoz*Hcob(wbxN(DSvhM zJLb(B9F!dI=TGD}?{)X6RnWWGa@3Zwaq% zZJ!tFh&xg`PDMt>qhX}s5 z?o1?4C6bXeAU4bk%?sIx{ouy0?{hQ(Eg(uH$J%n|n5T10o*5aB#K)r3WL@CSddo;6 zo{o&9Q;tIWd-5`4LVk;fSE}v1nRD-yKV)$44V)kyzi*drRc@NE?rawmoS6RwSl8a#qy4 zGcwR>8)#>AV&c?zA|5?3HF+YM6x0panfS@iZSonHnNn>dW~sJ4vB*T^#6;8u2l!Om z__#g_+UuslRn@^wD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6IB7GhHZ-Bh91xxByY&Dq@?Et>x3Ss;kka%N| zBV0y#Z=$d-KuZD?hWEuPG=p7%RAZbz6Z4eM1lO*7e0ECc=K86i3-}K)b(Uvx^w+-k z^|tqcoAYl!GGuDLxyG?Fma8RH&-p=hcl9rft<#f_Jp9HW+`ftxa^|Z3|1D$R>#{Oj zC9QLEceZHhPSIWTRs@zhDX@6;HH$2>v}r8>P`6Kl3E zP;=9tK0Y;d_pLDB@NdsFtF3uKlI1tkF@e48(X&$Kv;5XwL|+r6MFFZSg7~n6A7Or6 z!%i&ASg%?hl&V#LFO-E@pN^%+!(;M~#qhe)9G3S&^F?Xf?_7O%7_I?fb?LQAT7x9jsbQ&vz$Yx9##rBDkgdmcb(HGzZG=Q^g*anjA{9$JnSmVs$!#+x`;i@JSv8(=)zeYBDfwu(i;V z0ZHP?oRk07fG1Fwlg>0eFbnrw{O=dVOkjk@{L1!9<_oRZE1BmwVV^@WlX5T<7%G^V zz(&F54Y$K@J!Izw$r03^TDkN$1_*6AVViI<_=kc!2)Jw=uE>OoZLWMb;I#m-P6Fn$ zI4EKPuF$3pPUF9z#C#Clnq5VK19h(|b^!d&997iHQ&i3>*scOU=tKL3uQCrDImh2? zMK1g+r5|?i+xnBN>aVxjMZNxhD;MB@kKe;5Z>*w@zvk+!ocX5At{-5X`X5*RMTD7) zPFI2#67`Qu{2hWBe0RE{>_o2qaZzl4W)`*o_@xtw`;US0nKTuQe~H>}Jich3mR zi;V6*X*AK3WPEVeFu^`ENa==)KR~Ac@qqd2tl=tq%e0`Envf;Rbzl~`NNO*q&Msn9 z-G3O?1o`+qH|BQ`&hnFLtE_az55^d4;W z&j4M|03}vuW6$v2XVYx>KkA$te8+JOXCu5$f!LM&5FBoXMr3vUV;?K+7np?2Z5MIUn49WWSL_;pd}yks0Vu)d-T(jq literal 0 HcmV?d00001 diff --git a/nbproject/project.properties b/nbproject/project.properties index ae36438..6cfc755 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -1,99 +1,102 @@ -annotation.processing.enabled=true -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=jphone-core -application.vendor=Roland Haeder -auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -# Uncomment to specify the preferred debugger connection transport: -#debug.transport=dt_socket -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# Files in build.classes.dir which should be excluded from distribution jar -dist.archive.excludes= -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/jphone-core.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -file.reference.jcoreee.jar=lib/jcoreee.jar -file.reference.jcountry-core.jar=lib/jcountry-core.jar -includes=** -jar.archive.disabled=${jnlp.enabled} -jar.compress=false -jar.index=${jnlp.enabled} -javac.classpath=\ - ${file.reference.jcoreee.jar}:\ - ${file.reference.jcountry-core.jar}:\ - ${libs.jpa20-persistence.classpath}:\ - ${libs.javaee-api-7.0.classpath} -# Space-separated list of extra javac options -javac.compilerargs=-Xlint:unchecked -Xlint:deprecation -javac.deprecation=true -javac.external.vm=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.7 -javac.target=1.7 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -javac.test.processorpath=\ - ${javac.test.classpath} -javadoc.additionalparam= -javadoc.author=true -javadoc.encoding=${source.encoding} -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=true -javadoc.splitindex=true -javadoc.use=true -javadoc.version=true -javadoc.windowtitle=Phone Library -jnlp.codebase.type=no.codebase -jnlp.descriptor=application -jnlp.enabled=false -jnlp.mixed.code=default -jnlp.offline-allowed=false -jnlp.signed=false -jnlp.signing= -jnlp.signing.alias= -jnlp.signing.keystore= -# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed -manifest.custom.codebase= -# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions) -manifest.custom.permissions= -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=true -platform.active=default_platform -project.license=gpl30 -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project. -# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. -# To set system properties for unit tests define test-sys-prop.name=value: -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -source.encoding=UTF-8 -source.reference.jcoreee.jar=../jcoreee/src/ -source.reference.jcountry-core.jar=../jcountry-core/src/ -src.dir=src -test.src.dir=test +annotation.processing.enabled=true +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=jphone-core +application.vendor=Roland Haeder +auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/jphone-core.jar +dist.javadoc.dir=${dist.dir}/javadoc +endorsed.classpath= +excludes= +file.reference.jcontacts-core.jar=lib/jcontacts-core.jar +file.reference.jcoreee.jar=lib/jcoreee.jar +file.reference.jcountry-core.jar=lib/jcountry-core.jar +includes=** +jar.archive.disabled=${jnlp.enabled} +jar.compress=false +jar.index=${jnlp.enabled} +javac.classpath=\ + ${file.reference.jcoreee.jar}:\ + ${file.reference.jcountry-core.jar}:\ + ${file.reference.jcontacts-core.jar}:\ + ${libs.jpa20-persistence.classpath}:\ + ${libs.javaee-api-7.0.classpath} +# Space-separated list of extra javac options +javac.compilerargs=-Xlint:unchecked -Xlint:deprecation +javac.deprecation=true +javac.external.vm=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.7 +javac.target=1.7 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=true +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=true +javadoc.splitindex=true +javadoc.use=true +javadoc.version=true +javadoc.windowtitle=Phone Library +jnlp.codebase.type=no.codebase +jnlp.descriptor=application +jnlp.enabled=false +jnlp.mixed.code=default +jnlp.offline-allowed=false +jnlp.signed=false +jnlp.signing= +jnlp.signing.alias= +jnlp.signing.keystore= +# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed +manifest.custom.codebase= +# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions) +manifest.custom.permissions= +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=true +platform.active=default_platform +project.license=gpl30 +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +source.reference.jcontacts-core.jar=../jcontacts-core/src/ +source.reference.jcoreee.jar=../jcoreee/src/ +source.reference.jcountry-core.jar=../jcountry-core/src/ +src.dir=src +test.src.dir=test diff --git a/src/org/mxchange/jphone/events/cellphone/unlinked/AdminCellphoneNumberUnlinkedEvent.java b/src/org/mxchange/jphone/events/cellphone/unlinked/AdminCellphoneNumberUnlinkedEvent.java new file mode 100644 index 0000000..4dcf33b --- /dev/null +++ b/src/org/mxchange/jphone/events/cellphone/unlinked/AdminCellphoneNumberUnlinkedEvent.java @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2016 Roland Haeder + * + * 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.jphone.events.cellphone.unlinked; + +import org.mxchange.jcontacts.contact.Contact; +import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; + +/** + * An event when a cell phone number has been updated + *

+ * @author Roland Haeder + */ +public class AdminCellphoneNumberUnlinkedEvent implements AdminUnlinkedCellphoneNumberEvent { + + /** + * Serial number + */ + private static final long serialVersionUID = 18_521_758_718_691_064L; + + /** + * Contact instance + */ + private final Contact contact; + + /** + * Unlinked mobile provider instance + */ + private final DialableCellphoneNumber unlinkedCellphoneNumber; + + /** + * Constructor with unlinked cell phone number + *

+ * @param contact Contact with linked cell phone instance + * @param unlinkedCellphoneNumber Unlinked cell phone number + */ + public AdminCellphoneNumberUnlinkedEvent (final Contact contact, final DialableCellphoneNumber unlinkedCellphoneNumber) { + // Set it here + this.contact = contact; + this.unlinkedCellphoneNumber = unlinkedCellphoneNumber; + } + + @Override + public Contact getContact () { + return this.contact; + } + + @Override + public DialableCellphoneNumber getUnlinkedCellphoneNumber () { + return this.unlinkedCellphoneNumber; + } + +} diff --git a/src/org/mxchange/jphone/events/cellphone/unlinked/AdminUnlinkedCellphoneNumberEvent.java b/src/org/mxchange/jphone/events/cellphone/unlinked/AdminUnlinkedCellphoneNumberEvent.java new file mode 100644 index 0000000..d76b28d --- /dev/null +++ b/src/org/mxchange/jphone/events/cellphone/unlinked/AdminUnlinkedCellphoneNumberEvent.java @@ -0,0 +1,44 @@ +/* + * Copyright (C) 2016 Roland Haeder + * + * 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.jphone.events.cellphone.unlinked; + +import java.io.Serializable; +import org.mxchange.jcontacts.contact.Contact; +import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; + +/** + * An interface for an event when a cell phone number has been updated + *

+ * @author Roland Haeder + */ +public interface AdminUnlinkedCellphoneNumberEvent extends Serializable { + + /** + * Getter for updated cell phone numbers + *

+ * @return Updated cell phone numbers + */ + DialableCellphoneNumber getUnlinkedCellphoneNumber (); + + /** + * Getter for contact instance + *

+ * @return Contact instance + */ + Contact getContact (); + +} diff --git a/src/org/mxchange/jphone/events/cellphone/updated/AdminCellphoneNumberUpdatedEvent.java b/src/org/mxchange/jphone/events/cellphone/updated/AdminCellphoneNumberUpdatedEvent.java index e336c57..8a26c1b 100644 --- a/src/org/mxchange/jphone/events/cellphone/updated/AdminCellphoneNumberUpdatedEvent.java +++ b/src/org/mxchange/jphone/events/cellphone/updated/AdminCellphoneNumberUpdatedEvent.java @@ -31,7 +31,7 @@ public class AdminCellphoneNumberUpdatedEvent implements AdminUpdatedCellphoneNu private static final long serialVersionUID = 18_521_758_718_691_064L; /** - * Added mobile provider instance + * Updated mobile provider instance */ private final DialableCellphoneNumber updatedCellphoneNumber; -- 2.39.5