Package | Description |
---|---|
com.hcl.domino.data |
Modifier and Type | Method and Description |
---|---|
static Document.LockMode |
Document.LockMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.LockMode[] |
Document.LockMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Document.lock(List<String> lockHolders,
Document.LockMode mode)
This function adds an "$Writers" field to a note which contains a list of "writers"
who will be able to update the note.
Any user will be able to open the note, but only the members contained in the "$Writers" field are allowed to update the note. This function will only succeed if the database option "Allow document locking" is set. Please refer to the Domino documentation for a full description of document locking. |
boolean |
Document.lock(String lockHolder,
Document.LockMode mode)
This function adds an "$Writers" field to a note which contains a list of "writers"
who will be able to update the note.
Any user will be able to open the note, but only the members contained in the "$Writers" field are allowed to update the note. This function will only succeed if the database option "Allow document locking" is set. Please refer to the Domino documentation for a full description of document locking. |
void |
Document.unlock(Document.LockMode mode)
This function removes the lock on a note.
Only the members contained in the "writers" list are allowed to remove a lock, with the exception of person(s) designated as capable of removing locks. Please refer to the Domino documentation for a full description of document locking.# |
Copyright © 2019–2021 HCL. All rights reserved.