Package org.openntf.domino

Examples of org.openntf.domino.RichTextItem.appendText()


      logDoc.replaceItemValue("LogAgentStartTime", getStartTime());

      if (getErrDoc() != null) {
        docDb = getErrDoc().getParentDatabase();
        rtitem = logDoc.createRichTextItem("LogDocInfo");
        rtitem.appendText("The document associated with this event is:");
        rtitem.addNewLine(1);
        rtitem.appendText("Server: " + docDb.getServer());
        rtitem.addNewLine(1);
        rtitem.appendText("Database: " + docDb.getFilePath());
        rtitem.addNewLine(1);
View Full Code Here


      if (getErrDoc() != null) {
        docDb = getErrDoc().getParentDatabase();
        rtitem = logDoc.createRichTextItem("LogDocInfo");
        rtitem.appendText("The document associated with this event is:");
        rtitem.addNewLine(1);
        rtitem.appendText("Server: " + docDb.getServer());
        rtitem.addNewLine(1);
        rtitem.appendText("Database: " + docDb.getFilePath());
        rtitem.addNewLine(1);
        rtitem.appendText("UNID: " + getErrDoc().getUniversalID());
        rtitem.addNewLine(1);
View Full Code Here

        rtitem = logDoc.createRichTextItem("LogDocInfo");
        rtitem.appendText("The document associated with this event is:");
        rtitem.addNewLine(1);
        rtitem.appendText("Server: " + docDb.getServer());
        rtitem.addNewLine(1);
        rtitem.appendText("Database: " + docDb.getFilePath());
        rtitem.addNewLine(1);
        rtitem.appendText("UNID: " + getErrDoc().getUniversalID());
        rtitem.addNewLine(1);
        rtitem.appendText("Note ID: " + getErrDoc().getNoteID());
        rtitem.addNewLine(1);
View Full Code Here

        rtitem.addNewLine(1);
        rtitem.appendText("Server: " + docDb.getServer());
        rtitem.addNewLine(1);
        rtitem.appendText("Database: " + docDb.getFilePath());
        rtitem.addNewLine(1);
        rtitem.appendText("UNID: " + getErrDoc().getUniversalID());
        rtitem.addNewLine(1);
        rtitem.appendText("Note ID: " + getErrDoc().getNoteID());
        rtitem.addNewLine(1);
        rtitem.appendText("DocLink: ");
        rtitem.appendDocLink(_errDoc, getErrDoc().getUniversalID());
View Full Code Here

        rtitem.addNewLine(1);
        rtitem.appendText("Database: " + docDb.getFilePath());
        rtitem.addNewLine(1);
        rtitem.appendText("UNID: " + getErrDoc().getUniversalID());
        rtitem.addNewLine(1);
        rtitem.appendText("Note ID: " + getErrDoc().getNoteID());
        rtitem.addNewLine(1);
        rtitem.appendText("DocLink: ");
        rtitem.appendDocLink(_errDoc, getErrDoc().getUniversalID());
      }
View Full Code Here

        rtitem.addNewLine(1);
        rtitem.appendText("UNID: " + getErrDoc().getUniversalID());
        rtitem.addNewLine(1);
        rtitem.appendText("Note ID: " + getErrDoc().getNoteID());
        rtitem.addNewLine(1);
        rtitem.appendText("DocLink: ");
        rtitem.appendDocLink(_errDoc, getErrDoc().getUniversalID());
      }

      // make sure Depositor-level users can add documents too
      logDoc.appendItemValue("$PublicAccess", "1");
View Full Code Here

      logDoc.replaceItemValue("LogErrorMessage", errMsg);
      logDoc.replaceItemValue("LogEventTime", getEventTime());
      logDoc.replaceItemValue("LogEventType", getEventType());
      // If greater than 32k, put in logDocInfo
      if (getMessage().length() > 32000) {
        rtitem.appendText(getMessage());
        rtitem.addNewLine();
      } else {
        logDoc.replaceItemValue("LogMessage", getMessage());
      }
      logDoc.replaceItemValue("LogSeverity", getSeverity().getName());
View Full Code Here

      logDoc.replaceItemValue("LogClientVersion", getClientVersion());
      logDoc.replaceItemValue("LogAgentStartTime", getStartTime());

      if (getErrDoc() != null) {
        docDb = getErrDoc().getParentDatabase();
        rtitem.appendText("The document associated with this event is:");
        rtitem.addNewLine(1);
        rtitem.appendText("Server: " + docDb.getServer());
        rtitem.addNewLine(1);
        rtitem.appendText("Database: " + docDb.getFilePath());
        rtitem.addNewLine(1);
View Full Code Here

      if (getErrDoc() != null) {
        docDb = getErrDoc().getParentDatabase();
        rtitem.appendText("The document associated with this event is:");
        rtitem.addNewLine(1);
        rtitem.appendText("Server: " + docDb.getServer());
        rtitem.addNewLine(1);
        rtitem.appendText("Database: " + docDb.getFilePath());
        rtitem.addNewLine(1);
        rtitem.appendText("UNID: " + getErrDoc().getUniversalID());
        rtitem.addNewLine(1);
View Full Code Here

        docDb = getErrDoc().getParentDatabase();
        rtitem.appendText("The document associated with this event is:");
        rtitem.addNewLine(1);
        rtitem.appendText("Server: " + docDb.getServer());
        rtitem.addNewLine(1);
        rtitem.appendText("Database: " + docDb.getFilePath());
        rtitem.addNewLine(1);
        rtitem.appendText("UNID: " + getErrDoc().getUniversalID());
        rtitem.addNewLine(1);
        rtitem.appendText("Note ID: " + getErrDoc().getNoteID());
        rtitem.addNewLine(1);
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.