@univerjssheetsindexclassesWorksheetpermissionservice

@univerjs/sheets v0.5.4


Class: WorksheetPermissionService

Defined in: submodules/univer/packages/sheets/src/services/permission/worksheet-permission/worksheet-permission.service.ts:33

Extends

Constructors

new WorksheetPermissionService()

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

Defined in: submodules/univer/packages/sheets/src/services/permission/worksheet-permission/worksheet-permission.service.ts:34

Parameters

ParameterType
_permissionServiceIPermissionService
_univerInstanceServiceIUniverInstanceService
_injectorInjector
_worksheetProtectionRuleModelWorksheetProtectionRuleModel
_worksheetProtectionPointRuleModelWorksheetProtectionPointModel
_resourceManagerServiceIResourceManagerService
_rangeProtectionRuleModelRangeProtectionRuleModel
_logServiceILogService

Returns

WorksheetPermissionService

Overrides

RxDisposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
_injectorreadonlyInjectorundefined-submodules/univer/packages/sheets/src/services/permission/worksheet-permission/worksheet-permission.service.ts:37
dispose$protectedSubject<void>undefinedRxDisposable.dispose$submodules/univer/packages/core/src/shared/lifecycle.ts:120

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:122

Returns

void

Inherited from

RxDisposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

RxDisposable.ensureNotDisposed