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

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


      } else if (PUBLICATION_URL.equals(criteria)) {
        return new PublicationURLCriteria(value, fieldOperator);

        // Structure Group stuff
      } 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);
View Full Code Here


  public void build(ParametersExpression parametersExpression) {
    List<FieldOperatorNode> fieldOperatorNodes = parametersExpression.getFieldOperatorNodes();

    String structureGroupUri = fieldOperatorNodes.get(0).getValue();
    if (fieldOperatorNodes.size() == 1) {
      criteria = new StructureGroupCriteria(structureGroupUri);
    } else {
      boolean includeChildStructureGroups = Boolean.parseBoolean(fieldOperatorNodes.get(1).getValue());
      criteria = new StructureGroupCriteria(structureGroupUri, includeChildStructureGroups);
    }
  }
View Full Code Here

TOP

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

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.