@univerjs/sheets v0.5.0-beta.1 • Docs
Class: WorksheetPermissionService
Extends
Constructors
new WorksheetPermissionService()
new WorksheetPermissionService(
_permissionService,
_univerInstanceService,
_injector,
_worksheetProtectionRuleModel,
_worksheetProtectionPointRuleModel,
_resourceManagerService,
_rangeProtectionRuleModel,
_logService): WorksheetPermissionService
Parameters
Parameter | Type |
---|---|
_permissionService | IPermissionService |
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
_worksheetProtectionRuleModel | WorksheetProtectionRuleModel |
_worksheetProtectionPointRuleModel | WorksheetProtectionPointModel |
_resourceManagerService | IResourceManagerService |
_rangeProtectionRuleModel | RangeProtectionRuleModel |
_logService | ILogService |
Returns
Overrides
Defined in
submodules/univer/packages/sheets/src/services/permission/worksheet-permission/worksheet-permission.service.ts:34
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
_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:117 |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:119
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
RxDisposable
.ensureNotDisposed
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100