Skip to main content

UpdateSurfacesCommand

Classes​

UpdateSurfacesCommand​

Extends​

Constructors​

Constructor​
new UpdateSurfacesCommand(
productHandler,
commandManager,
viewer,
variableItemsHelper,
userChangesService,
historyArgs,
args): UpdateSurfacesCommand;
Parameters​
ParameterType
productHandlerProductHandler
commandManagerCommandManager
viewerViewer
variableItemsHelperVariableItemHelper
userChangesServiceUserChangesService
historyArgsIHistoryArgs
argsIUpdateSurfaceOptions<Product>
Returns​

UpdateSurfacesCommand

Overrides​

BaseProductCommand.constructor

Methods​

execute()​
execute(): Promise<void>;
Returns​

Promise<void>

Inherited from​

BaseProductCommand.execute

redo()​
redo(): Promise<void>;
Returns​

Promise<void>

Inherited from​

BaseProductCommand.redo

undo()​
undo(): Promise<void>;
Returns​

Promise<void>

Inherited from​

BaseProductCommand.undo

updateSurface()​
updateSurface(
oldSurface,
newSurface,
options): void;
Parameters​
ParameterType
oldSurfaceSurface
newSurfaceSurface
optionsISetPrintAreasOptions
Returns​

void

updateSurfaces()​
updateSurfaces(params): Promise<void>;
Parameters​
ParameterType
paramsIUpdateSurfaceOptions<Product>
Returns​

Promise<void>

Was this page helpful?