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

java.lang.Objectcom.hack23.cia.model.impl.common.BaseEntity
com.hack23.cia.model.impl.application.administration.User
@Entity public class User extends BaseEntity implements org.springframework.security.core.userdetails.UserDetails, UserData
The Class User.
| Constructor and Description | 
|---|
User()
Instantiates a new user.  | 
| Modifier and Type | Method and Description | 
|---|---|
 Actor | 
getActor()
Gets the actor.  | 
protected  TypeContext | 
getApplicationTypeContext()
Gets the application type context.  | 
 Collection<org.springframework.security.core.GrantedAuthority> | 
getAuthorities()
 | 
 Date | 
getCreatedDate()
Gets the created date.  | 
 Person | 
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(Person person)
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 Roleprotected TypeContext getApplicationTypeContext()
BaseEntity
getApplicationTypeContext in class BaseEntitypublic Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.userdetails.UserDetailspublic Date getCreatedDate()
public Person 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 UserRoleType getUserRole()
UserData
getUserRole in interface UserDatapublic 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)
UserData
setCreatedDate in interface UserDatacreatedDate - the new created datepublic void setHuman(Person person)
person - 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)
UserData
setUsername in interface UserDatausername - the new usernamepublic void setUserRole(UserRoleType userRole)
UserData
setUserRole in interface UserDatauserRole - 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 | |||||||||