Package lotus.domino

Examples of lotus.domino.ViewColumn


    public int findSortColumnIndex(final Vector<ViewColumn> vc) throws NotesException {
      int fc = -1;
      // Find the first sorted column
      int nc = vc.size();
      for (int i = 0; i < nc; i++) {
        ViewColumn c = vc.get(i);
        if (c.isSorted()) {
          return i;
        }
        if (fc < 0 && c.getColumnValuesIndex() != DominoViewEntry.VC_NOT_PRESENT) {
          fc = i;
        }
      }
      // Else, return the first column
      return fc;
View Full Code Here


    protected int findSortColumnIndex(final Vector<ViewColumn> vc) throws NotesException {
      int fc = -1;
      // Find the first sorted column
      int nc = vc.size();
      for (int i = 0; i < nc; i++) {
        ViewColumn c = vc.get(i);
        if (c.isSorted()) {
          return i;
        }
        if (fc < 0 && c.getColumnValuesIndex() != DominoViewEntry.VC_NOT_PRESENT) {
          fc = i;
        }
      }
      // Else, return the first column
      return fc;
View Full Code Here

    super.initNavigator(paramView);

    Vector<ViewColumn> cols = paramView.getColumns();

    for (int i = 0; i < cols.size(); i++) {
      ViewColumn col = cols.get(i);
      org.openntf.domino.Session openNtfSession = null;

      if (col.isConstant()) {
        if (openNtfSession == null) {
          Session sess = paramView.getParent().getParent();
          if (sess instanceof org.openntf.domino.Session) {
            openNtfSession = (org.openntf.domino.Session) sess;
          } else {
            openNtfSession = Factory.fromLotus(sess, org.openntf.domino.Session.SCHEMA, null);
          }
        }
        openNtfSession.evaluate(col.getFormula());
      }
    }
  }
View Full Code Here

TOP

Related Classes of lotus.domino.ViewColumn

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.