@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Class: SheetPermissionInterceptorBaseController
Extends
Constructors
new SheetPermissionInterceptorBaseController()
new SheetPermissionInterceptorBaseController(
_commandService,
_univerInstanceService,
_permissionService,
_selectionManagerService,
_dialogService,
_rangeProtectionRuleModel,
_worksheetProtectionRuleModel,
_autoFillService,
_localeService,
_lexerTreeBuilder,
_contextService,
_definedNamesService): SheetPermissionInterceptorBaseController
Parameters
Parameter | Type |
---|---|
_commandService | ICommandService |
_univerInstanceService | IUniverInstanceService |
_permissionService | IPermissionService |
_selectionManagerService | SheetsSelectionsService |
_dialogService | IDialogService |
_rangeProtectionRuleModel | RangeProtectionRuleModel |
_worksheetProtectionRuleModel | WorksheetProtectionRuleModel |
_autoFillService | IAutoFillService |
_localeService | LocaleService |
_lexerTreeBuilder | LexerTreeBuilder |
_contextService | IContextService |
_definedNamesService | IDefinedNamesService |
Returns
SheetPermissionInterceptorBaseController
Overrides
Defined in
submodules/univer/packages/sheets-ui/src/controllers/permission/sheet-permission-interceptor-base.controller.ts:47
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 |
disposableCollection | public | DisposableCollection | undefined | - | submodules/univer/packages/sheets-ui/src/controllers/permission/sheet-permission-interceptor-base.controller.ts:45 |
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
haveNotPermissionHandle()
haveNotPermissionHandle(errorMsg): void
Parameters
Parameter | Type |
---|---|
errorMsg | string |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/controllers/permission/sheet-permission-interceptor-base.controller.ts:65
permissionCheckWithoutRange()
permissionCheckWithoutRange(permissionTypes): boolean
Parameters
Parameter | Type |
---|---|
permissionTypes | IPermissionTypes |
Returns
boolean
Defined in
submodules/univer/packages/sheets-ui/src/controllers/permission/sheet-permission-interceptor-base.controller.ts:383
permissionCheckWithRanges()
permissionCheckWithRanges(
permissionTypes,
selectionRanges?,
unitId?,
subUnitId?): boolean
Parameters
Parameter | Type |
---|---|
permissionTypes | IPermissionTypes |
selectionRanges ? | IRange [] |
unitId ? | string |
subUnitId ? | string |
Returns
boolean
Defined in
submodules/univer/packages/sheets-ui/src/controllers/permission/sheet-permission-interceptor-base.controller.ts:437