]> git.mxchange.org Git - juser-login-core.git/blobdiff - src/org/mxchange/jusercore/model/user/User.java
updated own name and resources
[juser-login-core.git] / src / org / mxchange / jusercore / model / user / User.java
index 4e148a68f35f7b6e8e2abcd2f0bcea167a1f4ccc..178c2ecba775590bf9e19b3c0982dca95d41ed7c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 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
@@ -18,19 +18,20 @@ package org.mxchange.jusercore.model.user;
 
 import java.io.Serializable;
 import java.util.Calendar;
+import java.util.Locale;
 import org.mxchange.jcontacts.contact.Contact;
 import org.mxchange.jusercore.model.user.profilemodes.ProfileMode;
 import org.mxchange.jusercore.model.user.status.UserAccountStatus;
 
 /**
- * A customer interface
+ * A user POPJI
  * <p>
- * @author Roland Haeder<roland@mxchange.org>
+ * @author Roland Häder<roland@mxchange.org>
  */
 public interface User extends Serializable {
 
        /**
-        * Copies all attributes from other customer object to this
+        * Copies all attributes from other user object to this
         * <p>
         * @param userSource Source instance
         */
@@ -139,14 +140,14 @@ public interface User extends Serializable {
         * <p>
         * @return Reason of last locked
         */
-       String getLastLockedReason ();
+       String getUserLastLockedReason ();
 
        /**
         * Setter for reason of last locked
         * <p>
         * @param lastLockedReason Reason of last locked
         */
-       void setLastLockedReason (final String lastLockedReason);
+       void setUserLastLockedReason (final String lastLockedReason);
 
        /**
         * Getter for user name
@@ -191,20 +192,37 @@ public interface User extends Serializable {
        void setUserUpdated (final Calendar userUpdated);
 
        /**
-        * Checks if object is a User instance and whether it matches with this
-        * object.
+        * Getter for user's locale
         * <p>
-        * @param object Object to be checked
-        * @return Whether it matches this object
+        * @return User's locale
         */
-       @Override
-       boolean equals (final Object object);
+       Locale getUserLocale ();
+
+       /**
+        * Setteror user's locale
+        * <p>
+        * @param userLocale User's locale
+        */
+       void setUserLocale (final Locale userLocale);
 
        /**
-        * Hash code caluclation for this object
+        * Getter for flag if user needs to change password
         * <p>
-        * @return Hash code for this object
+        * @return Flag if user needs to change password
         */
+       Boolean getUserMustChangePassword ();
+
+       /**
+        * Setter for flag if user needs to change password
+        * <p>
+        * @param userMustChangePassword Flag if user needs to change password
+        */
+       void setUserMustChangePassword (final Boolean userMustChangePassword);
+
+       @Override
+       boolean equals (final Object object);
+
        @Override
        int hashCode ();
+
 }