com.mymed.controller.core.manager.profile
Interface IProfileManager

All Known Implementing Classes:
ProfileManager

public interface IProfileManager

Manage the profile of an user

Author:
lvanni

Method Summary
 MUserBean create(MUserBean user)
          Setup a new user profile into the database
 void delete(java.lang.String id)
          Delete an existing user
 MUserBean read(java.lang.String id)
           
 MUserBean update(MUserBean user)
          Update the profile of an user into the database
 

Method Detail

create

MUserBean create(MUserBean user)
                 throws InternalBackEndException,
                        IOBackEndException
Setup a new user profile into the database

Parameters:
user - the user to insert into the database
Returns:
the profile of the user
Throws:
InternalBackEndException
IOBackEndException

read

MUserBean read(java.lang.String id)
               throws InternalBackEndException,
                      IOBackEndException
Parameters:
id - the id of the user
Returns:
the User corresponding to the id
Throws:
InternalBackEndException
IOBackEndException

update

MUserBean update(MUserBean user)
                 throws InternalBackEndException,
                        IOBackEndException
Update the profile of an user into the database

Parameters:
user - The profile updated to store
Returns:
Throws:
InternalBackEndException
IOBackEndException

delete

void delete(java.lang.String id)
            throws InternalBackEndException,
                   IOBackEndException
Delete an existing user

Parameters:
user - The user to delete
Throws:
InternalBackEndException
IOBackEndException