|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcom.hack23.cia.model.common.impl.BaseEntity
com.hack23.cia.model.application.impl.common.User
@Entity public class User
The Class User.
| Nested Class Summary | |
|---|---|
static class |
User.UserRole
The Enum UserRole. |
| Constructor Summary | |
|---|---|
User()
Instantiates a new user. |
|
| Method Summary | |
|---|---|
Actor |
getActor()
Gets the actor. |
Collection<org.springframework.security.core.GrantedAuthority> |
getAuthorities()
|
Date |
getCreatedDate()
Gets the created date. |
Human |
getHuman()
Gets the human. |
Long |
getId()
Gets the id. |
String |
getPassword()
|
String |
getUsername()
|
User.UserRole |
getUserRole()
Gets the user role. |
List<UserSession> |
getUserSessions()
Gets the user sessions. |
Long |
getVersion()
Gets the version. |
boolean |
isAccountNonExpired()
|
boolean |
isAccountNonLocked()
|
boolean |
isCredentialsNonExpired()
|
boolean |
isEnabled()
|
void |
setActor(Actor actor)
Sets the actor. |
void |
setCreatedDate(Date createdDate)
Sets the created date. |
void |
setHuman(Human human)
Sets the human. |
void |
setId(Long id)
Sets the id. |
void |
setPassword(String password)
Sets the password. |
void |
setUsername(String username)
Sets the username. |
void |
setUserRole(User.UserRole userRole)
Sets the user role. |
void |
setUserSessions(List<UserSession> userSessions)
Sets the user sessions. |
void |
setVersion(Long version)
Sets the version. |
| Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
|---|
equals, hashCode, isNew |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject |
|---|
isNew |
| Constructor Detail |
|---|
public User()
| Method Detail |
|---|
public Actor getActor()
Role
getActor in interface Rolepublic Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.userdetails.UserDetailspublic Date getCreatedDate()
public Human getHuman()
public Long getId()
BaseEntity
getId in interface PersistedModelObjectgetId in class BaseEntitypublic String getPassword()
getPassword in interface org.springframework.security.core.userdetails.UserDetailspublic String getUsername()
getUsername in interface org.springframework.security.core.userdetails.UserDetailspublic User.UserRole getUserRole()
public List<UserSession> getUserSessions()
public Long getVersion()
BaseEntity
getVersion in interface PersistedModelObjectgetVersion in class BaseEntitypublic boolean isAccountNonExpired()
isAccountNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isEnabled()
isEnabled in interface org.springframework.security.core.userdetails.UserDetailspublic void setActor(Actor actor)
Role
setActor in interface Roleactor - the new actorpublic void setCreatedDate(Date createdDate)
createdDate - the new created datepublic void setHuman(Human human)
human - the new humanpublic void setId(Long id)
PersistedModelObject
setId in interface PersistedModelObjectid - the new idpublic void setPassword(String password)
password - the new passwordpublic void setUsername(String username)
username - the new usernamepublic void setUserRole(User.UserRole userRole)
userRole - the new user rolepublic void setUserSessions(List<UserSession> userSessions)
userSessions - the new user sessionspublic void setVersion(Long version)
PersistedModelObject
setVersion in interface PersistedModelObjectversion - the new version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||