org.argosfields.service
Class LoginManager

java.lang.Object
  extended byorg.argosfields.service.LoginManager
All Implemented Interfaces:
ILoginManager

public class LoginManager
extends Object
implements ILoginManager

LoginManager.java

Version:
$Revision: 1.2 $ $Date: 2004/04/17 08:59:18 $
Author:
Xavier Cho

Field Summary
 
Fields inherited from interface org.argosfields.service.ILoginManager
NAME
 
Constructor Summary
LoginManager()
           
 
Method Summary
 String createAccount(Account account)
           
 IAccountManager getAccountManager()
           
 String login(String userName, String password)
           
 void logout(String sessionId)
           
 void setAccountManager(IAccountManager accountManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginManager

public LoginManager()
Method Detail

login

public String login(String userName,
                    String password)
             throws LoginException
Specified by:
login in interface ILoginManager
Throws:
LoginException
See Also:
ILoginManager.login(java.lang.String, java.lang.String)

logout

public void logout(String sessionId)
Specified by:
logout in interface ILoginManager
See Also:
ILoginManager.logout(java.lang.String)

createAccount

public String createAccount(Account account)
                     throws CreateAccountException,
                            LoginException
Specified by:
createAccount in interface ILoginManager
Throws:
CreateAccountException
LoginException
See Also:
ILoginManager.createAccount(org.argosfields.persistence.Account)

getAccountManager

public IAccountManager getAccountManager()
Returns:
Returns the accountManager.

setAccountManager

public void setAccountManager(IAccountManager accountManager)
Parameters:
accountManager - The accountManager to set.


Copyright © Gnome Korea. All Rights Reserved.