com.mymed.controller.core.manager.reputation.old
Class ReputationManager

java.lang.Object
  extended by com.mymed.controller.core.manager.AbstractManager
      extended by com.mymed.controller.core.manager.reputation.old.ReputationManager
All Implemented Interfaces:
IReputationManager

public class ReputationManager
extends AbstractManager
implements IReputationManager

Manage the reputation of a user

Author:
lvanni, Milo Casagrande

Constructor Summary
ReputationManager()
           
ReputationManager(StorageManager storageManager)
           
 
Method Summary
 void create(MReputationBean reputation, java.lang.String id)
           
 MReputationBean read(java.lang.String producerID, java.lang.String consumerID, java.lang.String applicationID)
          Get the reputation of a publisher related to a given service
 void update(MReputationBean reputation, java.lang.String id)
          Update the reputation of a publisher related to a given service
 
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

ReputationManager

public ReputationManager()
                  throws InternalBackEndException
Throws:
InternalBackEndException

ReputationManager

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

create

public void create(MReputationBean reputation,
                   java.lang.String id)
            throws InternalBackEndException,
                   IOBackEndException
Specified by:
create in interface IReputationManager
Throws:
InternalBackEndException
IOBackEndException

read

public MReputationBean read(java.lang.String producerID,
                            java.lang.String consumerID,
                            java.lang.String applicationID)
                     throws InternalBackEndException,
                            IOBackEndException
Description copied from interface: IReputationManager
Get the reputation of a publisher related to a given service

Specified by:
read in interface IReputationManager
Returns:
Throws:
InternalBackEndException
IOBackEndException

update

public void update(MReputationBean reputation,
                   java.lang.String id)
            throws InternalBackEndException,
                   IOBackEndException
Description copied from interface: IReputationManager
Update the reputation of a publisher related to a given service

Specified by:
update in interface IReputationManager
Throws:
InternalBackEndException
IOBackEndException