public class UserStatus extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static UserStatus |
ACTIVE |
static UserStatus |
CONFIRMED |
static UserStatus |
DELETED |
static UserStatus |
INVITED |
static UserStatus |
PERMANENTLY_DISABLED
The user decided to leave the system or was disabled by the client manager.
|
static UserStatus |
REGISTERED |
static UserStatus |
TEMPORARILY_DISABLED
The user was temporarily disabled by the client manager and can be re-activated by the client
manager.
|
static UserStatus |
TERMS_NOT_ACCEPTED |
Modifier | Constructor and Description |
---|---|
protected |
UserStatus()
The default constructor allowing super classes to access it.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object that) |
boolean |
equals(Object object) |
static UserStatus |
fromString(String value)
Creates an instance of UserStatus from
value . |
String |
getValue()
Gets the underlying value of this type safe enumeration.
|
int |
hashCode() |
static List<String> |
literals()
Returns an unmodifiable list containing the literals that are known by this enumeration.
|
static List<String> |
names()
Returns an unmodifiable list containing the names of the literals that are known by this
enumeration.
|
String |
toString() |
public static final UserStatus REGISTERED
public static final UserStatus CONFIRMED
public static final UserStatus ACTIVE
public static final UserStatus TEMPORARILY_DISABLED
The user was temporarily disabled by the client manager and can be re-activated by the client manager.
public static final UserStatus DELETED
public static final UserStatus INVITED
public static final UserStatus PERMANENTLY_DISABLED
The user decided to leave the system or was disabled by the client manager. All his data is kept but he cannot login anymore. The account cannot be re-activated.
public static final UserStatus TERMS_NOT_ACCEPTED
protected UserStatus()
public static UserStatus fromString(String value)
value
.value
- the value to create the UserStatus from.public static List<String> literals()
public static List<String> names()
public int compareTo(Object that)
Comparable.compareTo(Object)
public boolean equals(Object object)
equals
in class Object
Object.equals(Object)
public String getValue()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019 Communote team. All rights reserved.