@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Class: SheetPermissionInitController
Extends
Constructors
new SheetPermissionInitController()
new SheetPermissionInitController(
_univerInstanceService,
_permissionService,
_authzIoService,
_rangeProtectionRuleModel,
_worksheetProtectionRuleModel,
_userManagerService,
_worksheetProtectionPointRuleModel,
_sheetInterceptorService,
_undoRedoService,
_commandService,
_rangeProtectionCache): SheetPermissionInitController
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
Defined in
submodules/univer/packages/sheets-ui/src/controllers/permission/sheet-permission-init.controller.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
initWorkbookPermissionChange()
initWorkbookPermissionChange(_unitId?): Promise<void>
Parameters
Parameter | Type |
---|---|
_unitId ? | string |
Returns
Promise
<void
>
Defined in
submodules/univer/packages/sheets-ui/src/controllers/permission/sheet-permission-init.controller.ts:142
refreshPermission()
refreshPermission(unitId, permissionId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
permissionId | string |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/controllers/permission/sheet-permission-init.controller.ts:337