@Entity @Indexed(index="users") @Analyzer(definition="entity_analyzer") public final class User extends AbstractAuthzEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
User.Deserializer
Deserialize a reference to an User.
|
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
Application |
getApplication()
Get the application this user belongs to.
|
List<Application> |
getApplications()
Get the list of owned applications.
|
List<UserIdentity> |
getIdentities()
Get the identities for this user.
|
User |
getOwner()
The owner of this entity.
|
Role |
getRole()
Get the role for this user.
|
void |
setApplication(Application application)
Set the application which this user belongs.
|
void |
setApplications(List<Application> applications)
Set the list of owned applications.
|
void |
setIdentities(List<UserIdentity> identities)
Set the value for this user's identities.
|
void |
setRole(Role role)
Set the role for this user.
|
clone, equals, getCreatedDate, getId, getModifiedDate, hashCode, setCreatedDate, setId, setModifiedDate, toStringpublic Application getApplication()
public void setApplication(Application application)
application - The new application.public Role getRole()
public void setRole(Role role)
role - The user's new role.public List<UserIdentity> getIdentities()
public void setIdentities(List<UserIdentity> identities)
identities - The new list of identities.public List<Application> getApplications()
public void setApplications(List<Application> applications)
applications - A new list of applications.public User getOwner()
getOwner in class AbstractAuthzEntityCopyright © 2018 krotscheck.net. All rights reserved.