merge (ViewEntryCollection - Java™)
Adds to a view entry collection any documents not already in the collection that are contained in a second document or view entry collection.
Defined in
Syntax
public void viewEntryCollection.merge(int noteID)
throws NotesException
public void viewEntryCollection.merge(Document doc)
throws NotesException
public void viewEntryCollection.merge(DocumentCollection dcol)
throws NotesException
public void viewEntryCollection.merge(ViewEntry ventry)
throws NotesException
public void viewEntryCollection.merge(ViewEntryCollection vec)
throws NotesException
Parameters
int noteID
A single notedID, belonging to this ViewEntryCollection's database.
Document doc
A single document, belonging to this ViewEntryCollection's database.
DocumentCollection dcol
A document collection, belonging to this ViewEntryCollection's database.
ViewEntry ventry
A single view entry, belonging to this ViewEntryCollection's database, that has a Document associated with it.
ViewEntryCollection vec
A view entry collection, belonging to this ViewEntryCollection's database, all of which have Documents associated with them.
Usage
The document or documents (or the view entries and their associated documents) being merged 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.
This method performs a union of the two collections.