Class PhraseTranslator
java.lang.Object
org.broadleafcommerce.openadmin.web.rulebuilder.statement.PhraseTranslator
- Author:
- jfischer, Elbert Bautista (elbertbautista)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringconvertMapAccessSyntax(String field) createExpression(String phrase) protected String[]extractCollectionCase(String phrase) protected String[]extractComponents(String phrase) protected String[]extractOldSpecialComponents(String phrase, String operator) protected String[]extractProjection(String[] components) protected String[]extractSpecialComponents(String phrase, String operator) protected String[]extractStandardComponents(String phrase, String operator) protected BLCOperatorgetOperator(String field, String operator, String value, boolean isNegation, boolean isFieldComparison, boolean isIgnoreCase)
-
Constructor Details
-
PhraseTranslator
public PhraseTranslator()
-
-
Method Details
-
createExpression
- Throws:
MVELTranslationException
-
extractComponents
- Throws:
MVELTranslationException
-
convertMapAccessSyntax
-
extractProjection
-
extractCollectionCase
-
extractOldSpecialComponents
-
extractStandardComponents
-
extractSpecialComponents
-
getOperator
protected BLCOperator getOperator(String field, String operator, String value, boolean isNegation, boolean isFieldComparison, boolean isIgnoreCase) throws MVELTranslationException - Throws:
MVELTranslationException
-