Package com.google.enterprise.connector.sharepoint.generated.gssitediscovery

Examples of com.google.enterprise.connector.sharepoint.generated.gssitediscovery.WebCrawlInfo


    web.setNextAclChangeToken(atts
        .getValue(SPConstants.STATE_ACLNEXTCHANGETOKEN));
    web.setCurretAclChangeToken(atts.getValue(SPConstants.STATE_ACLCHANGETOKEN));

    WebCrawlInfo webCrawlInfo = new WebCrawlInfo();
    webCrawlInfo.setNoCrawl(Boolean.getBoolean(atts.getValue(SPConstants.STATE_NOCRAWL)));
    webCrawlInfo.setCrawlAspxPages(Boolean.getBoolean(atts.getValue(SPConstants.STATE_CRAWLASPXPAGES)));
    web.setWebCrawlInfo(webCrawlInfo);

    return web;
  }
View Full Code Here


    final String domain_fqdn = this.siteDisc.getFQDNHost(TestConfiguration.domain);
    assertEquals(TestConfiguration.domain, domain_fqdn);
  }

  public final void testGetCurrentWebCrawlInfo() throws Exception {
    WebCrawlInfo webCrawlInfo = siteDisc.getCurrentWebCrawlInfo();
    assertNotNull(webCrawlInfo);
    // Assuming the initial crawl URL will never be marked for NoCrawl.
    assertFalse(webCrawlInfo.isNoCrawl());
  }
View Full Code Here

    }
  }

  public final void testGetWebCrawlInfoInBatch() throws Exception {
    String[] weburls = { TestConfiguration.Site1_URL };
    WebCrawlInfo webCrawlInfo = new WebCrawlInfo();
    webCrawlInfo.setNoCrawl(true);
    WebCrawlInfo[] wsResult = siteDisc.getWebCrawlInfoInBatch(weburls);
    assertNotNull(wsResult);
    assertEquals(wsResult.length, weburls.length);
    assertFalse(wsResult[0].isNoCrawl());
  }
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.sharepoint.generated.gssitediscovery.WebCrawlInfo

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.