Switched form set o list
This commit is contained in:
parent
1a9ad22790
commit
116eac08c5
|
@ -72,7 +72,7 @@ public interface AccountingPersistenceBackendQuery {
|
||||||
* If the list contains more than one filter with the same key an Exception is thrown
|
* If the list contains more than one filter with the same key an Exception is thrown
|
||||||
* when trying to query.
|
* when trying to query.
|
||||||
*/
|
*/
|
||||||
public void setFilters(Set<Filter> filters);
|
public void setFilters(List<Filter> filters);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Query the persistence obtaining a Map where the date is the key and the
|
* Query the persistence obtaining a Map where the date is the key and the
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class AccountingPersistenceQuery implements AccountingPersistenceBackendQ
|
||||||
protected TemporalConstraint temporalConstraint;
|
protected TemporalConstraint temporalConstraint;
|
||||||
|
|
||||||
protected Set<String> contexts;
|
protected Set<String> contexts;
|
||||||
protected Set<Filter> filters;
|
protected List<Filter> filters;
|
||||||
|
|
||||||
protected ObjectMapper objectMapper;
|
protected ObjectMapper objectMapper;
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ public class AccountingPersistenceQuery implements AccountingPersistenceBackendQ
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setFilters(Set<Filter> filters) {
|
public void setFilters(List<Filter> filters) {
|
||||||
this.filters = filters;
|
this.filters = filters;
|
||||||
accountingPersistenceBackendQuery.setFilters(filters);
|
accountingPersistenceBackendQuery.setFilters(filters);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue