Class: SheetPermissionInitController
Defined in: submodules/univer/packages/sheets/src/controllers/permission/sheet-permission-init.controller.ts:36
Extends
Constructors
new SheetPermissionInitController()
new SheetPermissionInitController(
_univerInstanceService,
_permissionService,
_authzIoService,
_rangeProtectionRuleModel,
_worksheetProtectionRuleModel,
_userManagerService,
_worksheetProtectionPointRuleModel,
_sheetInterceptorService,
_undoRedoService,
_commandService,
_rangeProtectionCache): SheetPermissionInitController
Defined in: submodules/univer/packages/sheets/src/controllers/permission/sheet-permission-init.controller.ts:37
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_permissionService | IPermissionService |
_authzIoService | IAuthzIoService |
_rangeProtectionRuleModel | RangeProtectionRuleModel |
_worksheetProtectionRuleModel | WorksheetProtectionRuleModel |
_userManagerService | UserManagerService |
_worksheetProtectionPointRuleModel | WorksheetProtectionPointModel |
_sheetInterceptorService | SheetInterceptorService |
_undoRedoService | IUndoRedoService |
_commandService | ICommandService |
_rangeProtectionCache | RangeProtectionCache |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
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
Inherited from
initWorkbookPermissionChange()
initWorkbookPermissionChange(_unitId?): Promise<void>
Defined in: submodules/univer/packages/sheets/src/controllers/permission/sheet-permission-init.controller.ts:154
Parameters
Parameter | Type |
---|---|
_unitId ? | string |
Returns
Promise
<void
>
refreshPermission()
refreshPermission(unitId, permissionId): void
Defined in: submodules/univer/packages/sheets/src/controllers/permission/sheet-permission-init.controller.ts:350
Parameters
Parameter | Type |
---|---|
unitId | string |
permissionId | string |
Returns
void