pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.accesscontrol
Class PreliminaryUser

java.lang.Object
  extended by org.torweg.pulse.util.entity.AbstractBasicEntity
      extended by org.torweg.pulse.accesscontrol.PreliminaryUser
All Implemented Interfaces:
java.io.Serializable, JDOMable, INameable, INamed

@Entity
public class PreliminaryUser
extends AbstractBasicEntity
implements INameable, JDOMable

a preliminary user that has not yet completed the sign-up-process.

Version:
$Revision: 1377 $
Author:
Daniel Dietz
See Also:
Serialized Form

Constructor Summary
protected PreliminaryUser()
          Deprecated. 
  PreliminaryUser(java.lang.String n, java.lang.String e, java.lang.String pwd, java.util.Locale l)
          creates a new PreliminaryUser with the given name, password and e-mail address.
 
Method Summary
 org.jdom.Element deserializeToJDOM()
          returns a JDOM-representation of the PreliminaryUser.
 java.util.Date getCreationTime()
          Returns the Date indicating the creation time of the PreliminaryUser.
 java.lang.String getEmail()
          returns the email for the PreliminaryUser.
 java.lang.String getName()
          returns the name for the PreliminaryUser.
 java.lang.String getPassword()
          returns the password for the PreliminaryUser.
 java.util.Locale getSignUpLocale()
          returns the sign-up locale.
 java.lang.String getToken()
          returns the activation token.
 void setCreationTime()
          sets a new creation time for the PreliminaryUser.
 void setEmail(java.lang.String e)
          sets the email for the PreliminaryUser.
 void setName(java.lang.String n)
          sets the name for the PreliminaryUser.
 void setPassword(java.lang.String pwd)
          sets the password for the PreliminaryUser.
 void setSignUpLocale(java.util.Locale l)
          sets the sign-up locale.
 
Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreliminaryUser

@Deprecated
protected PreliminaryUser()
Deprecated. 

used by HibernateTM.


PreliminaryUser

public PreliminaryUser(java.lang.String n,
                       java.lang.String e,
                       java.lang.String pwd,
                       java.util.Locale l)
creates a new PreliminaryUser with the given name, password and e-mail address.

Parameters:
n - the name
e - the e-mail address
pwd - the password
l - the sign-up locale
Method Detail

getName

public final java.lang.String getName()
returns the name for the PreliminaryUser.

Specified by:
getName in interface INamed
Returns:
the name

setName

public final void setName(java.lang.String n)
sets the name for the PreliminaryUser.

Specified by:
setName in interface INameable
Parameters:
n - the name to set

getEmail

public final java.lang.String getEmail()
returns the email for the PreliminaryUser.

Returns:
the email

setEmail

public final void setEmail(java.lang.String e)
sets the email for the PreliminaryUser.

Parameters:
e - the email to set

getPassword

public final java.lang.String getPassword()
returns the password for the PreliminaryUser.

Returns:
the password

setPassword

public final void setPassword(java.lang.String pwd)
sets the password for the PreliminaryUser.

Parameters:
pwd - the password to set

getCreationTime

public final java.util.Date getCreationTime()
Returns the Date indicating the creation time of the PreliminaryUser.

Returns:
the Date indicating the creation time of the PreliminaryUser

setCreationTime

public final void setCreationTime()
sets a new creation time for the PreliminaryUser.


getSignUpLocale

public final java.util.Locale getSignUpLocale()
returns the sign-up locale.

Returns:
the sign-up locale

setSignUpLocale

public final void setSignUpLocale(java.util.Locale l)
sets the sign-up locale.

Parameters:
l - the locale

getToken

public final java.lang.String getToken()
returns the activation token.

Returns:
the token

deserializeToJDOM

public org.jdom.Element deserializeToJDOM()
returns a JDOM-representation of the PreliminaryUser.

Specified by:
deserializeToJDOM in interface JDOMable
Returns:
a JDOM-representation of the PreliminaryUser