Package edu.indiana.dde.mylead.agent.xmlbeans

Examples of edu.indiana.dde.mylead.agent.xmlbeans.ContextQueryRequestDocument


        int limit = 0;

        ContentFilterType.Enum cFilter = ContentFilterType.FULL_SCHEMA;
      
        ContextQueryRequestDocument reqDoc = ContextQueryRequestDocument.Factory.newInstance();
    ContextQueryRequestType req = reqDoc.addNewContextQueryRequest();
    QueryResultConfigurationType resultConfig = req.addNewQueryResultConfiguration();
    resultConfig.setContentFilter(cFilter);
    resultConfig.setHierarchyFilter(edu.indiana.dde.metadata.catalog.types.HierarchyFilterType.TARGET);
    resultConfig.setCount(limit);
    resultConfig.setOffset(0);
View Full Code Here


  public ArrayList<MyLeadQueryResultItem> listProjects(String uid)
      throws MyLeadException {
    try {
      ArrayList<MyLeadQueryResultItem> projects = new ArrayList<MyLeadQueryResultItem>();
     
      ContextQueryRequestDocument cqrdoc = ContextQueryRequestDocument.Factory
          .newInstance();
      ContextQueryRequestType cqType = cqrdoc.addNewContextQueryRequest();

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

      QueryResultConfigurationType qrConfig = cqType
View Full Code Here

      logger.finest("using userID [" + lUserID + "] and projectID ["
          + lProjectID + "] for sample workflows");
      workflows = new ArrayList<MyleadWorkflowMetadata>();

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

        ContextQueryType context = params.addNewContextQuery();
View Full Code Here

  public String getWorkflowTemplateCollectionId(String userID,
      String projectID) throws MyLeadException {
    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
View Full Code Here

TOP

Related Classes of edu.indiana.dde.mylead.agent.xmlbeans.ContextQueryRequestDocument

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.