Package com.google.enterprise.connector.sharepoint.spiimpl

Examples of com.google.enterprise.connector.sharepoint.spiimpl.SharepointConnector


   *
   * @return Instance of {@link SharepointConnector}
   */
  public static SharepointConnector createConnectorInstance()
      throws RepositoryException {
    SharepointConnector connector = new SharepointConnector();
    connector.setClientFactory(clientFactory);
    connector.setSharepointUrl(TestConfiguration.sharepointUrl);
    connector.setDomain(TestConfiguration.domain);
    connector.setUsername(TestConfiguration.username);
    connector.setPassword(TestConfiguration.password);
    connector.setGoogleConnectorWorkDir(TestConfiguration.googleConnectorWorkDir);
    connector.setGoogleGlobalNamespace(TestConfiguration.googleGlobalNamespace);
    connector.setGoogleLocalNamespace(TestConfiguration.googleLocalNamespace);
    connector.setIncludedURls(TestConfiguration.includedURls);
    connector.setExcludedURls(TestConfiguration.excludedURls);
    connector.setMySiteBaseURL(TestConfiguration.mySiteBaseURL);
    connector.setAliasMap(TestConfiguration.aliasMap);
    connector.setAuthorization(authorization);
    connector.setUseSPSearchVisibility(TestConfiguration.useSPSearchVisibility);
    connector.setIncluded_metadata(TestConfiguration.whiteList);
    connector.setExcluded_metadata(TestConfiguration.blackList);
    connector.setFQDNConversion(true);
    connector.setPushAcls(false);
    connector.setCacheRefreshInterval("7200");
    connector.setInitialCacheSize("1000");
    connector.setPortNumber("389");
    connector.setLdapServerHostAddress(ldapServerHostAddress);
    connector.setAuthenticationType("simple");
    connector.setConnectMethod("standard");
    connector.setSearchBase("DC=gdc-psl,DC=net");
    connector.setLdapConnectiionSettings(TestConfiguration.getLdapConnetionSettings());
    connector.setSocialOption(TestConfiguration.getSocialOption());
    return connector;
  }
View Full Code Here


   *
   * @return Instance of {@link SharepointConnector}
   */
  public static SharepointConnector getConnectorInstance()
      throws RepositoryException {
    SharepointConnector connector = createConnectorInstance();
    connector.init();
    return connector;
  }
View Full Code Here

   *
   * @return Instance of {@link SharepointConnector}
   */
  public static SharepointConnector getSmallDomainConnectorInstance()
      throws RepositoryException {
    SharepointConnector connector = getConnectorInstance();
    connector.setSharepointUrl(sharepointUrl2);
    connector.setDomain(domain2);
    connector.setUsername(username2);
    connector.setPassword(password2);
    connector.setLdapServerHostAddress(ldapServerHostAddress2);
    return connector;
  }
View Full Code Here

  private SharepointConnector connectorNonSocial;
  private Session sessionNonSocial;

  static SharepointConnector createSharepointConnector(String socialOption)
      throws Exception {
    SharepointConnector connector = TestConfiguration.getSmallDomainConnectorInstance();
    connector.setUserProfileServiceFactory(new MockUserProfileServiceFactory());
    connector.setFeedUnPublishedDocuments(true);
    connector.setPushAcls(false);
    connector.setSocialOption(socialOption);

    return connector;
  }
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.sharepoint.spiimpl.SharepointConnector

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.