Class UnlockCommand
- java.lang.Object
-
- com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommandWrapper
-
- com.sodius.mdw.metamodel.integrity.io.command.UnlockCommand
-
- All Implemented Interfaces:
ExecutableCommand
public class UnlockCommand extends ExecutableCommandWrapper implements ExecutableCommand
Unlocks a locked document. To unlock a document, you (or a group to which you belong) must have a lock on it or you must be part of the Lock Administrator group.
This command requires PTC Integrity 10.6 or higher.
Notes:
- Normally, when a document is unlocked, any user can edit the lockable fields of that document. However, the administrator can configure Integrity to require users to lock a document before they edit the lockable fields of that document. When such a requirement is in place, no one can edit the lockable fields of an unlocked document.
Usage:
new UnlockCommand(myItem).execute();
- Since:
- 1.9.2
-
-
Constructor Summary
Constructors Constructor Description UnlockCommand(Item item)
Instantiates a command to unlock a Document Item.
-
Method Summary
-
Methods inherited from class com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommandWrapper
execute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommand
execute
-
-
-
-
Constructor Detail
-
UnlockCommand
public UnlockCommand(Item item)
Instantiates a command to unlock a Document Item.- Parameters:
item
- the Document item to unlock.
-
-