JAVA/CORBA CLASSES


IsAutoUpdate property
Example

Read-write. Indicates whether a view is automatically refreshed when a navigation method touches an update (addition, deletion, or change) to the database that occurred after view creation or the last refresh.

Defined in

View

Data type

boolean

Syntax

public boolean isAutoUpdate()
   throws NotesException

public void setAutoUpdate(boolean flag)
   throws NotesException

Legal values


Usage

Set this property to false if you want the view to remain static during processing.

You may want to set this property to false to enhance performance, for example, if you are processing all the documents in a large view and don't care about any changes that occur in the database during that processing.

If this property is false, you must call refresh to navigate to an update.

Even if this property is true, you must call refresh if you are not navigating to an update and you want the view refreshed, for example, to get the top level entry count.

If this value is true for remote (IIOP) operations, caching is turned off.

Language cross-reference

AutoUpdate property in LotusScript NotesView class

Example
See Also