Class DataSetBasicAttributesWorkflow<T extends org.dashbuilder.dataset.def.DataSetDef,E extends com.google.gwt.editor.client.Editor<? super T>>
- java.lang.Object
-
- org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow<T>
-
- org.dashbuilder.client.widgets.dataset.editor.workflow.create.DataSetBasicAttributesWorkflow<T,E>
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget
- Direct Known Subclasses:
BeanDataSetBasicAttributesWorkflow,CSVDataSetBasicAttributesWorkflow,ElasticSearchDataSetBasicAttributesWorkflow,KafkaDataSetBasicAttributesWorkflow,PrometheusDataSetBasicAttributesWorkflow,SQLDataSetBasicAttributesWorkflow
public abstract class DataSetBasicAttributesWorkflow<T extends org.dashbuilder.dataset.def.DataSetDef,E extends com.google.gwt.editor.client.Editor<? super T>> extends DataSetEditorWorkflow<T>
Data Set Editor workflow presenter for creating a data set definition instance.
GWT editors and drivers must be type safe as they're generated during the deferred binding at compile time, so this class must be extended using concretes types for each driver & editor.
- Since:
- 0.4.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow
DataSetEditorWorkflow.TestDataSetCallback, DataSetEditorWorkflow.View
-
-
Field Summary
-
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 DataSetBasicAttributesWorkflow(org.dashbuilder.dataset.client.DataSetClientServices clientServices, org.dashbuilder.validations.DataSetValidatorProvider validatorProvider, org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, DataSetDefBasicAttributesEditor basicAttributesEditor, javax.enterprise.event.Event<SaveRequestEvent> saveRequestEvent, javax.enterprise.event.Event<TestDataSetRequestEvent> testDataSetEvent, javax.enterprise.event.Event<CancelRequestEvent> cancelRequestEvent, DataSetEditorWorkflow.View view)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DataSetEditorWorkflowbasicAttributesEdition()DataSetBasicAttributesWorkflowedit(T def)protected abstract Class<? extends com.google.gwt.editor.client.SimpleBeanEditorDriver<T,E>>getDriverClass()protected abstract Class<? extends E>getEditorClass()voidinit()protected Iterable<javax.validation.ConstraintViolation<?>>validate()-
Methods inherited from class org.dashbuilder.client.widgets.dataset.editor.workflow.DataSetEditorWorkflow
addViolations, afterFlush, asWidget, checkDataSetDefNotNull, checkDataSetDefNotNull, clear, clearButtons, dispose, flush, flush, getDataSetDef, hasErrors, showBackButton, showNextButton, showTestButton, testDataSet
-
-
-
-
Constructor Detail
-
DataSetBasicAttributesWorkflow
@Inject public DataSetBasicAttributesWorkflow(org.dashbuilder.dataset.client.DataSetClientServices clientServices, org.dashbuilder.validations.DataSetValidatorProvider validatorProvider, org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, DataSetDefBasicAttributesEditor basicAttributesEditor, javax.enterprise.event.Event<SaveRequestEvent> saveRequestEvent, javax.enterprise.event.Event<TestDataSetRequestEvent> testDataSetEvent, javax.enterprise.event.Event<CancelRequestEvent> cancelRequestEvent, DataSetEditorWorkflow.View view)
-
-
Method Detail
-
init
@PostConstruct public void init()
- Overrides:
initin classDataSetEditorWorkflow<T extends org.dashbuilder.dataset.def.DataSetDef>
-
getDriverClass
protected abstract Class<? extends com.google.gwt.editor.client.SimpleBeanEditorDriver<T,E>> getDriverClass()
-
validate
protected Iterable<javax.validation.ConstraintViolation<?>> validate()
-
edit
public DataSetBasicAttributesWorkflow edit(T def)
-
basicAttributesEdition
public DataSetEditorWorkflow basicAttributesEdition()
-
-