com.mymed.controller.core.manager.position
Class PositionManager

java.lang.Object
  extended by com.mymed.controller.core.manager.AbstractManager
      extended by com.mymed.controller.core.manager.position.PositionManager
All Implemented Interfaces:
IPositionManager

public class PositionManager
extends AbstractManager
implements IPositionManager

Manage the session of a user

Author:
lvanni, Milo Casagrande

Constructor Summary
PositionManager()
           
PositionManager(StorageManager storageManager)
           
 
Method Summary
 MPositionBean create(MPositionBean position)
          Setup a new user profile into the database
 MPositionBean read(java.lang.String userID)
           
 void update(MPositionBean position)
           
 
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

PositionManager

public PositionManager()
                throws InternalBackEndException
Throws:
InternalBackEndException

PositionManager

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

create

public MPositionBean create(MPositionBean position)
                     throws InternalBackEndException,
                            IOBackEndException
Setup a new user profile into the database

Specified by:
create in interface IPositionManager
Parameters:
user - the user to insert into the database
Returns:
Throws:
IOBackEndException
InternalBackEndException

read

public MPositionBean read(java.lang.String userID)
                   throws InternalBackEndException,
                          IOBackEndException
Specified by:
read in interface IPositionManager
Returns:
Throws:
IOBackEndException
InternalBackEndException
See Also:
IPositionManager.read(String)

update

public void update(MPositionBean position)
            throws InternalBackEndException,
                   IOBackEndException
Specified by:
update in interface IPositionManager
Throws:
IOBackEndException
InternalBackEndException
See Also:
IPositionManager.update(MPositionBean)