ApplicationUserStatus (enum)

Whether the user’s account is locked or unlocked.

API

ApplicationUserStatus.java
enum ApplicationUserStatus {
  UNLOCKED
  LOCKED
  ApplicationUserStatus parse(Boolean unlocked)
  String toString()
  boolean isUnlocked(ApplicationUserStatus status)
  boolean isLockedOrUnspecified(ApplicationUserStatus status)
  boolean canLock(ApplicationUserStatus status)     (1)
  boolean canUnlock(ApplicationUserStatus status)     (2)
}
1 canLock(ApplicationUserStatus)

Whether can transition to state LOCKED. That is, YES if not already at that state.

2 canUnlock(ApplicationUserStatus)

Whether can transition to state UNLOCKED. That is, YES if not already at that state.

Members

canLock(ApplicationUserStatus)

Whether can transition to state LOCKED. That is, YES if not already at that state.

canUnlock(ApplicationUserStatus)

Whether can transition to state UNLOCKED. That is, YES if not already at that state.