C# Class Kentico.ADImportService.ChangesDispatcher

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

Private Properties

Свойство Type Description
HandleGroup void
HandleUser void
LoadDirecotryReplica void
LogError void
SaveDirecotryReplica void
SendChanges void

Méthodes publiques

Méthode Description
AddToQueue ( List entries ) : void

Enqueue changes.

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

Basic constructor.

Dispose ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode 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 méthode

Enqueue changes.
public AddToQueue ( List entries ) : void
entries List Changes to process.
Résultat void

ChangesDispatcher() public méthode

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.
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void