com.mymed.controller.core.manager.reputation.db.table.facade
Class OutcomeFacade

java.lang.Object
  extended by com.mymed.controller.core.manager.reputation.db.table.facade.OutcomeFacade

public class OutcomeFacade
extends java.lang.Object

Author:
piccolo

Constructor Summary
OutcomeFacade()
           
 
Method Summary
 java.util.Collection<Outcome> getAllRecords()
          it returns all entries of the table Outcome
 Outcome getById(java.lang.String idOutcome)
          it returns the outcome having the specified id
 java.util.Collection<Outcome> getOutcomeListByApplicationReputation(java.lang.String idAppRep)
          it returns the outcome list associated to a given entry of the table ApplicationReputation
 java.util.Collection<Outcome> getOutcomeListByUserApplicationConsumer(java.lang.String idUserApplicationConsumer)
          it returns the outcome list associated to a given entry of the table UserApplicationConsumer
 java.util.Collection<Outcome> getOutcomeListByUserApplicationProducer(java.lang.String idUserApplicationProducer)
          it returns the outcome list associated to a given entry in the table UserApplicationProducer
 java.util.Collection<Outcome> getOutcomeListByUserReputation(java.lang.String idUserReputation)
          it returns the outcome list associated to a given entry of the table UserReputation
 java.util.Collection<Outcome> getOutcomeListByVerdictAggretation(java.lang.String idVerdictAggregation)
          it returns the outcome list associated to a given entry of the table VerdictAggregation
 void persist(Outcome o)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutcomeFacade

public OutcomeFacade()
Method Detail

getAllRecords

public java.util.Collection<Outcome> getAllRecords()
it returns all entries of the table Outcome

Returns:

getById

public Outcome getById(java.lang.String idOutcome)
it returns the outcome having the specified id

Parameters:
idOutcome -
Returns:

getOutcomeListByApplicationReputation

public java.util.Collection<Outcome> getOutcomeListByApplicationReputation(java.lang.String idAppRep)
it returns the outcome list associated to a given entry of the table ApplicationReputation

Parameters:
idAppRep -
Returns:

getOutcomeListByUserReputation

public java.util.Collection<Outcome> getOutcomeListByUserReputation(java.lang.String idUserReputation)
it returns the outcome list associated to a given entry of the table UserReputation

Parameters:
idUserReputation -
Returns:

getOutcomeListByVerdictAggretation

public java.util.Collection<Outcome> getOutcomeListByVerdictAggretation(java.lang.String idVerdictAggregation)
it returns the outcome list associated to a given entry of the table VerdictAggregation

Parameters:
idVerdictAggregation -
Returns:

getOutcomeListByUserApplicationConsumer

public java.util.Collection<Outcome> getOutcomeListByUserApplicationConsumer(java.lang.String idUserApplicationConsumer)
it returns the outcome list associated to a given entry of the table UserApplicationConsumer

Parameters:
idUserApplicationConsumer -
Returns:

getOutcomeListByUserApplicationProducer

public java.util.Collection<Outcome> getOutcomeListByUserApplicationProducer(java.lang.String idUserApplicationProducer)
it returns the outcome list associated to a given entry in the table UserApplicationProducer

Parameters:
idUserApplicationProducer -
Returns:

persist

public void persist(Outcome o)
             throws PersistException
Throws:
PersistException