C# Class Atomia.Provisioning.Modules.Folders.Commands.FoldersCommand

Command which handles Template instances.
Inheritance: ModuleCommandSimpleBase
Datei anzeigen Open project: atomia/sample-plugins

Public Methods

Method Description
CallOperation ( string operationName, string operationArgument ) : string

Calls the operation.

Execute ( ) : void

Executes this command.

FoldersCommand ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System

Initializes a new instance of the InstanceCommand class.

Undo ( ) : void

Undoes this command.

Protected Methods

Method Description
ExecuteAdd ( ModuleService moduleService ) : void

Executes the add.

ExecuteModify ( ModuleService oldService, ModuleService newService ) : void

Executes the modify.

ExecuteRemove ( ModuleService moduleService ) : void

Executes the remove.

ValidateService ( ModuleService moduleService ) : void

Validates the service.

Method Details

CallOperation() public method

Calls the operation.
public CallOperation ( string operationName, string operationArgument ) : string
operationName string Name of the operation.
operationArgument string The operation argument.
return string

Execute() public method

Executes this command.
public Execute ( ) : void
return void

ExecuteAdd() protected method

Executes the add.
protected ExecuteAdd ( ModuleService moduleService ) : void
moduleService ModuleService The module service.
return void

ExecuteModify() protected method

Executes the modify.
protected ExecuteModify ( ModuleService oldService, ModuleService newService ) : void
oldService ModuleService The old service.
newService ModuleService The new service.
return void

ExecuteRemove() protected method

Executes the remove.
protected ExecuteRemove ( ModuleService moduleService ) : void
moduleService ModuleService The module service.
return void

FoldersCommand() public method

Initializes a new instance of the InstanceCommand class.
public FoldersCommand ( ModuleService service, ResourceDescription resource, ModuleService newServiceSettings, ModuleCommandType commandType, int listDepth ) : System
service ModuleService The service.
resource ResourceDescription The resource.
newServiceSettings ModuleService The new service settings.
commandType ModuleCommandType Type of the command.
listDepth int The list depth.
return System

Undo() public method

Undoes this command.
public Undo ( ) : void
return void

ValidateService() protected method

Validates the service.
protected ValidateService ( ModuleService moduleService ) : void
moduleService ModuleService The module service.
return void