Package org.dashbuilder.client
Class RuntimeClientLoader
- java.lang.Object
-
- org.dashbuilder.client.RuntimeClientLoader
-
@ApplicationScoped public class RuntimeClientLoader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringIMPORT_ID_PARAM
-
Constructor Summary
Constructors Constructor Description RuntimeClientLoader()RuntimeClientLoader(org.jboss.errai.common.client.api.Caller<RuntimeModelService> runtimeModelServiceCaller, RuntimePerspectiveGenerator perspectiveEditorGenerator, RuntimePerspectivePluginManager runtimePerspectivePluginManager, org.dashbuilder.client.navigation.NavigationManager navigationManager, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView loading)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetImportId()voidload(Consumer<RuntimeServiceResponse> responseConsumer, BiConsumer<Object,Throwable> error)voidloadModel(String importId, Consumer<RuntimeModel> modelLoaded, org.uberfire.mvp.Command emptyModel, BiConsumer<Object,Throwable> error)voidloadModel(Consumer<RuntimeModel> modelLoaded, org.uberfire.mvp.Command emptyModel, BiConsumer<Object,Throwable> error)
-
-
-
Field Detail
-
IMPORT_ID_PARAM
public static final String IMPORT_ID_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RuntimeClientLoader
public RuntimeClientLoader()
-
RuntimeClientLoader
@Inject public RuntimeClientLoader(org.jboss.errai.common.client.api.Caller<RuntimeModelService> runtimeModelServiceCaller, RuntimePerspectiveGenerator perspectiveEditorGenerator, RuntimePerspectivePluginManager runtimePerspectivePluginManager, org.dashbuilder.client.navigation.NavigationManager navigationManager, org.uberfire.ext.widgets.common.client.common.BusyIndicatorView loading)
-
-
Method Detail
-
load
public void load(Consumer<RuntimeServiceResponse> responseConsumer, BiConsumer<Object,Throwable> error)
-
loadModel
public void loadModel(Consumer<RuntimeModel> modelLoaded, org.uberfire.mvp.Command emptyModel, BiConsumer<Object,Throwable> error)
-
loadModel
public void loadModel(String importId, Consumer<RuntimeModel> modelLoaded, org.uberfire.mvp.Command emptyModel, BiConsumer<Object,Throwable> error)
-
getImportId
public String getImportId()
-
-