interface UmbWorkspaceDataManager<ModelType> {
    get controllerAlias(): UmbControllerAlias;
    clear(): void;
    createObservablePartOfCurrent<ReturnType>(
        mappingFunction: MappingFunction<undefined | ModelType, ReturnType>,
    ): Observable<ReturnType>;
    createObservablePartOfPersisted<ReturnType>(
        mappingFunction: MappingFunction<undefined | ModelType, ReturnType>,
    ): Observable<ReturnType>;
    destroy(): void;
    getCurrent(): undefined | ModelType;
    getHasUnpersistedChanges(): boolean;
    getPersisted(): undefined | ModelType;
    hostConnected(): void;
    hostDisconnected(): void;
    resetCurrent(): void;
    setCurrent(data: undefined | ModelType): void;
    setPersisted(data: undefined | ModelType): void;
    updateCurrent(partialData: Partial<ModelType>): void;
    updatePersisted(partialData: Partial<ModelType>): void;
}

Type Parameters

  • ModelType

Hierarchy (View Summary, Expand)

Implemented by

Accessors

Methods

MMNEPVFCICPMFPCPTTAAATR