Class User
java.lang.Object
com.djrapitops.plan.delivery.domain.auth.User
- All Implemented Interfaces:
Comparable<User>
Represents a registered user in the database.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
doesPasswordMatch
(String password) boolean
int
Deprecated, for removal: This API element is subject to removal in a future version.Permission list should be used instead.int
hashCode()
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()
-
Constructor Details
-
User
-
-
Method Details
-
doesPasswordMatch
-
toWebUser
-
getUsername
-
getLinkedTo
-
getLinkedToUUID
-
getPasswordHash
-
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
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<User>
-