C# Class Kentico.ADImportService.ChangesDispatcher

Class for dispatching changes to Kentico via REST.
Inheritance: IDispatcher, IDisposable
Mostrar archivo Open project: Kentico/ADImportService Class Usage Examples

Private Properties

Property Type Description
HandleGroup void
HandleUser void
LoadDirecotryReplica void
LogError void
SaveDirecotryReplica void
SendChanges void

Public Methods

Method Description
AddToQueue ( List entries ) : void

Enqueue changes.

ChangesDispatcher ( ISender sender, List userBindings, List groupBindings, Logger logger ) : System

Basic constructor.

Dispose ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
HandleGroup ( System.DirectoryServices.Protocols.SearchResultEntry entry ) : void

Handle single role.

HandleUser ( System.DirectoryServices.Protocols.SearchResultEntry entry ) : void

Handle single user.

LoadDirecotryReplica ( ) : void

Load directory replica into memory.

LogError ( string message, Exception ex ) : void
SaveDirecotryReplica ( ) : void
SendChanges ( ) : void

Send changes to CMS one-by-one.

Method Details

AddToQueue() public method

Enqueue changes.
public AddToQueue ( List entries ) : void
entries List Changes to process.
return void

ChangesDispatcher() public method

Basic constructor.
public ChangesDispatcher ( ISender sender, List userBindings, List groupBindings, Logger logger ) : System
sender ISender Sender for REST operations.
userBindings List Custom user attribute bindings.
groupBindings List Custom role attribute bindings.
logger Logger Errors and events logger.
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void