stampAll (DocumentCollection - Java)

Replaces the value of a specified item in all documents in a collection.

Defined in

DocumentCollection

Syntax

public void stampAll(String itemname, Object value)
    throws NotesException

Parameters

String itemname

The name of the item.

Object value

A value appropriate for the item type. See replaceItemValue.

Usage

This method moves the current pointer to the first document in the collection.

If the item does not exist, it is created.

The item values are immediately written to the server documents. You do not have to use the save method of Document after stampAll. However, any documents modified by your script must be saved before calling stampAll.

This method does not modify existing Document objects. Documents must be retrieved again to see the changes.

Example