public class PurgeItemCommand extends CommandWrapper
As the item will be permanently lost and no action can recover the purge, this command should be used with great care.
Below is a snippet illustrating how to use this command (see CommandRunner
for a full snippet):
ItemRef item = ItemRef.qualifiedName("/MyFolder/MyDeletedModule"); PurgeItemCommand command = new PurgeItemCommand(item); myCommandRunner.run(command);
This class is not intended to be subclassed by clients but may be instantiated.
CommandRunner
,
DeleteItemCommand
Constructor and Description |
---|
PurgeItemCommand(ItemRef item)
Instantiates a command to purge a deleted item and permanently get rid of it.
|
public PurgeItemCommand(ItemRef item)
item
- the deleted item that is to be purged.