Package com.tridion.broker.querying.criteria.structuregroups

Examples of com.tridion.broker.querying.criteria.structuregroups.StructureGroupTitleCriteria


      } else if (STRUCTURE_GROUP.equals(criteria)) {
        return new StructureGroupCriteria(value);
      } else if (STRUCTURE_GROUP_DIRECTORY.equals(criteria)) {
        return new StructureGroupDirectoryCriteria(value, fieldOperator);
      } else if (STRUCTURE_GROUP_TITLE.equals(criteria)) {
        return new StructureGroupTitleCriteria(value, fieldOperator);

        // Taxonomy stuff
      } else if (TAXONOMY.equals(criteria)) {
        if (fieldOperator != FieldOperator.EQUAL) {
          throw new ParserException("Illegal FieldOperator " + fieldOperator + " for criteria " + criteria);
View Full Code Here


    String title = fieldOperatorNodes.get(0).getValue();
    FieldOperator operator = fieldOperatorNodes.get(0).getFieldOperator();
    if (fieldOperatorNodes.size() == 1) {
      if (operator == FieldOperator.EQUAL) {
        criteria = new StructureGroupTitleCriteria(title);
      } else {
        criteria = new StructureGroupTitleCriteria(title, operator);
      }
    } else {
      boolean includeChildStructureGroups = Boolean.parseBoolean(fieldOperatorNodes.get(2).getValue());
      criteria = new StructureGroupTitleCriteria(title, operator, includeChildStructureGroups);
    }
  }
View Full Code Here

TOP

Related Classes of com.tridion.broker.querying.criteria.structuregroups.StructureGroupTitleCriteria

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.