java.lang.Object
com.djrapitops.plan.delivery.domain.auth.User
All Implemented Interfaces:
Comparable<User>

public class User extends Object implements Comparable<User>
Represents a registered user in the database.
  • Constructor Details

  • Method Details

    • doesPasswordMatch

      public boolean doesPasswordMatch(String password)
    • toWebUser

      public WebUser toWebUser()
    • getUsername

      public String getUsername()
    • getLinkedTo

      public String getLinkedTo()
    • getLinkedToUUID

      public UUID getLinkedToUUID()
    • getPasswordHash

      public String getPasswordHash()
    • getPermissionLevel

      @Deprecated public int getPermissionLevel()
      Deprecated.
    • setPermissionLevel

      @Deprecated public void setPermissionLevel(int permissionLevel)
      Deprecated.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(User other)
      Specified by:
      compareTo in interface Comparable<User>