Examples of IDfDocbaseMap


Examples of com.documentum.fc.client.IDfDocbaseMap

    return new IDynOptionsProvider() {
     
      @Override
      public String[] getOptionValues() {
        try {
          IDfDocbaseMap map = DctmDriver.getDocbases();
          String out[] = new String[map.getDocbaseCount()];
          for ( int i = 0; i < map.getDocbaseCount(); i++ )
            out[i] = map.getDocbaseName(i);
          return out;
        } catch (DfException e) {
          log.info(e);
        }
        return null;
      }
     
      @Override
      public String[] getOptionTitles() {
        try {
          IDfDocbaseMap map = DctmDriver.getDocbases();
          String out[] = new String[map.getDocbaseCount()];
          for ( int i = 0; i < map.getDocbaseCount(); i++ )
            out[i] = map.getDocbaseName(i) + " (" + map.getDocbaseDescription(i) +")";
          return out;
        } catch (DfException e) {
          log.info(e);
        }
        return null;
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.