public class DeleteItemCommand extends CommandWrapper
The deleted item can be undeleted later in the DOORS client. The PurgeItemCommand
command might be used to permanently get rid of the
item.
Below is a snippet illustrating how to use this command (see CommandRunner
for a full snippet):
ItemRef item = ItemRef.qualifiedName("/MyFolder/MyModule"); DeleteItemCommand command = new DeleteItemCommand(item); myCommandRunner.run(command);
This class is not intended to be subclassed by clients but may be instantiated.
CommandRunner
,
PurgeItemCommand
Constructor and Description |
---|
DeleteItemCommand(ItemRef item)
Instantiates a command to delete an item.
|
public DeleteItemCommand(ItemRef item)
item
- the item to delete, which can be either a module, a folder or a project.