JAVA/CORBA CLASSES


subtract method
Removes from a view entry collection any entries whose associated documents are also contained in a second collection.

Note This method is new with Release 8.0.1.

Defined in

ViewEntryCollection

Syntax

public void viewEntryCollection.subtract(int noteID)
   throws NotesException

public void viewEntryCollection.subtract(Document doc)
   throws NotesException

public void viewEntryCollection.subtract(DocumentCollection dcol)
   throws NotesException

public void viewEntryCollection.subtract(ViewEntry ventry)
   throws NotesException

public void viewEntryCollection.subtract(ViewEntryCollection vec)
   throws NotesException

Parameters

int noteID


Document doc
DocumentCollection dcol
ViewEntry ventry
ViewEntryCollection vec
Usage

The document or documents (or the view entries and their associated documents) being subtracted by this method must be in the same database as the original collection. Otherwise, the method will return the error "the specified note or notes do not exist in the database" or, if a noteID was passed to the method that matches a noteID in the original collection's database, the method will use the unintended document.

Language cross-reference

Subtract method in LotusScript NotesViewEntryCollection class