Package lotus.domino

Examples of lotus.domino.Database


     * @see org.openntf.domino.xsp.helpers.OpenntfNABNamePickerData.EntryMetaData#openView()
     */
    @Override
    public View openView() throws NotesException {
      // Find the database
      Database nabDb = findNAB();
      if (nabDb == null) {
        throw new FacesExceptionEx(null, "Not able to find a valid address book for the name picker"); // $NLX-DominoNABNamePickerData.Notabletofindavalidaddressbookfor-1$
      }
      // Find the view
      String viewName = getViewName();
      if (StringUtil.isEmpty(viewName)) {
        throw new FacesExceptionEx(null, "Not able to find a view in the address book that matches the selection criterias"); // $NLX-DominoNABNamePickerData.Notabletofindaviewintheaddressboo-1$
      }

      View view = nabDb.getView(viewName);
      return view;
    }
View Full Code Here

TOP

Related Classes of lotus.domino.Database

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.