intersect (NoteCollection - Java)

Creates a note collection containing the notes common to the original collection and the note or notes specified in the intersection parameter.

Defined in

NoteCollection

Syntax

public void intersect(Agent intersectionspecifier)
    throws NotesException
public void intersect(Document intersectionspecifier)
    throws NotesException
public void intersect(DocumentCollection intersectionspecifier)
    throws NotesException
public void intersect(Form intersectionspecifier)
    throws NotesException
public void intersect(NoteCollection intersectionspecifier)
    throws NotesException
public void intersect(View intersectionspecifier)
    throws NotesException
public void intersect(String intersectionspecifier)
    throws NotesException
public void intersect(int intersectionspecifier)
    throws NotesException

Parameters

Agent intersectionspecifier

An Agent object representing the note to be combined.

Document intersectionspecifier

A Document object representing the note to be combined.

DocumentCollection intersectionspecifier

A DocumentCollection object representing the note to be combined.

Form intersectionspecifier

A Forn object representing the note to be combined.

NoteCollection intersectionspecifier

A NoteCollection object representing the note to be combined.

View intersectionspecifier

A View object representing the note to be combined.

String intersectionspecifier

The note ID of the note to be combined.

int intersectionspecifier

The note ID of the note to be combined.

Usage

The Parent databases of the note collections must be the same.

Example