Class CloneItemsCommand
Inheritance
CloneItemsCommand
Constructors
(constructor)(productHandler, historyArgs, args, _commandManager, _variableItemHelper)
Constructs a new instance of the CloneItemsCommand class
Declaration
constructor(productHandler: ProductHandler, historyArgs: IHistoryArgs, args: ICloneItemsCommandArgs, _commandManager: CommandManager, _variableItemHelper: VariableItemHelper);
Parameters
Methods
_executeCommandBody()
Declaration
_executeCommandBody(): Promise<void>;
Returns
| Type |
Description |
| Promise<void> |
|
cloneItem(item)
Declaration
cloneItem(item: Item): Item;
Parameters
| Type |
Name |
Description |
| Item |
item |
|
Returns
redo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|
undo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|