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(since="2022-05-04", forRemoval=true) public int getPermissionLevel()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Permission list should be used instead.
    • setPermissionLevel

      @Deprecated(since="2022-05-04", forRemoval=true) public void setPermissionLevel(int permissionLevel)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Permission list should be used instead.
    • 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>