public abstract class DataSetEditorWorkflow<T extends org.dashbuilder.dataset.def.DataSetDef> extends Object implements com.google.gwt.user.client.ui.IsWidget
Data Set Editor workflow presenter.
Modifier and Type | Class and Description |
---|---|
static interface |
DataSetEditorWorkflow.TestDataSetCallback |
static interface |
DataSetEditorWorkflow.View |
Modifier and Type | Field and Description |
---|---|
protected org.jboss.errai.ioc.client.container.SyncBeanManager |
beanManager
-------------- CDI Injections --------------
|
protected Command |
cancelButtonCommand |
protected javax.enterprise.event.Event<CancelRequestEvent> |
cancelRequestEvent |
protected DataSetClientServices |
clientServices |
protected T |
dataSetDef
-------------- Private class members
|
protected Command |
flushCommand |
protected Command |
saveButtonCommand |
protected javax.enterprise.event.Event<SaveRequestEvent> |
saveRequestEvent |
protected Command |
stepValidator |
protected Command |
testButtonCommand |
protected javax.enterprise.event.Event<TestDataSetRequestEvent> |
testDataSetEvent |
protected DataSetValidatorProvider |
validatorProvider |
DataSetEditorWorkflow.View |
view |
protected Collection<javax.validation.ConstraintViolation<?>> |
violations |
Constructor and Description |
---|
DataSetEditorWorkflow(DataSetClientServices clientServices,
DataSetValidatorProvider validatorProvider,
org.jboss.errai.ioc.client.container.SyncBeanManager beanManager,
javax.enterprise.event.Event<SaveRequestEvent> saveRequestEvent,
javax.enterprise.event.Event<TestDataSetRequestEvent> testDataSetEvent,
javax.enterprise.event.Event<CancelRequestEvent> cancelRequestEvent,
DataSetEditorWorkflow.View view) |
Modifier and Type | Method and Description |
---|---|
protected void |
addViolations(Iterable<javax.validation.ConstraintViolation<?>> _violations) |
protected void |
afterFlush() |
com.google.gwt.user.client.ui.Widget |
asWidget() |
protected void |
checkDataSetDefNotNull() |
protected void |
checkDataSetDefNotNull(T def) |
DataSetEditorWorkflow |
clear() |
DataSetEditorWorkflow |
clearButtons() |
protected void |
dispose() |
DataSetEditorWorkflow |
flush() |
void |
flush(com.google.gwt.editor.client.SimpleBeanEditorDriver driver) |
T |
getDataSetDef() |
boolean |
hasErrors() |
void |
init() |
DataSetEditorWorkflow |
showBackButton() |
DataSetEditorWorkflow |
showNextButton() |
DataSetEditorWorkflow |
showTestButton() |
void |
testDataSet(DataSetEditorWorkflow.TestDataSetCallback testDataSetCallback)
Test the data set connection and obtain the preview result.
|
protected org.jboss.errai.ioc.client.container.SyncBeanManager beanManager
protected DataSetClientServices clientServices
protected DataSetValidatorProvider validatorProvider
protected javax.enterprise.event.Event<SaveRequestEvent> saveRequestEvent
protected javax.enterprise.event.Event<TestDataSetRequestEvent> testDataSetEvent
protected javax.enterprise.event.Event<CancelRequestEvent> cancelRequestEvent
public DataSetEditorWorkflow.View view
protected T extends org.dashbuilder.dataset.def.DataSetDef dataSetDef
protected Collection<javax.validation.ConstraintViolation<?>> violations
protected Command flushCommand
protected Command stepValidator
protected final Command testButtonCommand
protected final Command saveButtonCommand
protected final Command cancelButtonCommand
@Inject public DataSetEditorWorkflow(DataSetClientServices clientServices, DataSetValidatorProvider validatorProvider, org.jboss.errai.ioc.client.container.SyncBeanManager beanManager, javax.enterprise.event.Event<SaveRequestEvent> saveRequestEvent, javax.enterprise.event.Event<TestDataSetRequestEvent> testDataSetEvent, javax.enterprise.event.Event<CancelRequestEvent> cancelRequestEvent, DataSetEditorWorkflow.View view)
public void init()
public void testDataSet(DataSetEditorWorkflow.TestDataSetCallback testDataSetCallback)
Test the data set connection and obtain the preview result.
public DataSetEditorWorkflow flush()
public DataSetEditorWorkflow showNextButton()
public DataSetEditorWorkflow showTestButton()
public DataSetEditorWorkflow showBackButton()
public DataSetEditorWorkflow clearButtons()
public boolean hasErrors()
public T getDataSetDef()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public void flush(com.google.gwt.editor.client.SimpleBeanEditorDriver driver)
protected void afterFlush()
protected void dispose()
protected void addViolations(Iterable<javax.validation.ConstraintViolation<?>> _violations)
public DataSetEditorWorkflow clear()
protected void checkDataSetDefNotNull()
protected void checkDataSetDefNotNull(T def)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.