Class CreateItemCommand
Inheritance
CreateItemCommand
Constructors
(constructor)(productHandler, _itemsDataApplier, historyArgs, args)
Constructs a new instance of the CreateItemCommand class
Declaration
constructor(productHandler: ProductHandler, _itemsDataApplier: ItemsDataApplier, historyArgs: IHistoryArgs, args: ICreateItemCommandArgs);
Parameters
Methods
_executeCommandBody()
Declaration
_executeCommandBody(): Promise<Item>;
Returns
| Type |
Description |
| Promise<Item> |
|
redo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|
undo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|