net.sf.jportlet.portlet
Interface User

All Known Implementing Classes:
UserImpl

public interface User

Information about a User

Author:
Herve Tchepannou

Method Summary
 java.lang.String getEmail()
          User's email
 java.lang.String getFirstname()
          User's firstname
 java.lang.String getId()
          ID of the user
 java.lang.String getLastname()
          User's last name
 java.util.Locale getLocale()
          User's locale
 boolean matchPassword(java.lang.String password)
          Check if a string match the password of the user
 

Method Detail

getId

public java.lang.String getId()
ID of the user

Returns:
String

getFirstname

public java.lang.String getFirstname()
User's firstname

Returns:
String

getLastname

public java.lang.String getLastname()
User's last name

Returns:
String

getEmail

public java.lang.String getEmail()
User's email

Returns:
String

getLocale

public java.util.Locale getLocale()
User's locale

Returns:
Locale

matchPassword

public boolean matchPassword(java.lang.String password)
Check if a string match the password of the user

Parameters:
password -
Returns:
boolean


Copyright © 2002 Herve Tchepannou. All Rights Reserved.