public class UserDescriptor extends AbstractIdentifiable implements Principal
User
,
UserService
,
Serialized FormConstructor and Description |
---|
UserDescriptor(String id,
String userId,
String displayName)
It is not intended or recommended that the consumer of this API construct these objects.
|
UserDescriptor(String id,
String userId,
String displayName,
String createdBy,
Date created,
String lastModifiedBy,
Date lastModified)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreated()
Gets the date the user was created.
|
String |
getCreatedBy()
Gets the user who created the user.
|
String |
getDisplayName()
Returns the display name for a user account.
|
Date |
getLastModified()
Gets the date on which the user was last modified.
|
String |
getLastModifiedBy()
Gets the user who last modified the user.
|
String |
getPrincipalId()
Returns the principal identifier of a user or group.
|
String |
getPrincipalName()
Returns the principal name of a user or group.
|
String |
getUserId()
Returns the user identifier for a user account.
|
int |
hashCode() |
void |
setDisplayName(String displayName)
Sets the display name for a user account.
|
String |
toString() |
getId, getTypeId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getTypeId
public UserDescriptor(String id, String userId, String displayName)
id
- the unique identifier of the user account.userId
- the user identifier of the user account.displayName
- the display name of the user account.public UserDescriptor(String id, String userId, String displayName, String createdBy, Date created, String lastModifiedBy, Date lastModified)
id
- the unique identifier of the user account.userId
- the user identifier of the user account.displayName
- the display name of the user account.createdBy
- The user who created the user.created
- The date on which the user was created.lastModifiedBy
- The user who last modified the user.lastModified
- The date on which the user was last modified.public String getUserId()
public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- the display name for a user account.public String getPrincipalId()
Principal
getPrincipalId
in interface Principal
public String getPrincipalName()
Principal
getPrincipalName
in interface Principal
public Date getCreated()
public String getCreatedBy()
public Date getLastModified()
public String getLastModifiedBy()
public int hashCode()
hashCode
in interface Principal
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in interface Principal
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>