Back to Website
Show / Hide Table of Contents

Class SetImageMetadataCommand

Inheritance
BaseItemsCommand<ISetImageMetadataCommandArgs, void>
SetImageMetadataCommand
Package: @aurigma/design-atoms

Constructors

(constructor)(productHandler, historyArgs, args, _variableItemHelper, _commandManager, _eventManager)

Constructs a new instance of the SetImageMetadataCommand class

Declaration
constructor(productHandler: ProductHandler, historyArgs: IHistoryArgs, args: ISetImageMetadataCommandArgs, _variableItemHelper: VariableItemHelper, _commandManager: ICommandManager, _eventManager: EventManager);
Parameters
Type Name Description
ProductHandler productHandler
IHistoryArgs historyArgs
ISetImageMetadataCommandArgs args
VariableItemHelper _variableItemHelper
ICommandManager _commandManager
EventManager _eventManager

Methods

_executeCommandBody()

Declaration
_executeCommandBody(): Promise<void>;
Returns
Type Description
Promise<void>

redo()

Declaration
redo(): Promise<void>;
Returns
Type Description
Promise<void>

setDataToImage(data, imageItem)

Declaration
static setDataToImage(data: ImageMetaData, imageItem: ImageItem): void;
Parameters
Type Name Description
ImageMetaData data
ImageItem imageItem
Returns
Type Description
void

undo()

Declaration
undo(): Promise<void>;
Returns
Type Description
Promise<void>
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback