Skip to content

API / geotoolkit / widgets / sync / SyncOperationRegistry / SyncOperationRegistry

Class: SyncOperationRegistry

sync.SyncOperationRegistry.SyncOperationRegistry

Define a registry for synchronization operations.

Table of contents

Constructors
  • [new SyncOperationRegistry()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.widgets-1.sync.syncoperationregistry.syncoperationregistry.md#new syncoperationregistry())
Methods

Contents

Constructors

new SyncOperationRegistry()

• new SyncOperationRegistry()

Methods

getOperation

▸ getOperation(name, type?): SyncOperation

Return registered operation

Parameters

Name Type Description
namestringname of operation
Optional typestringtype of object to apply operation

Returns

SyncOperation


registerOperation

▸ registerOperation(operation, type?): void

Register operation

Parameters

Name Type Description
operationSyncOperationoperation of synchronization
Optional typestringtype of the object

Returns

void


getInstance

▸ Static getInstance(): SyncOperationRegistry

Return instance of the registry

Returns

SyncOperationRegistry

registry