Groovy Documentation

de.dewarim.goblin
[Groovy] Class UserAccount

java.lang.Object
  de.dewarim.goblin.UserAccount

class UserAccount

User domain class.


Property Summary
java.lang.Boolean accountExpired

java.lang.Boolean accountLocked

java.lang.Integer coins

java.lang.Boolean confirmationMailSent

static java.lang.Object constraints

PlayerCharacter currentChar

java.lang.String description

description

java.lang.String email

java.lang.Boolean emailShow

java.lang.Boolean enabled

enabled

static java.lang.Object hasMany

java lastPasswordReset

java.util.Locale locale

java.lang.String mailConfirmationToken

java.lang.String pass

plain password to create a MD5 password

java.lang.String passwd

MD5 Password

java.lang.Boolean passwordExpired

java.lang.Boolean premiumMember

java.lang.String salt

java.lang.Object springSecurityService

static java.lang.Object transients

java.lang.String userRealName

User Real Name

java.lang.String username

Username

java.lang.Boolean wantsResetPassword

If this flag is true, the user wants to reset his password.

 
Constructor Summary
UserAccount()

 
Method Summary
java.lang.Object beforeInsert()

java.lang.Object beforeUpdate()

java.lang.Boolean checkRole(java.lang.String roleName)

protected void encodePassword()

boolean equals(java.lang.Object o)

java.util.Set getAuthorities()

int hashCode()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

accountExpired

java.lang.Boolean accountExpired


accountLocked

java.lang.Boolean accountLocked


coins

java.lang.Integer coins


confirmationMailSent

java.lang.Boolean confirmationMailSent


constraints

static java.lang.Object constraints


currentChar

PlayerCharacter currentChar


description

java.lang.String description
description


email

java.lang.String email


emailShow

java.lang.Boolean emailShow


enabled

java.lang.Boolean enabled
enabled


hasMany

static java.lang.Object hasMany


lastPasswordReset

java lastPasswordReset


locale

java.util.Locale locale


mailConfirmationToken

java.lang.String mailConfirmationToken


pass

java.lang.String pass
plain password to create a MD5 password


passwd

java.lang.String passwd
MD5 Password


passwordExpired

java.lang.Boolean passwordExpired


premiumMember

java.lang.Boolean premiumMember


salt

java.lang.String salt


springSecurityService

java.lang.Object springSecurityService


transients

static java.lang.Object transients


userRealName

java.lang.String userRealName
User Real Name


username

java.lang.String username
Username


wantsResetPassword

java.lang.Boolean wantsResetPassword
If this flag is true, the user wants to reset his password. A reset-password-mail will be send with a new token for


 
Constructor Detail

UserAccount

UserAccount()


 
Method Detail

beforeInsert

java.lang.Object beforeInsert()


beforeUpdate

java.lang.Object beforeUpdate()


checkRole

java.lang.Boolean checkRole(java.lang.String roleName)


encodePassword

protected void encodePassword()


equals

boolean equals(java.lang.Object o)


getAuthorities

java.util.Set getAuthorities()


hashCode

int hashCode()


 

Groovy Documentation