@univerjs/sheets v0.4.2 • Docs
Class: WorksheetPermissionService
Extends
Constructors
new WorksheetPermissionService()
new WorksheetPermissionService(
_permissionService,
_univerInstanceService,
_injector,
_worksheetProtectionRuleModel,
_worksheetProtectionPointRuleModel,
_resourceManagerService,
_rangeProtectionRuleModel): WorksheetPermissionService
Parameters
Parameter | Type |
---|---|
_permissionService | IPermissionService |
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
_worksheetProtectionRuleModel | WorksheetProtectionRuleModel |
_worksheetProtectionPointRuleModel | WorksheetProtectionPointModel |
_resourceManagerService | IResourceManagerService |
_rangeProtectionRuleModel | RangeProtectionRuleModel |
Returns
Overrides
Defined in
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
_injector | readonly | Injector | undefined | - | packages/sheets/src/services/permission/worksheet-permission/worksheet-permission.service.ts:37 (opens in a new tab) |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | packages/core/src/shared/lifecycle.ts:117 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:119 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)