Package org.openntf.domino

Examples of org.openntf.domino.DbDirectory


    return result;
  }

  public void scanServer(final Session session, final String serverName) {
    initIndexDb();
    DbDirectory dir = session.getDbDirectory(serverName);
    dir.setDirectoryType(DbDirectory.Type.DATABASE);
    for (Database db : dir) {
      if (!db.getReplicaID().equals(getIndexDb().getReplicaID())) {
        //        System.out.println("Scanning database " + db.getApiPath());
        if (!db.getFilePath().equalsIgnoreCase("redpill\\graph.nsf")) {
          try {
View Full Code Here


  public Database getDatabase(final long dbid, final String server, final Session session) {
    Database result = dbMap_.get(dbid);
    if (result == null) {
      String replid = getReplidFromLong(dbid);
      DbDirectory dir = session.getDbDirectory(server);
      result = dir.openDatabaseByReplicaID(replid);
      dbMap_.put(dbid, result);
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of org.openntf.domino.DbDirectory

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.