Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.javahispano.canyamo.services.user
Class UserImpl  view UserImpl download UserImpl.java

java.lang.Object
  extended byorg.javahispano.canyamo.services.persistence.DbObject
      extended byorg.javahispano.canyamo.services.user.UserImpl
All Implemented Interfaces:
User

public class UserImpl
extends org.javahispano.canyamo.services.persistence.DbObject
implements User

Version:

Field Summary
private  java.lang.String antiSpam
          Description of the Field
 
Fields inherited from class org.javahispano.canyamo.services.persistence.DbObject
inUse, original, updated
 
Constructor Summary
(package private) UserImpl(Record record)
          Constructor for the UserImpl object
 
Method Summary
 java.lang.String getActive()
          Gets user's active value
 java.lang.String getAntiSpamEmail()
          Gets the antiSpamEmail attribute of the UserImpl object
 java.lang.String getEmail()
          Returns user's email
 java.lang.String getLogin()
          Gets user's login name
 java.lang.String getName()
          Gets user's real name
 java.lang.String getPassword()
          Gets user's password (why?)
 java.util.Date getRegisterDate()
          Gets the registerDate attribute of the UserImpl object
 java.lang.String getRoles()
          Returns user's roles
 boolean isInRole(java.lang.String role)
          Determines when a user has a given role
 boolean isUserActive()
          Determines if an user is active or it has been deactivaated by an administrator
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class org.javahispano.canyamo.services.persistence.DbObject
get, getOriginal, getUpdated, isChanged, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

antiSpam

private java.lang.String antiSpam
Description of the Field

Since:
Constructor Detail

UserImpl

UserImpl(Record record)
Constructor for the UserImpl object

Since:
Method Detail

getName

public java.lang.String getName()
Gets user's real name

Specified by:
getName in interface User

getRegisterDate

public java.util.Date getRegisterDate()
Gets the registerDate attribute of the UserImpl object


getPassword

public java.lang.String getPassword()
Gets user's password (why?)

Specified by:
getPassword in interface User

getLogin

public java.lang.String getLogin()
Gets user's login name

Specified by:
getLogin in interface User

getEmail

public java.lang.String getEmail()
Returns user's email

Specified by:
getEmail in interface User

getAntiSpamEmail

public java.lang.String getAntiSpamEmail()
Gets the antiSpamEmail attribute of the UserImpl object

Since:

isInRole

public boolean isInRole(java.lang.String role)
Determines when a user has a given role

Specified by:
isInRole in interface User

getRoles

public java.lang.String getRoles()
Returns user's roles


getActive

public java.lang.String getActive()
Gets user's active value

Specified by:
getActive in interface User

isUserActive

public boolean isUserActive()
Determines if an user is active or it has been deactivaated by an administrator

Specified by:
isUserActive in interface User

toString

public java.lang.String toString()
Description of the Method