public class MVELToDataWrapperTranslator extends Object
Modifier and Type | Field and Description |
---|---|
protected GroupingTranslator |
groupingTranslator |
protected PhraseTranslator |
phraseTranslator |
Constructor and Description |
---|
MVELToDataWrapperTranslator() |
Modifier and Type | Method and Description |
---|---|
void |
appendExpression(String phrase,
RuleBuilderFieldService fieldService,
int count,
DataDTO parentDTO,
List<ExpressionDTO> myCriteriaList) |
ExpressionDTO |
createExpressionDTO(Expression expression) |
DataWrapper |
createRuleData(Entity[] entities,
String mvelProperty,
String quantityProperty,
String idProperty,
RuleBuilderFieldService fieldService) |
protected DataDTO |
createRuleDataDTO(DataDTO parentDTO,
Group group,
RuleBuilderFieldService fieldService) |
boolean |
isProjection(Object value) |
protected void |
postProcessCriteria(DataDTO parentDTO,
List<ExpressionDTO> myCriteriaList,
int count,
ExpressionDTO temp,
SupportedFieldType type) |
protected GroupingTranslator groupingTranslator
protected PhraseTranslator phraseTranslator
public DataWrapper createRuleData(Entity[] entities, String mvelProperty, String quantityProperty, String idProperty, RuleBuilderFieldService fieldService)
protected DataDTO createRuleDataDTO(DataDTO parentDTO, Group group, RuleBuilderFieldService fieldService) throws MVELTranslationException
MVELTranslationException
public void appendExpression(String phrase, RuleBuilderFieldService fieldService, int count, DataDTO parentDTO, List<ExpressionDTO> myCriteriaList) throws MVELTranslationException
MVELTranslationException
public ExpressionDTO createExpressionDTO(Expression expression)
public boolean isProjection(Object value)
protected void postProcessCriteria(DataDTO parentDTO, List<ExpressionDTO> myCriteriaList, int count, ExpressionDTO temp, SupportedFieldType type)
Copyright © 2014. All rights reserved.