LimitUpdatedBy (Database - Java)

Read-write. The maximum number of entries allowed in the $UpdatedBy field.

Note: This property is new with Release 6.5.

Defined in

Database

Data type

double

Syntax

public double getLimitUpdatedBy()
    throws NotesException
public void setLimitUpdatedBy(double updatedbys)
    throws NotesException

Usage

This property corresponds to "Limit entries in $UpdatedBy fields" in the database advanced properties of the UI.

This property must be an integer in the range 0 - 2147483647. When setting it:

  • Any fraction is truncated.
  • A value less than 0 throws NotesError.NOTES_ERR_NEGATIVE_VALUE (4631) "Value can not be negative."
  • A value greater than 2147483647 throws NotesError.NOTES_ERR_LONG_OVERFLOW (4673) "Value must be positive and less than 2147483648."

A value of 0 means no limit.

When $UpdatedBy reaches the limit, a new entry results in deletion of the oldest entry.

The database must be open to use this property.

Example