@univerjs/sheets v0.5.0-beta.1 • Docs
Class: WorkbookPermissionService
Extends
Constructors
new WorkbookPermissionService()
new WorkbookPermissionService(
_permissionService,
_univerInstanceService,
_rangeProtectionRuleModel,
_worksheetProtectionRuleModel,
_worksheetProtectionPointModel): WorkbookPermissionService
Parameters
Parameter | Type |
---|---|
_permissionService | IPermissionService |
_univerInstanceService | IUniverInstanceService |
_rangeProtectionRuleModel | RangeProtectionRuleModel |
_worksheetProtectionRuleModel | WorksheetProtectionRuleModel |
_worksheetProtectionPointModel | WorksheetProtectionPointModel |
Returns
Overrides
Defined in
submodules/univer/packages/sheets/src/services/permission/workbook-permission/workbook-permission.service.ts:26
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100