]> git.mxchange.org Git - jbonuscard-lib.git/commitdiff
Added email address for author + made default constructor public (maybe needed for...
authorRoland Haeder <roland@mxchange.org>
Sun, 6 Mar 2016 16:52:43 +0000 (17:52 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 6 Mar 2016 16:52:43 +0000 (17:52 +0100)
23 files changed:
src/org/mxchange/addressbook/events/addressbook/AddressbookLoadedEvent.java
src/org/mxchange/addressbook/events/addressbook/LoadedAddressbookEvent.java
src/org/mxchange/addressbook/events/sharing/AddressbookSharingEvent.java
src/org/mxchange/addressbook/events/sharing/EndedAddressbookSharingEvent.java
src/org/mxchange/addressbook/events/sharing/StartedAddressbookSharingEvent.java
src/org/mxchange/addressbook/events/sharing/type/SharingType.java
src/org/mxchange/addressbook/exceptions/AddressbookNameAlreadyUsedException.java
src/org/mxchange/addressbook/exceptions/AddressbookNotFoundException.java
src/org/mxchange/addressbook/exceptions/UserAlreadySharingAddressbookException.java
src/org/mxchange/addressbook/model/addressbook/Addressbook.java
src/org/mxchange/addressbook/model/addressbook/AddressbookSessionBeanRemote.java
src/org/mxchange/addressbook/model/addressbook/UserAddressbook.java
src/org/mxchange/addressbook/model/addressbook/entry/AddressbookEntry.java
src/org/mxchange/addressbook/model/addressbook/entry/UserAddressbookEntry.java
src/org/mxchange/addressbook/model/addressbook/shared/AddressbookShare.java
src/org/mxchange/addressbook/model/addressbook/shared/ShareableAddressbook.java
src/org/mxchange/addressbook/model/addressbook/status/AddressbokStatus.java
src/org/mxchange/addressbook/model/shared/SharedAddressbooksSessionBeanRemote.java
src/org/mxchange/addressbook/validator/addressbook/AddressbookIdValidator.java
src/org/mxchange/addressbook/validator/booleans/UserProfileVisibilityValidator.java
src/org/mxchange/addressbook/validator/user/UserIdValidator.java
src/org/mxchange/jcountry/data/AddressbookCountrySingletonBeanRemote.java
src/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookSmsProviderSingletonBeanRemote.java

index 3995eae9a1be7b0eba162b2c5ec180ed20ad680e..655760dc664fcc9fe065e0c7c90af539fdaa96dc 100644 (file)
@@ -22,7 +22,7 @@ import org.mxchange.addressbook.model.addressbook.Addressbook;
 /**
  * An interface for an event if an address book has been loaded
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public interface AddressbookLoadedEvent extends Serializable {
 
index 7281c636cfec35d62302bbb4656265ee148c55a6..8ee3729fb4565c784a18710de3e231626591f021 100644 (file)
@@ -21,7 +21,7 @@ import org.mxchange.addressbook.model.addressbook.Addressbook;
 /**
  * An event fired when an address book has been loaded
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public class LoadedAddressbookEvent implements AddressbookLoadedEvent {
 
index e5c58fb7a44e0237c0b4c16cfb17cf84199fdb94..c539e98e9c49f6cbed77c61f949975e7ed8dcc09 100644 (file)
@@ -23,7 +23,7 @@ import org.mxchange.addressbook.model.addressbook.shared.ShareableAddressbook;
 /**
  * An interface for address book sharing events
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public interface AddressbookSharingEvent extends Serializable {
 
index 10d7771eea84ebfa182cd15e2e46f5780d96cf1f..1116d81314aa1dc8ea96afc8c748ed33135c5a27 100644 (file)
@@ -22,7 +22,7 @@ import org.mxchange.addressbook.model.addressbook.shared.ShareableAddressbook;
 /**
  * An event fired when a user ends sharing address books
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public class EndedAddressbookSharingEvent implements AddressbookSharingEvent {
 
index 6336806195ba1cf3122352414106ac829db5190c..36e0d4f55491b9b5ffc79f6f2f4836933cd560f4 100644 (file)
@@ -22,7 +22,7 @@ import org.mxchange.addressbook.model.addressbook.shared.ShareableAddressbook;
 /**
  * An event fired when a user starts sharing address books
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public class StartedAddressbookSharingEvent implements AddressbookSharingEvent {
 
index 8012d3f67ae1eecbb3883e1d2c41dde19abd6b85..8ac9c11280e30e6ec60231f8cb3bfa807cf8bdeb 100644 (file)
@@ -19,7 +19,7 @@ package org.mxchange.addressbook.events.sharing.type;
 /**
  * An enum for sharing types
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public enum SharingType {
 
index 1fc11c62037f145493590a64073ecc849a0ecdd6..da12890e4cccff3fe548c79a02bb7272abfdfbda 100644 (file)
@@ -22,7 +22,7 @@ import org.mxchange.addressbook.model.addressbook.Addressbook;
 /**
  * An exception thrown when the user has already used the name.
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public class AddressbookNameAlreadyUsedException extends Exception {
 
index e9d75434e12249383076cf7b1ae0b448e26d468e..e17dc15a386c937fe59cd4a7a440805c27926b66 100644 (file)
@@ -22,7 +22,7 @@ import java.text.MessageFormat;
  * An exception thrown when the address book's id number is not valid, so no
  * address book can be found.
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public class AddressbookNotFoundException extends Exception {
 
index 1cbcf587fa0c6c70fa384e68d395a8d106575c08..a6e0d48909732253bdc2029e1fc977c626d33ffb 100644 (file)
@@ -23,7 +23,7 @@ import org.mxchange.jusercore.model.user.User;
 /**
  * An exception thrown whent the address book is already shared with given user
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public class UserAlreadySharingAddressbookException extends Exception {
 
index 93fe3bfeba0313f00c7297013e6d1c675564958d..d4d4640a23e0df62aa93a551c5a79af8e1bd3cc9 100644 (file)
@@ -24,7 +24,7 @@ import org.mxchange.jusercore.model.user.User;
 /**
  * A POJI for addressbooks
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public interface Addressbook extends Serializable {
 
index e2f99d960172d0fe4527ed627cca513dbf230696..1d2756399af66554d5a8f8c5b12813abbd9006b6 100644 (file)
@@ -27,7 +27,7 @@ import org.mxchange.jusercore.model.user.User;
 /**
  * A remote session interface for addressbook handling
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Remote
 public interface AddressbookSessionBeanRemote extends Serializable {
index 80d72641bc8475a1f1dc5a26846a45559caa4806..b6e87dcf9bf29223da34c71d6dc31a8b736820d6 100644 (file)
@@ -42,7 +42,7 @@ import org.mxchange.jusercore.model.user.User;
 /**
  * A POJO for user addressbooks
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Entity (name = "addressbooks")
 @Table (name = "addressbooks")
@@ -130,9 +130,9 @@ public class UserAddressbook implements Addressbook, Comparable<Addressbook> {
        }
 
        /**
-        * Default protected constructor
+        * Default constructor
         */
-       protected UserAddressbook () {
+       public UserAddressbook () {
                // Set status to UNLOCKED
                this.addressbookStatus = AddressbokStatus.UNLOCKED;
        }
index 1c7a6f3547ace54ed4c8b29215ef3da433530839..1b0898bd6222a20eb59a2e56bbbaaffb1e70f4a0 100644 (file)
@@ -25,7 +25,7 @@ import org.mxchange.jcontactsbusiness.BusinessContact;
 /**
  * A POJI for addressbook entries
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public interface AddressbookEntry extends Serializable {
 
index b26cb31c59378b71001ea766480156be548cc388..c65aead39851f477c65e4e74ef486f2667504aa1 100644 (file)
@@ -42,7 +42,7 @@ import org.mxchange.jcontactsbusiness.CompanyContact;
 /**
  * A POJO for address book entries
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Entity (name = "addressbook_entries")
 @Table (name = "addressbook_entries")
index 33c02920d5481ef185aa600ec0ec7f8db6f0aa7d..d3f9166a28fe24b622ea4fc055118ff15fa96e99 100644 (file)
@@ -42,7 +42,7 @@ import org.mxchange.jusercore.model.user.User;
 /**
  * A POJO for sharing address books with other users
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Entity (name = "addressbook_shares")
 @Table (name = "addressbook_shares")
@@ -111,7 +111,7 @@ public class AddressbookShare implements ShareableAddressbook, Comparable<Sharea
         * @param sharee User sharee instance
         */
        public AddressbookShare (final Addressbook addressbook, final User sharee) {
-               // Call protected constructor
+               // Call default constructor
                this();
 
                // Check all conditions
@@ -146,9 +146,9 @@ public class AddressbookShare implements ShareableAddressbook, Comparable<Sharea
        }
 
        /**
-        * Default constructor for entity manager
+        * Default constructor
         */
-       protected AddressbookShare () {
+       public AddressbookShare () {
        }
 
        @Override
index e5e6b10174c822557916f4ee5594e75e2983a711..847d88d87931e032b83e8957175807f84a87e6de 100644 (file)
@@ -24,7 +24,7 @@ import org.mxchange.jusercore.model.user.User;
 /**
  * A POJI for shared address books
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public interface ShareableAddressbook extends Serializable {
 
index 48702a78fe6028af4ec7b73984fb3af784f619a3..5aab34e62020c2d70af105a4331b588831dbff8b 100644 (file)
@@ -21,7 +21,7 @@ import java.io.Serializable;
 /**
  * An enum for the addressbook status
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public enum AddressbokStatus implements Serializable {
 
index 064d382421faa4e115fb300ff06c9ee902542464..af1a3607f2930a37be89de4fd320cde26a3cf404 100644 (file)
@@ -27,7 +27,7 @@ import org.mxchange.jusercore.model.user.User;
 /**
  * A remote interface for sharing address books
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Remote
 public interface SharedAddressbooksSessionBeanRemote extends Serializable {
index e396e446a34afb75c508a51e1795adbbf9fbc4c2..a3edc657a153fdb134c33898ba8dee24923bca37 100644 (file)
@@ -35,7 +35,7 @@ import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
 /**
  * A validator for address book id verification
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @FacesValidator (value = "AddressbookIdValidator")
 public class AddressbookIdValidator extends BaseLongValidator {
index 627d03b8769196ae6171f66efe91f3d445bf61da..01b0d2063d703492eee2fb3ad70bafc8551b736a 100644 (file)
@@ -26,7 +26,7 @@ import org.mxchange.jcoreee.validator.bool.BaseBooleanValidator;
 /**
  * A validator for user profile visibility
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @FacesValidator (value = "UserProfileVisibilityValidator")
 public class UserProfileVisibilityValidator extends BaseBooleanValidator implements Validator {
index 9333f73a7062dc0367a126e7093145068cfe6518..1b14542779c2232929b687ee62483fc2e93968c8 100644 (file)
@@ -39,7 +39,7 @@ import org.mxchange.jusercore.model.user.UserSessionBeanRemote;
 /**
  * A validator for user ids
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @FacesValidator (value = "UserIdValidator")
 public class UserIdValidator extends BaseLongValidator implements Validator {
index 013ba4ad93fc3a5d4416a7875f0800915976a843..9f55976a8279b3ee0b2bbc388d85bcc6ba5b6fd5 100644 (file)
@@ -23,7 +23,7 @@ import javax.ejb.Remote;
 /**
  * A remote interface for country informations
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Remote
 public interface AddressbookCountrySingletonBeanRemote extends Serializable {
index 0be6c1d72fcbe5af9560485f39a540fbbe379a14..b8047005dacf2e7975fda7da7c8247f27a253a5f 100644 (file)
@@ -23,7 +23,7 @@ import javax.ejb.Remote;
 /**
  * A remote interface for cellphone carrier data retrieval
  * <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 @Remote
 public interface AddressbookSmsProviderSingletonBeanRemote extends Serializable {