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
Parameter | Type |
---|---|
_permissionService | IPermissionService |
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
_worksheetProtectionRuleModel | WorksheetProtectionRuleModel |
_worksheetProtectionPointRuleModel | WorksheetProtectionPointModel |
_resourceManagerService | IResourceManagerService |
_rangeProtectionRuleModel | RangeProtectionRuleModel |
_logService | ILogService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
_injector | readonly | Injector | undefined | - | submodules/univer/packages/sheets/src/services/permission/worksheet-permission/worksheet-permission.service.ts:37 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void