public class LockCommand extends ExecutableCommandWrapper implements ExecutableCommand
Locks a document Item
for editing. Locking a document for editing prevents others from editing particular fields of that document.
This command requires PTC Integrity 10.6 or higher.
Notes:
Usage:
new LockCommand(myItem).execute(); new LockCommand(myItem, groupName).execute();
Constructor and Description |
---|
LockCommand(Item item)
Instantiates a command to lock a Document Item.
|
LockCommand(Item item,
String groupName)
Instantiates a command to lock a Document Item.
|
execute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public LockCommand(Item item, String groupName)
item
- the Document item to lock.groupName
- The user group allow to edit the Document.public LockCommand(Item item)
item
- the Document item to lock.