|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mymed.controller.core.manager.reputation.db.table.facade.VerdictAggregationFacade
public class VerdictAggregationFacade
Constructor Summary | |
---|---|
VerdictAggregationFacade(CassandraWrapper w)
|
Method Summary | |
---|---|
void |
deleteAggregation(java.lang.String idAggreagation)
this method delete a previously created VerdictAggregation |
java.util.Collection<VerdictAggregation> |
getAllRecords()
it returns the collection of all entries of the table VerdictAggregation. |
java.util.Collection<VerdictAggregation> |
getListOfAggregationByVerdict(java.lang.String idVerdict)
it returns the list of all aggregations to which a given verdict belongs |
VerdictAggregation |
getRecordById(java.lang.String idAggregation)
it returns the entry of the table VerdictAggregation having the specified id. |
void |
persist(VerdictAggregation va)
this methods persists the object given in input in the database (he could do an INSERT statement or an UPDATE statement depending on the fact that the object given in input has a new id or not). |
void |
persist(VerdictAggregation va,
Verdict v)
this method adds the verdict object to the verdict aggregation whose object is in input. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VerdictAggregationFacade(CassandraWrapper w)
Method Detail |
---|
public java.util.Collection<VerdictAggregation> getAllRecords() throws InternalBackEndException
InternalBackEndException
public void persist(VerdictAggregation va) throws PersistException
PersistException
public void persist(VerdictAggregation va, Verdict v)
va
- verdict aggregation where the new judgment will be addedv
- the Verdict object to be added to the aggregationpublic void deleteAggregation(java.lang.String idAggreagation) throws InternalBackEndException
idAggregation
-
PersistException
- if the writing operation fails
InternalBackEndException
public VerdictAggregation getRecordById(java.lang.String idAggregation) throws InternalBackEndException
id
-
InternalBackEndException
public java.util.Collection<VerdictAggregation> getListOfAggregationByVerdict(java.lang.String idVerdict) throws InternalBackEndException
idVerdict
-
InternalBackEndException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |