@omnia/foundation
Version:
Provide omnia foundation typings and tooling work on client side for omnia extension
18 lines (17 loc) • 1.18 kB
TypeScript
import { AjaxService } from "./AjaxService";
import { Shared } from "../../../models";
export declare class PortalWebInfoService {
private ajaxService;
constructor(ajaxService: AjaxService);
getAllWebUrls: (renderer: (n: string[]) => any, sourceUrl: string) => void;
getLanguages: (renderer: (n: Shared.ILanguage[]) => any) => void;
getTimeZones: (renderer: (n: Shared.ITimeZone[]) => any) => void;
getManagedPaths: (renderer: (n: string[]) => any) => void;
getWebTitle: (webUrl: string, renderer: (n: string) => any) => void;
getKeywordsTermSetId: (renderer: (n: string) => any) => void;
getSubWeb: (siteCollectionUrl: string, webUrl: string, checkRecycleBin: boolean, renderer: (n: Shared.IPortalWeb) => any) => void;
getSiteCollection: (siteCollectionUrl: string, checkRecycleBin: boolean, renderer: (n: Shared.IPortalWeb) => any) => void;
removeDeletedWeb: (id: string, renderer: (isSuccess: boolean) => any) => void;
removeDeletedSiteCollection: (siteCollectionUrl: string, renderer: (isSuccess: boolean) => any) => void;
isWebExist: (targetUrl: string, renderer: (isExist: boolean) => any) => void;
}