base.user
Class UserFactory

java.lang.Object
  extended by base.user.UserFactory

public class UserFactory
extends java.lang.Object


Constructor Summary
UserFactory()
           
 
Method Summary
static User newUser()
           
static User newUser(JCard jcard, java.lang.String password)
           
static User newUser(java.lang.String name, java.lang.String surname, java.lang.String gender, java.util.Date birthday, java.lang.String nickname, java.lang.String password, java.lang.String credential, Document document, java.lang.String imagePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserFactory

public UserFactory()
Method Detail

newUser

public static User newUser(java.lang.String name,
                           java.lang.String surname,
                           java.lang.String gender,
                           java.util.Date birthday,
                           java.lang.String nickname,
                           java.lang.String password,
                           java.lang.String credential,
                           Document document,
                           java.lang.String imagePath)

newUser

public static User newUser()
Returns:
An istance of User with id = -1;

newUser

public static User newUser(JCard jcard,
                           java.lang.String password)


Copyright © 2006 SF.net. All Rights Reserved.