Examples of QueryObjectType


Examples of edu.indiana.dde.metadata.catalog.types.QueryObjectType

     
      ContextQueryRequestDocument cqrdoc = ContextQueryRequestDocument.Factory
          .newInstance();
      ContextQueryRequestType cqType = cqrdoc.addNewContextQueryRequest();

      QueryObjectType qTarget = cqType.addNewQueryTarget();
      qTarget.setAggrType(CatalogAggregationType.PROJECT);

      QueryResultConfigurationType qrConfig = cqType
          .addNewQueryResultConfiguration();
      qrConfig.setCount(0);
      qrConfig.setOffset(0);
View Full Code Here

Examples of edu.indiana.dde.metadata.catalog.types.QueryObjectType

      try {
        ContextQueryRequestDocument query = ContextQueryRequestDocument.Factory
            .newInstance();
        ContextQueryRequestType params = query
            .addNewContextQueryRequest();
        QueryObjectType target = params.addNewQueryTarget();
        target.setAggrType(CatalogAggregationType.COLLECTION);

        ContextQueryType context = params.addNewContextQuery();
        QueryComponentType parentCollection = context
            .addNewQueryComponent();
        parentCollection.setAggrType(CatalogAggregationType.COLLECTION);
View Full Code Here

Examples of edu.indiana.dde.metadata.catalog.types.QueryObjectType

    String wfTempCollectionId = null;
    try {
      ContextQueryRequestDocument query = ContextQueryRequestDocument.Factory
          .newInstance();
      ContextQueryRequestType params = query.addNewContextQueryRequest();
      QueryObjectType target = params.addNewQueryTarget();
      target.setAggrType(CatalogAggregationType.COLLECTION);

      ContextQueryType context = params.addNewContextQuery();
      QueryComponentType parentCollection = context
          .addNewQueryComponent();
      parentCollection.setAggrType(CatalogAggregationType.PROJECT);
      parentCollection.setRelation(ContextType.PARENT);
      parentCollection.setObjectId(projectID);

      QueryPropertyType titleProperty = target.addNewQueryProperty();

      titleProperty.setName("citation");
      titleProperty.setSource("LEAD");
      QueryElementType titleElement = titleProperty.addNewQueryElement();
      titleElement.setName("title");
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.