addEntry (Outline - Java)

Adds an entry to an outline.

Note: This method is obsolete as of Release 5.0.2, but is supported for backward compatibility. Use createEntry to add a new entry to an outline.

Defined in

Outline

Syntax

public void addEntry(OutlineEntry entry, OutlineEntry referenceEntry)
     throws NotesException
public void addEntry(OutlineEntry entry, OutlineEntry referenceEntry, boolean after)
     throws NotesException
public void addEntry(OutlineEntry entry, OutlineEntry referenceEntry, boolean after, boolean asChild)
     throws NotesException

Parameters

OutlineEntry entry

The entry being added.

OutlineEntry referenceEntry

The name of an existing entry. Specify null to add the first entry to an empty outline.

boolean after

true (default) to put the entry after the existing entry; false to put the entry before the existing entry.

boolean asChild

true (default) to make the entry a child of the preceding entry. If boolean after is false and boolean asChild is true, an exception is raised.

Usage

You must save the outline or the effect of this method is lost when the program exits.

Example