API Reference
@univerjs
@univerjs/sheets
classes
Worksheetpermissionservice

@univerjs/sheets v0.4.2Docs


Class: WorksheetPermissionService

Extends

Constructors

new WorksheetPermissionService()

new WorksheetPermissionService(
   _permissionService, 
   _univerInstanceService, 
   _injector, 
   _worksheetProtectionRuleModel, 
   _worksheetProtectionPointRuleModel, 
   _resourceManagerService, 
   _rangeProtectionRuleModel): WorksheetPermissionService

Parameters

ParameterType
_permissionServiceIPermissionService
_univerInstanceServiceIUniverInstanceService
_injectorInjector
_worksheetProtectionRuleModelWorksheetProtectionRuleModel
_worksheetProtectionPointRuleModelWorksheetProtectionPointModel
_resourceManagerServiceIResourceManagerService
_rangeProtectionRuleModelRangeProtectionRuleModel

Returns

WorksheetPermissionService

Overrides

RxDisposable.constructor

Defined in

packages/sheets/src/services/permission/worksheet-permission/worksheet-permission.service.ts:34 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
_injectorreadonlyInjectorundefined-packages/sheets/src/services/permission/worksheet-permission/worksheet-permission.service.ts:37 (opens in a new tab)
dispose$protectedSubject<void>undefinedRxDisposable.dispose$packages/core/src/shared/lifecycle.ts:117 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Inherited from

RxDisposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:119 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

RxDisposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.