API Reference
@univerjs
@univerjs/sheets
classes
Workbookpermissionservice

@univerjs/sheets v0.4.2Docs


Class: WorkbookPermissionService

Extends

Constructors

new WorkbookPermissionService()

new WorkbookPermissionService(
   _permissionService, 
   _univerInstanceService, 
   _rangeProtectionRuleModel, 
   _worksheetProtectionRuleModel, 
   _worksheetProtectionPointModel): WorkbookPermissionService

Parameters

ParameterType
_permissionServiceIPermissionService
_univerInstanceServiceIUniverInstanceService
_rangeProtectionRuleModelRangeProtectionRuleModel
_worksheetProtectionRuleModelWorksheetProtectionRuleModel
_worksheetProtectionPointModelWorksheetProtectionPointModel

Returns

WorkbookPermissionService

Overrides

Disposable.constructor

Defined in

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

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

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


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

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


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

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


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