@univerjssheetsindexclassesRangeprotectionservice

@univerjs/sheets v0.5.0-beta.1Docs


Class: RangeProtectionService

Extends

Constructors

new RangeProtectionService()

new RangeProtectionService(
   _selectionProtectionRuleModel, 
   _permissionService, 
   _resourceManagerService, 
   _selectionProtectionCache, 
   _univerInstanceService): RangeProtectionService

Parameters

ParameterType
_selectionProtectionRuleModelRangeProtectionRuleModel
_permissionServiceIPermissionService
_resourceManagerServiceIResourceManagerService
_selectionProtectionCacheRangeProtectionCache
_univerInstanceServiceIUniverInstanceService

Returns

RangeProtectionService

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/sheets/src/services/permission/range-permission/range-protection.service.ts:30

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100