Examples of orType()


Examples of org.structr.core.app.Query.orType()

    final int page                        = webSocketData.getPage();
    final PropertyKey sortProperty        = StructrApp.getConfiguration().getPropertyKeyForJSONName(DOMNode.class, sortKey);
    final Query query                     = StructrApp.getInstance(securityContext).nodeQuery().includeDeletedAndHidden().sort(sortProperty).order("desc".equals(sortOrder));
   
    query.orTypes(DOMElement.class);
    query.orType(Content.class);

    try {

      // do search
      List<AbstractNode> filteredResults     = new LinkedList();
View Full Code Here

Examples of org.structr.core.app.Query.orType()

    final List<? extends GraphObject> resultList = new LinkedList<>();
    final Set<AbstractNode> filteredResults      = new LinkedHashSet<>();

    query.includeDeletedAndHidden();
    query.orTypes(DOMElement.class);
    query.orType(Content.class);

    try (final Tx tx = app.tx()) {

      resultList.addAll(query.getAsList());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.