Class RemoteDataSetEditWorkflow
- java.lang.Object
-
- org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow<T>
-
- org.dashbuilder.client.widgets.dataset.editor.workflow.edit.DataSetEditWorkflow<org.jbpm.workbench.ks.integration.RemoteDataSetDef,RemoteDataSetDefEditor>
-
- org.jbpm.dashboard.dataset.editor.workflow.RemoteDataSetEditWorkflow
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget
@Dependent public class RemoteDataSetEditWorkflow extends org.dashbuilder.client.widgets.dataset.editor.workflow.edit.DataSetEditWorkflow<org.jbpm.workbench.ks.integration.RemoteDataSetDef,RemoteDataSetDefEditor>
SQL Data Set Editor workflow presenter for editing a data set definition instance.
This class is the main entry point for editing an existing data set definition instance. It links the gwt editors with the given driver to perform flushing and validations.
- Since:
- 0.4.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow
org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow.TestDataSetCallback, org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow.View
-
-
Field Summary
-
Fields inherited from class org.dashbuilder.client.widgets.dataset.editor.workflow.edit.DataSetEditWorkflow
driver, editor
-
Fields inherited from class org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow
beanManager, cancelButtonCommand, cancelRequestEvent, clientServices, dataSetDef, flushCommand, saveButtonCommand, saveRequestEvent, stepValidator, testButtonCommand, testDataSetEvent, validatorProvider, view, violations
-
-
Constructor Summary
Constructors Constructor Description RemoteDataSetEditWorkflow(org.dashbuilder.dataset.client.DataSetClientServices clientServices, org.dashbuilder.validations.DataSetValidatorProvider validatorProvider, org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, javax.enterprise.event.Event<org.dashbuilder.client.widgets.dataset.event.SaveRequestEvent> saveRequestEvent, javax.enterprise.event.Event<org.dashbuilder.client.widgets.dataset.event.TestDataSetRequestEvent> testDataSetEvent, javax.enterprise.event.Event<org.dashbuilder.client.widgets.dataset.event.CancelRequestEvent> cancelRequestEvent, org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<? extends com.google.gwt.editor.client.SimpleBeanEditorDriver<org.jbpm.workbench.ks.integration.RemoteDataSetDef,RemoteDataSetDefEditor>>
getDriverClass()
protected Class<? extends RemoteDataSetDefEditor>
getEditorClass()
void
testDataSet(org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow.TestDataSetCallback testDataSetCallback)
protected Iterable<javax.validation.ConstraintViolation<?>>
validate(boolean isCacheEnabled, boolean isPushEnabled, boolean isRefreshEnabled)
-
Methods inherited from class org.dashbuilder.client.widgets.dataset.editor.workflow.edit.DataSetEditWorkflow
afterFlush, dispose, edit, getEditor, getWidget, init, showAdvancedTab, showConfigurationTab, showPreviewTab
-
-
-
-
Constructor Detail
-
RemoteDataSetEditWorkflow
@Inject public RemoteDataSetEditWorkflow(org.dashbuilder.dataset.client.DataSetClientServices clientServices, org.dashbuilder.validations.DataSetValidatorProvider validatorProvider, org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, javax.enterprise.event.Event<org.dashbuilder.client.widgets.dataset.event.SaveRequestEvent> saveRequestEvent, javax.enterprise.event.Event<org.dashbuilder.client.widgets.dataset.event.TestDataSetRequestEvent> testDataSetEvent, javax.enterprise.event.Event<org.dashbuilder.client.widgets.dataset.event.CancelRequestEvent> cancelRequestEvent, org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow.View view)
-
-
Method Detail
-
testDataSet
public void testDataSet(org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow.TestDataSetCallback testDataSetCallback)
- Overrides:
testDataSet
in classorg.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow<org.jbpm.workbench.ks.integration.RemoteDataSetDef>
-
getDriverClass
protected Class<? extends com.google.gwt.editor.client.SimpleBeanEditorDriver<org.jbpm.workbench.ks.integration.RemoteDataSetDef,RemoteDataSetDefEditor>> getDriverClass()
- Specified by:
getDriverClass
in classorg.dashbuilder.client.widgets.dataset.editor.workflow.edit.DataSetEditWorkflow<org.jbpm.workbench.ks.integration.RemoteDataSetDef,RemoteDataSetDefEditor>
-
getEditorClass
protected Class<? extends RemoteDataSetDefEditor> getEditorClass()
- Specified by:
getEditorClass
in classorg.dashbuilder.client.widgets.dataset.editor.workflow.edit.DataSetEditWorkflow<org.jbpm.workbench.ks.integration.RemoteDataSetDef,RemoteDataSetDefEditor>
-
validate
protected Iterable<javax.validation.ConstraintViolation<?>> validate(boolean isCacheEnabled, boolean isPushEnabled, boolean isRefreshEnabled)
- Overrides:
validate
in classorg.dashbuilder.client.widgets.dataset.editor.workflow.edit.DataSetEditWorkflow<org.jbpm.workbench.ks.integration.RemoteDataSetDef,RemoteDataSetDefEditor>
-
-