Class DataSetEditorWorkflowFactory
- java.lang.Object
-
- org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflowFactory
-
@Dependent public class DataSetEditorWorkflowFactory extends Object
Main entry point for editing or creating a data set definition instance.
It provides the workflow beans for each driver & editor.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description DataSetEditorWorkflowFactory(org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, DataSetProviderTypeWorkflow providerTypeWorkflow, org.jboss.errai.ioc.client.api.ManagedInstance<DataSetEditorPlugin> dataSetEditorPlugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSetBasicAttributesWorkflowbasicAttributes(org.dashbuilder.dataprovider.DataSetProviderType type)Obtain the bean for creating (editing basic attributes to be able to perform a lookup) a data set definition for a given type.voiddispose(DataSetEditorWorkflow workflow)Dispose the given workflow instance.DataSetEditWorkflowedit(org.dashbuilder.dataprovider.DataSetProviderType type)Obtain the bean for editing a data set definition for a given type.DataSetProviderTypeWorkflowproviderType()Obtain the bean for editing the data set definition's provider type.
-
-
-
Constructor Detail
-
DataSetEditorWorkflowFactory
@Inject public DataSetEditorWorkflowFactory(org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, DataSetProviderTypeWorkflow providerTypeWorkflow, org.jboss.errai.ioc.client.api.ManagedInstance<DataSetEditorPlugin> dataSetEditorPlugin)
-
-
Method Detail
-
edit
public DataSetEditWorkflow edit(org.dashbuilder.dataprovider.DataSetProviderType type)
Obtain the bean for editing a data set definition for a given type.- Parameters:
type- The data set definition provider type to edit.- Returns:
- The workflow instance.
-
dispose
public void dispose(DataSetEditorWorkflow workflow)
Dispose the given workflow instance.
-
providerType
public DataSetProviderTypeWorkflow providerType()
Obtain the bean for editing the data set definition's provider type.- Returns:
- The workflow instance.
-
basicAttributes
public DataSetBasicAttributesWorkflow basicAttributes(org.dashbuilder.dataprovider.DataSetProviderType type)
Obtain the bean for creating (editing basic attributes to be able to perform a lookup) a data set definition for a given type.- Parameters:
type- The data set definition provider type to edit the basic attributes.- Returns:
- The workflow instance.
-
-