Examples of openByReplicaID()


Examples of com.google.enterprise.connector.notes.client.NotesDatabase.openByReplicaID()

        return;
      }

      // Get modified documents
      NotesDatabase srcdb = ns.getDatabase(null, null);
      srcdb.openByReplicaID(
          srcdbDoc.getItemValueString(NCCONST.DITM_SERVER),
          srcdbDoc.getItemValueString(NCCONST.DITM_REPLICAID));

      // Did the database open succeed? If not exit
      if (!srcdb.isOpen()) {
View Full Code Here

Examples of com.google.enterprise.connector.notes.client.NotesDatabase.openByReplicaID()

          // TODO: is there anything that would cause us to skip
          // checking roles for this database? Or remove all
          // role-related records for this database?

          crawlDatabase = notesSession.getDatabase(null, null);
          crawlDatabase.openByReplicaID(
              connectorCrawlDatabaseDoc.getItemValueString(NCCONST.DITM_SERVER),
              replicaId);
          if (!crawlDatabase.isOpen()) {
            LOGGER.logp(Level.FINE, CLASS_NAME, METHOD,
                "Database could not be opened: " + databaseName);
View Full Code Here

Examples of org.openntf.domino.Database.openByReplicaID()

   * @see org.openntf.domino.ext.RichTextDoclink#getDatabase()
   */
  public Database getDatabase() {
    Session session = getAncestorSession();
    Database database = session.getDatabase("", "");
    database.openByReplicaID(getServerHint(), getDBReplicaID());
    return database;
  }

  /* (non-Javadoc)
   * @see org.openntf.domino.ext.RichTextDoclink#getDocument()
View Full Code Here

Examples of org.openntf.domino.Database.openByReplicaID()

    }
  }

  public static Document getDocument(final Session session, final String server, final String replid, final String noteid) {
    final Database db = session.getDatabase("", "");
    db.openByReplicaID(server, replid);
    if (db.isOpen()) {
      final Document result = db.getDocumentByID(noteid);
      return result;
    } else {
      // TODO handle exception properly
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.