|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.common.BaseEntity com.hack23.cia.model.impl.application.common.User
@Entity public class User
The Class User.
Constructor Summary | |
---|---|
User()
Instantiates a new user. |
Method Summary | |
---|---|
Actor |
getActor()
Gets the actor. |
protected TypeContext |
getApplicationTypeContext()
Gets the application group specification. |
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()
|
UserRoleType |
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(UserRoleType 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.impl.common.BaseEntity |
---|
equals, getTypeContext, 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.api.common.PersistedModelObject |
---|
getTypeContext, isNew |
Constructor Detail |
---|
public User()
Method Detail |
---|
public Actor getActor()
Role
getActor
in interface Role
public Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities
in interface org.springframework.security.core.userdetails.UserDetails
public Date getCreatedDate()
public Human getHuman()
public Long getId()
BaseEntity
getId
in interface PersistedModelObject
getId
in class BaseEntity
public String getPassword()
getPassword
in interface org.springframework.security.core.userdetails.UserDetails
public String getUsername()
getUsername
in interface org.springframework.security.core.userdetails.UserDetails
public UserRoleType getUserRole()
UserData
getUserRole
in interface UserData
public List<UserSession> getUserSessions()
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public boolean isAccountNonExpired()
isAccountNonExpired
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isAccountNonLocked()
isAccountNonLocked
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isCredentialsNonExpired()
isCredentialsNonExpired
in interface org.springframework.security.core.userdetails.UserDetails
public boolean isEnabled()
isEnabled
in interface org.springframework.security.core.userdetails.UserDetails
public void setActor(Actor actor)
Role
setActor
in interface Role
actor
- the new actorpublic void setCreatedDate(Date createdDate)
UserData
setCreatedDate
in interface UserData
createdDate
- the new created datepublic void setHuman(Human human)
human
- the new humanpublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setPassword(String password)
password
- the new passwordpublic void setUsername(String username)
UserData
setUsername
in interface UserData
username
- the new usernamepublic void setUserRole(UserRoleType userRole)
UserData
setUserRole
in interface UserData
userRole
- the new user rolepublic void setUserSessions(List<UserSession> userSessions)
userSessions
- the new user sessionspublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new versionprotected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext
in class BaseEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |