public abstract class AbstractStartProcessFormDisplayer<S extends FormRenderingSettings> extends Object implements StartProcessFormDisplayer<S>
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_START_PROCESS |
protected FormDisplayerConfig<ProcessDefinitionKey,S> |
config |
protected Constants |
constants |
protected com.google.gwt.user.client.ui.FormPanel |
container |
protected org.gwtbootstrap3.client.ui.TextBox |
correlationKey |
protected String |
deploymentId |
protected org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter |
errorPopup |
protected com.google.gwt.user.client.ui.FlowPanel |
footerButtons |
protected com.google.gwt.user.client.ui.FlowPanel |
formContainer |
protected javax.enterprise.event.Event<NewProcessInstanceEvent> |
newProcessInstanceEvent |
protected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> |
notificationEvent |
protected Long |
parentProcessInstanceId |
protected String |
processDefId |
protected String |
processName |
protected org.jboss.errai.common.client.api.Caller<ProcessService> |
processService |
protected S |
renderingSettings |
protected String |
serverTemplateId |
Constructor and Description |
---|
AbstractStartProcessFormDisplayer() |
Modifier and Type | Method and Description |
---|---|
void |
addOnCloseCallback(org.uberfire.mvp.Command callback) |
void |
addOnRefreshCallback(org.uberfire.mvp.Command callback) |
protected void |
clearStatus() |
void |
close() |
com.google.gwt.user.client.ui.Panel |
getContainer() |
protected String |
getCorrelationKey() |
com.google.gwt.user.client.ui.IsWidget |
getFooter() |
Long |
getParentProcessInstanceId() |
protected org.jboss.errai.common.client.api.RemoteCallback<Long> |
getStartProcessRemoteCallback() |
protected void |
init() |
void |
init(FormDisplayerConfig<ProcessDefinitionKey,S> config,
org.uberfire.mvp.Command onClose,
org.uberfire.mvp.Command onRefreshCommand) |
void |
initConfigs(FormDisplayerConfig<ProcessDefinitionKey,S> config,
org.uberfire.mvp.Command onClose,
org.uberfire.mvp.Command onRefreshCommand) |
protected abstract void |
initDisplayer() |
void |
refresh() |
void |
setParentProcessInstanceId(Long parentProcessInstanceId) |
void |
setProcessService(org.jboss.errai.common.client.api.Caller<ProcessService> processService) |
void |
startProcess(Map<String,Object> params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormWidget, startProcessFromDisplayer
appendFooter, getSupportedRenderingSettings
public static final String ACTION_START_PROCESS
protected Constants constants
protected com.google.gwt.user.client.ui.FormPanel container
protected com.google.gwt.user.client.ui.FlowPanel formContainer
protected com.google.gwt.user.client.ui.FlowPanel footerButtons
protected org.gwtbootstrap3.client.ui.TextBox correlationKey
protected S extends FormRenderingSettings renderingSettings
protected String serverTemplateId
protected String deploymentId
protected String processDefId
protected String processName
protected Long parentProcessInstanceId
@Inject protected org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter errorPopup
@Inject protected javax.enterprise.event.Event<NewProcessInstanceEvent> newProcessInstanceEvent
protected org.jboss.errai.common.client.api.Caller<ProcessService> processService
@Inject protected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent
protected FormDisplayerConfig<ProcessDefinitionKey,S extends FormRenderingSettings> config
@PostConstruct protected void init()
public void init(FormDisplayerConfig<ProcessDefinitionKey,S> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand)
init
in interface GenericFormDisplayer<ProcessDefinitionKey,S extends FormRenderingSettings>
public void initConfigs(FormDisplayerConfig<ProcessDefinitionKey,S> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand)
protected abstract void initDisplayer()
public com.google.gwt.user.client.ui.Panel getContainer()
getContainer
in interface GenericFormDisplayer<ProcessDefinitionKey,S extends FormRenderingSettings>
public com.google.gwt.user.client.ui.IsWidget getFooter()
getFooter
in interface GenericFormDisplayer<ProcessDefinitionKey,S extends FormRenderingSettings>
public void startProcess(Map<String,Object> params)
startProcess
in interface StartProcessFormDisplayer<S extends FormRenderingSettings>
protected org.jboss.errai.common.client.api.RemoteCallback<Long> getStartProcessRemoteCallback()
public void addOnCloseCallback(org.uberfire.mvp.Command callback)
addOnCloseCallback
in interface GenericFormDisplayer<ProcessDefinitionKey,S extends FormRenderingSettings>
public void addOnRefreshCallback(org.uberfire.mvp.Command callback)
addOnRefreshCallback
in interface GenericFormDisplayer<ProcessDefinitionKey,S extends FormRenderingSettings>
public void refresh()
public void close()
close
in interface GenericFormDisplayer<ProcessDefinitionKey,S extends FormRenderingSettings>
protected void clearStatus()
protected String getCorrelationKey()
public Long getParentProcessInstanceId()
public void setParentProcessInstanceId(Long parentProcessInstanceId)
@Inject public void setProcessService(org.jboss.errai.common.client.api.Caller<ProcessService> processService)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.