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