Last updated

API / geotoolkit / widgets / sync / SyncOperationRegistry / SyncOperationRegistry

Class: SyncOperationRegistry

sync.SyncOperationRegistry.SyncOperationRegistry

Define a registry for synchronization operations.

Table of contents

Constructors
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