Package com.google.enterprise.connector.dctm.dfcwrap

Examples of com.google.enterprise.connector.dctm.dfcwrap.IDocbaseMap


    return propertiesMap;
  }

  private List<String> getDocbases(IClientX cl) throws RepositoryException {
    IClient client = cl.getLocalClient();
    IDocbaseMap docbaseMap = client.getDocbaseMap();
    int count = docbaseMap.getDocbaseCount();
    ArrayList<String> docbases = new ArrayList<String>(count);
    for (int i = 0; i < count; i++) {
      docbases.add(docbaseMap.getDocbaseName(i));
    }
    return docbases;
  }
View Full Code Here


      String selected) {
    StringBuilder buf = new StringBuilder();
    // TODO: With the extraction of getDocbases, we could dispense
    // with the multiple docbase feature of MockDmDocbaseMap.
    try {
      IDocbaseMap docbaseMap = new MockDmDocbaseMap(count);
      List<String> docbases = new ArrayList<String>();
      for (int i = 0; i < docbaseMap.getDocbaseCount(); i++) {
        docbases.add(docbaseMap.getDocbaseName(i));
      }
      FormSnippet snippet = new FormSnippet(resources, docbases, true);

      snippet.appendDropDownListAttribute(buf, value);
    } catch (RepositoryException e) {
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.dctm.dfcwrap.IDocbaseMap

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.