API / geotoolkit / widgets / sync / SyncOperationRegistry / SyncOperationRegistry
sync.SyncOperationRegistry.SyncOperationRegistry
Define a registry for synchronization operations.
Constructors
Methods
▸ getOperation(name, type?): SyncOperation
Return registered operation
| Name | Type | Description |
|---|---|---|
name | string | name of operation |
Optional type | string | type of object to apply operation |
▸ registerOperation(operation, type?): void
Register operation
| Name | Type | Description |
|---|---|---|
operation | SyncOperation | operation of synchronization |
Optional type | string | type of the object |
void
▸ Static getInstance(): SyncOperationRegistry
Return instance of the registry
registry