BaseProductCommand
Classes
abstract BaseProductCommand
Extends
ModelUpdateCommand<TArgs,TResult>
Extended by
ApplyProductThemeCommandChangeBackgroundCommandFillPlaceholdersCommandReplaceInterpolationPlaceholdersCommandResizeCommandRotateProductCommand
Type Parameters
| Type Parameter |
|---|
TArgs |
TResult |
Constructors
Constructor
new BaseProductCommand<TArgs, TResult>(
product,
historyArgs,
args?): BaseProductCommand<TArgs, TResult>;
Parameters
| Parameter | Type |
|---|---|
product | Product |
historyArgs | IHistoryArgs |
args? | TArgs |
Returns
BaseProductCommand<TArgs, TResult>
Overrides
ModelUpdateCommand.constructor
Methods
execute()
execute(): Promise<TResult>;
Returns
Promise<TResult>
Inherited from
redo()
redo(): Promise<void>;
Returns
Promise<void>
Inherited from
undo()
undo(): Promise<void>;
Returns
Promise<void>