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

java.lang.Objectorg.directdemocracyportal.democracy.model.core.BaseEntity
org.directdemocracyportal.democracy.model.core.Agent
org.directdemocracyportal.democracy.model.application.User
@Entity public class User extends Agent
The Class User.
| Constructor and Description |
|---|
User()
Instantiates a new user. |
User(java.util.Date createdDate,
java.lang.String username,
java.lang.String password,
java.lang.String email,
Person person)
Instantiates a new user. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getCreatedDate()
Gets the created date. |
java.lang.String |
getEmail()
Gets the email. |
java.util.List<Event> |
getEvents()
Gets the events. |
java.util.Set<Authority> |
getGrantedAuthorities()
Gets the granted authorities. |
GovernmentPortal |
getLocalGovernmentPortal()
Gets the local government portal. |
GovernmentPortal |
getNationalGovernmentPortal()
Gets the national government portal. |
java.lang.String |
getPassword()
Gets the password. |
Person |
getPerson()
Gets the person. |
GovernmentPortal |
getRegionalGovernmentPortal()
Gets the regional government portal. |
java.lang.String |
getUsername()
Gets the username. |
boolean |
isAccountNonExpired()
Checks if is account non expired. |
boolean |
isAccountNonLocked()
Checks if is account non locked. |
boolean |
isCredentialsNonExpired()
Checks if is credentials non expired. |
boolean |
isEnabled()
Checks if is enabled. |
void |
setAccountNonExpired(boolean accountNonExpired)
Sets the account non expired. |
void |
setAccountNonLocked(boolean accountNonLocked)
Sets the account non locked. |
void |
setCreatedDate(java.util.Date createdDate)
Sets the created date. |
void |
setCredentialsNonExpired(boolean credentialsNonExpired)
Sets the credentials non expired. |
void |
setEmail(java.lang.String email)
Sets the email. |
void |
setEnabled(boolean enabled)
Sets the enabled. |
void |
setEvents(java.util.List<Event> events)
Sets the events. |
void |
setGrantedAuthorities(java.util.Set<Authority> grantedAuthorities)
Sets the granted authorities. |
void |
setPassword(java.lang.String password)
Sets the password. |
void |
setPerson(Person person)
Sets the person. |
void |
setUsername(java.lang.String username)
Sets the username. |
| Methods inherited from class org.directdemocracyportal.democracy.model.core.Agent |
|---|
equals, getId, getName, getResources, getRoles, hashCode, setId, setName, setResources, setRoles |
| Methods inherited from class org.directdemocracyportal.democracy.model.core.BaseEntity |
|---|
isNew |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public User()
public User(java.util.Date createdDate,
java.lang.String username,
java.lang.String password,
java.lang.String email,
Person person)
createdDate - the created dateusername - the usernamepassword - the passwordemail - the emailperson - the person| Method Detail |
|---|
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password - the new passwordpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the new usernamepublic void setCreatedDate(java.util.Date createdDate)
createdDate - the new created datepublic java.util.Date getCreatedDate()
public java.util.List<Event> getEvents()
public void setEvents(java.util.List<Event> events)
events - the new eventspublic Person getPerson()
public void setPerson(Person person)
person - the new personpublic java.util.Set<Authority> getGrantedAuthorities()
public void setGrantedAuthorities(java.util.Set<Authority> grantedAuthorities)
grantedAuthorities - the new granted authoritiespublic void setAccountNonExpired(boolean accountNonExpired)
accountNonExpired - the new account non expiredpublic void setAccountNonLocked(boolean accountNonLocked)
accountNonLocked - the new account non lockedpublic void setCredentialsNonExpired(boolean credentialsNonExpired)
credentialsNonExpired - the new credentials non expiredpublic void setEnabled(boolean enabled)
enabled - the new enabledpublic boolean isAccountNonExpired()
public boolean isAccountNonLocked()
public boolean isCredentialsNonExpired()
public boolean isEnabled()
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - the new emailpublic GovernmentPortal getLocalGovernmentPortal()
public GovernmentPortal getRegionalGovernmentPortal()
public GovernmentPortal getNationalGovernmentPortal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||