moveEntry (Outline - Java)

Moves an outline entry and subentries from one location to another.

Defined in

Outline

Syntax

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

Parameters

OutlineEntry entry

The entry being moved.

OutlineEntry referenceEntry

The entry after or before which the entry being moved is placed.

boolean after
  • true (default) to move the entry after the reference entry
  • false to move the entry before the reference entry, as a sibling
boolean asChild
  • true to make the entry a child of the preceding entry
  • false (default) to not make the entry a child
    Note: The parameter default changed to false in Release 5.0.2.

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.

Moving an entry to the beginning of the outline makes it a top-level (level 0) entry.

Example