@univerjssheetsindexclassesWorksheetpermissionservice

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


Class: WorksheetPermissionService

Extends

Constructors

new WorksheetPermissionService()

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

Parameters

ParameterType
_permissionServiceIPermissionService
_univerInstanceServiceIUniverInstanceService
_injectorInjector
_worksheetProtectionRuleModelWorksheetProtectionRuleModel
_worksheetProtectionPointRuleModelWorksheetProtectionPointModel
_resourceManagerServiceIResourceManagerService
_rangeProtectionRuleModelRangeProtectionRuleModel
_logServiceILogService

Returns

WorksheetPermissionService

Overrides

RxDisposable.constructor

Defined in

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

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
_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:117

Methods

dispose()

dispose(): void

Returns

void

Inherited from

RxDisposable.dispose

Defined in

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


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

Defined in

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


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

RxDisposable.ensureNotDisposed

Defined in

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