Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vipera-npm-registry / motif-web-admin-core   js

Repository URL to install this package:

Version: 0.3.1 

/ lib / sections / RESTManager / components / rest-manager-section-component.d.ts

import { Domain, Application } from '@wa-motif-open-api/platform-service';
import { OnInit, OnDestroy } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { RESTCatalogComponent, RESTCatalogNodeSelectionEvent, RESTCatalogNodeCommandEvent, RESTCatalogDataErrorEvent } from './rest-catalog-component/rest-catalog-component';
import { RESTCatalogEditorComponent } from './rest-catalog-editor/rest-catalog-editor-component';
import { RESTContextDialogComponent, RESTContextDialogResult } from './dialogs/new-context-dialog/rest-context-dialog-component';
import { WCNotificationCenter } from 'web-console-ui-kit';
import { WCStatsInfoModel } from '../../../components/Stats/stats-info-component';
import { RESTContextCatalogService } from '../../../services/RESTContextCatalogService';
export declare class RESTManagerSectionComponent implements OnInit, OnDestroy {
    private logger;
    private restCatalogService;
    private notificationCenter;
    restCatalogSelector: RESTCatalogComponent;
    restCatalogEditor: RESTCatalogEditorComponent;
    contextEditDialog: RESTContextDialogComponent;
    selectedDomain: Domain;
    _selectedApplication: Application;
    private _subHandler;
    statsModel: WCStatsInfoModel;
    constructor(logger: NGXLogger, restCatalogService: RESTContextCatalogService, notificationCenter: WCNotificationCenter);
    /**
     * Angular ngOnInit
     */
    ngOnInit(): void;
    ngOnDestroy(): void;
    freeMem(): void;
    onRefreshClicked(): void;
    private clearStatsInfo;
    private refreshCatalog;
    onDomainSelectionClear(event: any): void;
    onApplicationSelectionClear(event: any): void;
    /**
     * Set the selcted application
     */
    selectedApplication: Application;
    private rebuildStatsInfo;
    onCatalogDataReload(event: any): void;
    onCatalogDataReloadError(event: RESTCatalogDataErrorEvent): void;
    onChangesSaved(event: any): void;
    onFilterChange(event: Event): void;
    nodeSelect(nodeEvent: RESTCatalogNodeSelectionEvent): void;
    onAddRESTContextPressed(): void;
    readonly canAddNewContext: boolean;
    doCreateRESTContext(event: RESTContextDialogResult): void;
    doUpdateRESTContext(event: RESTContextDialogResult): void;
    doToggleContextStatus(domain: string, application: string, contextName: string, url: string, enabled: boolean): void;
    doDeleteContext(domain: string, application: string, contextName: string): void;
    onDialogConfirmation(event: RESTContextDialogResult): void;
    onNodeCommand(command: RESTCatalogNodeCommandEvent): void;
}