Package com.tridion.broker.querying.criteria.metadata

Examples of com.tridion.broker.querying.criteria.metadata.CustomMetaKeyCriteria


        }
        return new TaxonomyUsedForIdentificationCriteria(Boolean.parseBoolean(value));

        // Custom meta stuff
      } else if (CUSTOM_META_KEY.equals(criteria)) {
        return new CustomMetaKeyCriteria(value, fieldOperator);
      } else if (CUSTOM_META_VALUE.equals(criteria)) {
        return new CustomMetaValueCriteria(value, fieldOperator);
      }
    } catch (NumberFormatException nfe) {
      String messsage = "NumberFormatException occurred: " + nfe.getMessage();
View Full Code Here


  @Override
  public void build(ParametersExpression parametersExpression) {
    List<FieldOperatorNode> fieldOperatorNodes = parametersExpression.getFieldOperatorNodes();
    String keyName = fieldOperatorNodes.get(0).getValue();
    FieldOperator operator = fieldOperatorNodes.get(0).getFieldOperator();
    criteria = new CustomMetaKeyCriteria(keyName, operator);
  }
View Full Code Here

    build(parametersExpression);
  }

  @Override
  public void build(ParametersExpression parametersExpression) {
    CustomMetaKeyCriteria keyCriteria = (CustomMetaKeyCriteria) parametersExpression.getCritera();
    List<FieldOperatorNode> fieldOperatorNodes = parametersExpression.getFieldOperatorNodes();

    FieldOperator operator = fieldOperatorNodes.get(0).getFieldOperator();
    String valueString = fieldOperatorNodes.get(0).getValue();
    try {
View Full Code Here

TOP

Related Classes of com.tridion.broker.querying.criteria.metadata.CustomMetaKeyCriteria

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.