Interface UmbVariantDatasetWorkspaceContext<VariantType>

interface UmbVariantDatasetWorkspaceContext<VariantType> {
    isNew: Observable<undefined | boolean>;
    routes: UmbWorkspaceRouteManager;
    splitView: UmbWorkspaceSplitViewManager;
    unique: Observable<undefined | UmbWorkspaceUniqueType>;
    variantOptions: Observable<UmbVariantOptionModel<VariantType>[]>;
    variants: Observable<VariantType[]>;
    workspaceAlias: string;
    createPropertyDatasetContext(host: UmbControllerHost, variantId?: UmbVariantId): UmbPropertyDatasetContext;
    destroy(): void;
    getEntityType(): string;
    getIsNew(): undefined | boolean;
    getName(variantId?: UmbVariantId): undefined | string;
    getPropertyValue<ReturnValue>(alias: string, variantId?: UmbVariantId): undefined | ReturnValue;
    getUnique(): undefined | UmbWorkspaceUniqueType;
    getVariant(variantId: UmbVariantId): undefined | VariantType;
    name(variantId?: UmbVariantId): Observable<string>;
    propertyValueByAlias<ReturnValue>(alias: string, variantId?: UmbVariantId): Promise<undefined | Observable<undefined | ReturnValue>>;
    requestSubmit(): Promise<void>;
    setName(name: string, variantId?: UmbVariantId): void;
    setPropertyValue(alias: string, value: unknown, variantId?: UmbVariantId): Promise<void>;
}

Type Parameters

Hierarchy (view full)

Properties

isNew: Observable<undefined | boolean>
unique: Observable<undefined | UmbWorkspaceUniqueType>
variants: Observable<VariantType[]>
workspaceAlias: string

Methods

""