com.mymed.controller.core.manager.authentication
Class AuthenticationManager

java.lang.Object
  extended by com.mymed.controller.core.manager.AbstractManager
      extended by com.mymed.controller.core.manager.authentication.AuthenticationManager
All Implemented Interfaces:
IAuthenticationManager

public class AuthenticationManager
extends AbstractManager
implements IAuthenticationManager

The manager for the authentication bean

Author:
lvanni, Milo Casagrande

Constructor Summary
AuthenticationManager()
           
AuthenticationManager(StorageManager storageManager)
           
 
Method Summary
 MUserBean create(MUserBean user, MAuthenticationBean authentication)
          create myMed user profile
 MUserBean read(java.lang.String login, java.lang.String password)
          authentication
 void update(java.lang.String id, MAuthenticationBean authentication)
          update myMed user profile : Authentication Table (password)
 
Methods inherited from class com.mymed.controller.core.manager.AbstractManager
introspection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationManager

public AuthenticationManager()
                      throws InternalBackEndException
Throws:
InternalBackEndException

AuthenticationManager

public AuthenticationManager(StorageManager storageManager)
                      throws InternalBackEndException
Throws:
InternalBackEndException
Method Detail

create

public MUserBean create(MUserBean user,
                        MAuthenticationBean authentication)
                 throws InternalBackEndException,
                        IOBackEndException
Description copied from interface: IAuthenticationManager
create myMed user profile

Specified by:
create in interface IAuthenticationManager
Returns:
Throws:
IOBackEndException
InternalBackEndException
See Also:
IAuthenticationManager.create(MUserBean, MAuthenticationBean)

read

public MUserBean read(java.lang.String login,
                      java.lang.String password)
               throws InternalBackEndException,
                      IOBackEndException
Description copied from interface: IAuthenticationManager
authentication

Specified by:
read in interface IAuthenticationManager
Returns:
Throws:
InternalBackEndException
IOBackEndException
See Also:
IAuthenticationManager.read(String, String)

update

public void update(java.lang.String id,
                   MAuthenticationBean authentication)
            throws InternalBackEndException,
                   IOBackEndException
Description copied from interface: IAuthenticationManager
update myMed user profile : Authentication Table (password)

Specified by:
update in interface IAuthenticationManager
Throws:
IOBackEndException
InternalBackEndException
See Also:
IAuthenticationManager#update(MAuthenticationBean)