copyAllItems (Document - Java™)
Copies all items in the current document into the destination document. The item names are unchanged.
Defined in
Syntax
public void copyAllItems(Document doc, boolean replace)
throws NotesException
Parameters
Document
The destination document.
boolean replace
If true, the items in the destination document are replaced. If false, the items in the destination document are appended.
Usage
If you are not copying to a newly created document, you should probably specify true for the second parameter. See appendItemValue for a note about appending items to existing documents.