public class LockedInfo extends Object implements Serializable
User.getLockedInfo()
,
UserService.lockUser(String)
,
UserService.unlockUser(String)
,
Serialized FormConstructor and Description |
---|
LockedInfo(boolean locked,
String lockedBy,
Date lockedDate)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLockedBy()
Gets the identity of the person who locked this user account.
|
Date |
getLockedDate()
Gets the date the user account was locked.
|
int |
hashCode() |
boolean |
isLocked()
Gets the Boolean value that indicates whether the user account is locked.
|
void |
setLocked(boolean locked)
Sets the Boolean value that indicates if the user account is locked.
|
String |
toString() |
public LockedInfo(boolean locked, String lockedBy, Date lockedDate)
locked
- the Boolean value that indicates whether the user account is locked.lockedBy
- the identity of the person who locked the user account.lockedDate
- the date that the user account was locked.public boolean isLocked()
public void setLocked(boolean locked)
locked
- The Boolean value that indicates if the user account is locked.public String getLockedBy()
public Date getLockedDate()
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>