Examples of newDocumentFilter()


Examples of com.google.enterprise.connector.pusher.AclTransformFilter.newDocumentFilter()

      // Configure the dynamic ACL transformation filters for the documents.
      // TODO(bmj): Is FeedType.CONTENTURL a reasonable assumption here?
      AclTransformFilter aclTransformFilter = new AclTransformFilter(
          feedConnection,
          new UrlConstructor(connectorName, FeedType.CONTENTURL));
      metaDoc = aclTransformFilter.newDocumentFilter(metaDoc);
    }
    return metaDoc;
  }

  @Override
View Full Code Here

Examples of com.google.enterprise.connector.util.filter.DocumentFilterFactory.newDocumentFilter()

      // TODO: Create empty Document?
    } else {
      if (documentFilterFactoryFactory != null) {
        DocumentFilterFactory documentFilterFactory =
          documentFilterFactoryFactory.getDocumentFilterFactory(connectorName);
        metaDoc = documentFilterFactory.newDocumentFilter(metaDoc);
      }

      // GSA 7.0 does not support case-sensitivity or namespaces in ACLs
      // during crawl-time. So we have to send the ACLs at feed-time.
      // But the crawl-time metadata overwrites the feed-time ACLs.
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.