Introduced a QueryDefinition (previous one is now QueryDefinitionDTO)

This commit is contained in:
Lennart Hensler committed 2014-12-03 18:19:36 +01:00
1 parent 563ac4077a
commit c92edc74be
27 files changed
+241 -59

No files matched your search

@@ -9,16 +9,16 @@ import com.sap.sse.datamining.shared.components.AggregatorType;
import com.sap.sse.datamining.shared.dto.FunctionDTO;
import com.sap.sse.datamining.shared.impl.dto.DataRetrieverChainDefinitionDTO;
public interface QueryDefinition extends Serializable {
public interface QueryDefinitionDTO extends Serializable {
public String getLocaleInfoName();
public FunctionDTO getStatisticToCalculate();
public AggregatorType getAggregatorType();
public DataRetrieverChainDefinitionDTO getDataRetrieverChainDefinition();
public Map<Integer, Map<FunctionDTO, Collection<? extends Serializable>>> getFilterSelection();
public List<FunctionDTO> getDimensionsToGroupBy();
public FunctionDTO getStatisticToCalculate();
public AggregatorType getAggregatorType();
}
@@ -7,12 +7,12 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.sap.sse.datamining.shared.QueryDefinition;
import com.sap.sse.datamining.shared.QueryDefinitionDTO;
import com.sap.sse.datamining.shared.components.AggregatorType;
import com.sap.sse.datamining.shared.dto.FunctionDTO;
import com.sap.sse.datamining.shared.impl.dto.DataRetrieverChainDefinitionDTO;
public class QueryDefinitionImpl implements QueryDefinition {
public class QueryDefinitionDTOImpl implements QueryDefinitionDTO {
private static final long serialVersionUID = -6438771277564908352L;
private String localeInfoName;
@@ -26,9 +26,9 @@ public class QueryDefinitionImpl implements QueryDefinition {
* <b>Constructor for the GWT-Serialization. Don't use this!</b>
*/
@Deprecated
QueryDefinitionImpl() { }
QueryDefinitionDTOImpl() { }
public QueryDefinitionImpl(String localeInfoName, FunctionDTO statisticToCalculate, AggregatorType aggregatorType, DataRetrieverChainDefinitionDTO dataRetrieverChainDefinition) {
public QueryDefinitionDTOImpl(String localeInfoName, FunctionDTO statisticToCalculate, AggregatorType aggregatorType, DataRetrieverChainDefinitionDTO dataRetrieverChainDefinition) {
this.localeInfoName = localeInfoName;
this.statisticToCalculate = statisticToCalculate;
this.aggregatorType = aggregatorType;