SunQuest
 
       Administration
  Home arrow Administration arrow Page 3 - Connect Lotus Domino Server through St...
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Actuate Whitepapers 
VeriSign Whitepapers 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ADMINISTRATION

Connect Lotus Domino Server through Standalone Application with CORBA
By: Alex Soto Bueno
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 13
    2004-09-14

    Table of Contents:
  • Connect Lotus Domino Server through Standalone Application with CORBA
  • Start Working with Documents
  • Looking for Documents
  • Working with Received Mails
  • Deleting Attachments
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!

    Connect Lotus Domino Server through Standalone Application with CORBA - Looking for Documents


    (Page 3 of 6 )

    We explain methods to search documents, with a View, object and with the Database object.

    With Database, we search with method Search or method FTSearch. The differences are, Search have an argument which represents notes @function formula that specifies the selection criteria.

    DocumentCollection dc = db.search("Subject = "" + mySubject + """);

    With FTSearch executes a full-text query.

    DocumentCollection dc = db.FTSearch("red & blue", 100);

    Return all documents that match red and blue, but at maximum of 100.

    With a View, prior we must have created it in the Domino, we can search documents as simple as:

    View view = db.getView("By Category"); DocumentCollection dc = view.getAllDocumentsByKey("Leather");

    This code gets all the documents in the category "Leather" in the By Category view of the current database The DocumentCollection class is a collection, and you navigate through it.

    DocumentCollection dc = database.getAllDocuments();
    Document doc = dc.getFirstDocument();
    while (doc != null)
    {
        System.out.println(doc.getItemValueString("Subject"));
        doc = dc.getNextDocument();
    }

    We put all documents of given database into DocumentCollection, and then we print the value of the field Subject.

    More Administration Articles
    More By Alex Soto Bueno


       · i recently completed an web app that hooks into domino, a few things i learned is...
       · Hi,I am writing a program in java which will read a (Domino)NSF file stored...
     

       

    ADMINISTRATION ARTICLES

    - Network Administration with FreeBSD 7
    - Components of an Information Architecture
    - The Anatomy of an Information Architecture
    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization
    - Advanced Concepts on Dealing with Files and ...
    - Dealing with Files and Filesystems





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway