Package org.openntf.domino

Examples of org.openntf.domino.Document.replaceItemValue()


        olDoc.replaceItemValue("LogAgentLanguage", "Java");
        olDoc.replaceItemValue("LogUserName", ollr._userName);
        olDoc.replaceItemValue("LogEffectiveName", ollr._effectiveUserName);
        olDoc.replaceItemValue("LogAccessLevel", ollr._accessLevel);
        olDoc.replaceItemValue("LogUserRoles", ollr._userRoles);
        olDoc.replaceItemValue("LogClientVersion", ollr._clientVersion);
        olDoc.replaceItemValue("LogAgentStartTime", _parentStartTime);
        if (ollr._exceptionDetails == null)
          olDoc.replaceItemValue("LogExceptionDetails", "* Not available *");
        else {
          int sz = ollr._exceptionDetails.size();
View Full Code Here


        olDoc.replaceItemValue("LogUserName", ollr._userName);
        olDoc.replaceItemValue("LogEffectiveName", ollr._effectiveUserName);
        olDoc.replaceItemValue("LogAccessLevel", ollr._accessLevel);
        olDoc.replaceItemValue("LogUserRoles", ollr._userRoles);
        olDoc.replaceItemValue("LogClientVersion", ollr._clientVersion);
        olDoc.replaceItemValue("LogAgentStartTime", _parentStartTime);
        if (ollr._exceptionDetails == null)
          olDoc.replaceItemValue("LogExceptionDetails", "* Not available *");
        else {
          int sz = ollr._exceptionDetails.size();
          String[] excds = new String[sz];
View Full Code Here

        olDoc.replaceItemValue("LogAccessLevel", ollr._accessLevel);
        olDoc.replaceItemValue("LogUserRoles", ollr._userRoles);
        olDoc.replaceItemValue("LogClientVersion", ollr._clientVersion);
        olDoc.replaceItemValue("LogAgentStartTime", _parentStartTime);
        if (ollr._exceptionDetails == null)
          olDoc.replaceItemValue("LogExceptionDetails", "* Not available *");
        else {
          int sz = ollr._exceptionDetails.size();
          String[] excds = new String[sz];
          for (int i = 0; i < sz; i++)
            excds[i] = ollr._exceptionDetails.get(i).toString();
View Full Code Here

        else {
          int sz = ollr._exceptionDetails.size();
          String[] excds = new String[sz];
          for (int i = 0; i < sz; i++)
            excds[i] = ollr._exceptionDetails.get(i).toString();
          olDoc.replaceItemValue("LogExceptionDetails", excds);
        }
        if (ollr._lastWrappedDocs == null)
          olDoc.replaceItemValue("LogLastWrappedDocuments", "* Not available *");
        else
          olDoc.replaceItemValue("LogLastWrappedDocuments", ollr._lastWrappedDocs);
View Full Code Here

          for (int i = 0; i < sz; i++)
            excds[i] = ollr._exceptionDetails.get(i).toString();
          olDoc.replaceItemValue("LogExceptionDetails", excds);
        }
        if (ollr._lastWrappedDocs == null)
          olDoc.replaceItemValue("LogLastWrappedDocuments", "* Not available *");
        else
          olDoc.replaceItemValue("LogLastWrappedDocuments", ollr._lastWrappedDocs);
        olDoc.replaceItemValue("$PublicAccess", "1");
        olDoc.save(true);
      } catch (Exception e) {
View Full Code Here

          olDoc.replaceItemValue("LogExceptionDetails", excds);
        }
        if (ollr._lastWrappedDocs == null)
          olDoc.replaceItemValue("LogLastWrappedDocuments", "* Not available *");
        else
          olDoc.replaceItemValue("LogLastWrappedDocuments", ollr._lastWrappedDocs);
        olDoc.replaceItemValue("$PublicAccess", "1");
        olDoc.save(true);
      } catch (Exception e) {
        printException(e);
      }
View Full Code Here

        }
        if (ollr._lastWrappedDocs == null)
          olDoc.replaceItemValue("LogLastWrappedDocuments", "* Not available *");
        else
          olDoc.replaceItemValue("LogLastWrappedDocuments", ollr._lastWrappedDocs);
        olDoc.replaceItemValue("$PublicAccess", "1");
        olDoc.save(true);
      } catch (Exception e) {
        printException(e);
      }
    }
View Full Code Here

      Throwable ee = getBase();
      if (ee != null) {
        StackTraceElement ste = ee.getStackTrace()[0];
        if (ee instanceof NotesException) {
          logDoc.replaceItemValue("LogErrorNumber", ((NotesException) ee).id);
          logDoc.replaceItemValue("LogErrorMessage", ((NotesException) ee).text);
        } else {
          // Fixed next line
          logDoc.replaceItemValue("LogErrorMessage", getMessage());
        }
View Full Code Here

      Throwable ee = getBase();
      if (ee != null) {
        StackTraceElement ste = ee.getStackTrace()[0];
        if (ee instanceof NotesException) {
          logDoc.replaceItemValue("LogErrorNumber", ((NotesException) ee).id);
          logDoc.replaceItemValue("LogErrorMessage", ((NotesException) ee).text);
        } else {
          // Fixed next line
          logDoc.replaceItemValue("LogErrorMessage", getMessage());
        }
        logDoc.replaceItemValue("LogErrorLine", ste.getLineNumber());
View Full Code Here

        if (ee instanceof NotesException) {
          logDoc.replaceItemValue("LogErrorNumber", ((NotesException) ee).id);
          logDoc.replaceItemValue("LogErrorMessage", ((NotesException) ee).text);
        } else {
          // Fixed next line
          logDoc.replaceItemValue("LogErrorMessage", getMessage());
        }
        logDoc.replaceItemValue("LogErrorLine", ste.getLineNumber());
        logDoc.replaceItemValue("LogFromMethod", ste.getClassName() + "." + ste.getMethodName());
      }
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.