Class AbstractStartProcessFormDisplayer<S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
- java.lang.Object
-
- org.jbpm.workbench.forms.client.display.process.AbstractStartProcessFormDisplayer<S>
-
- All Implemented Interfaces:
StartProcessFormDisplayer<S>,GenericFormDisplayer<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S>
- Direct Known Subclasses:
KieServerFormsStartProcessDisplayer,KieWorkbenchFormsStartProcessDisplayer
public abstract class AbstractStartProcessFormDisplayer<S extends org.jbpm.workbench.forms.display.FormRenderingSettings> extends Object implements StartProcessFormDisplayer<S>
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTION_START_PROCESSprotected org.jbpm.workbench.forms.display.FormDisplayerConfig<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S>configprotected Constantsconstantsprotected com.google.gwt.user.client.ui.FormPanelcontainerprotected org.gwtbootstrap3.client.ui.TextBoxcorrelationKeyprotected StringdeploymentIdprotected org.uberfire.client.workbench.widgets.common.ErrorPopupPresentererrorPopupprotected com.google.gwt.user.client.ui.FlowPanelfooterButtonsprotected com.google.gwt.user.client.ui.FlowPanelformContainerprotected javax.enterprise.event.Event<org.jbpm.workbench.pr.events.NewProcessInstanceEvent>newProcessInstanceEventprotected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent>notificationEventprotected LongparentProcessInstanceIdprotected StringprocessDefIdprotected StringprocessNameprotected org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.pr.service.ProcessService>processServiceprotected SrenderingSettingsprotected StringserverTemplateId
-
Constructor Summary
Constructors Constructor Description AbstractStartProcessFormDisplayer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddOnCloseCallback(org.uberfire.mvp.Command callback)voidaddOnRefreshCallback(org.uberfire.mvp.Command callback)protected voidclearStatus()voidclose()com.google.gwt.user.client.ui.PanelgetContainer()protected StringgetCorrelationKey()com.google.gwt.user.client.ui.IsWidgetgetFooter()LonggetParentProcessInstanceId()protected org.jboss.errai.common.client.api.RemoteCallback<Long>getStartProcessRemoteCallback()protected voidinit()voidinit(org.jbpm.workbench.forms.display.FormDisplayerConfig<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand)voidinitConfigs(org.jbpm.workbench.forms.display.FormDisplayerConfig<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand)protected abstract voidinitDisplayer()protected voidinitFormWithCorrelationKey()voidrefresh()voidsetParentProcessInstanceId(Long parentProcessInstanceId)voidsetProcessService(org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.pr.service.ProcessService> processService)voidstartProcess(Map<String,Object> params)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jbpm.workbench.forms.client.display.GenericFormDisplayer
appendFooter, getSupportedRenderingSettings
-
Methods inherited from interface org.jbpm.workbench.forms.client.display.api.StartProcessFormDisplayer
getFormWidget, startProcessFromDisplayer
-
-
-
-
Field Detail
-
ACTION_START_PROCESS
public static final String ACTION_START_PROCESS
- See Also:
- Constant Field Values
-
constants
protected Constants constants
-
container
protected com.google.gwt.user.client.ui.FormPanel container
-
formContainer
protected com.google.gwt.user.client.ui.FlowPanel formContainer
-
footerButtons
protected com.google.gwt.user.client.ui.FlowPanel footerButtons
-
correlationKey
protected org.gwtbootstrap3.client.ui.TextBox correlationKey
-
renderingSettings
protected S extends org.jbpm.workbench.forms.display.FormRenderingSettings renderingSettings
-
serverTemplateId
protected String serverTemplateId
-
deploymentId
protected String deploymentId
-
processDefId
protected String processDefId
-
processName
protected String processName
-
parentProcessInstanceId
protected Long parentProcessInstanceId
-
errorPopup
@Inject protected org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter errorPopup
-
newProcessInstanceEvent
@Inject protected javax.enterprise.event.Event<org.jbpm.workbench.pr.events.NewProcessInstanceEvent> newProcessInstanceEvent
-
processService
protected org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.pr.service.ProcessService> processService
-
notificationEvent
@Inject protected javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent
-
config
protected org.jbpm.workbench.forms.display.FormDisplayerConfig<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S extends org.jbpm.workbench.forms.display.FormRenderingSettings> config
-
-
Method Detail
-
init
@PostConstruct protected void init()
-
init
public void init(org.jbpm.workbench.forms.display.FormDisplayerConfig<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand)
- Specified by:
initin interfaceGenericFormDisplayer<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
-
initFormWithCorrelationKey
protected void initFormWithCorrelationKey()
-
initConfigs
public void initConfigs(org.jbpm.workbench.forms.display.FormDisplayerConfig<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand)
-
initDisplayer
protected abstract void initDisplayer()
-
getContainer
public com.google.gwt.user.client.ui.Panel getContainer()
- Specified by:
getContainerin interfaceGenericFormDisplayer<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
-
getFooter
public com.google.gwt.user.client.ui.IsWidget getFooter()
- Specified by:
getFooterin interfaceGenericFormDisplayer<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
-
startProcess
public void startProcess(Map<String,Object> params)
- Specified by:
startProcessin interfaceStartProcessFormDisplayer<S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
-
getStartProcessRemoteCallback
protected org.jboss.errai.common.client.api.RemoteCallback<Long> getStartProcessRemoteCallback()
-
addOnCloseCallback
public void addOnCloseCallback(org.uberfire.mvp.Command callback)
- Specified by:
addOnCloseCallbackin interfaceGenericFormDisplayer<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
-
addOnRefreshCallback
public void addOnRefreshCallback(org.uberfire.mvp.Command callback)
- Specified by:
addOnRefreshCallbackin interfaceGenericFormDisplayer<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
-
refresh
public void refresh()
-
close
public void close()
- Specified by:
closein interfaceGenericFormDisplayer<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
-
clearStatus
protected void clearStatus()
-
getCorrelationKey
protected String getCorrelationKey()
-
getParentProcessInstanceId
public Long getParentProcessInstanceId()
-
setParentProcessInstanceId
public void setParentProcessInstanceId(Long parentProcessInstanceId)
-
setProcessService
@Inject public void setProcessService(org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.pr.service.ProcessService> processService)
-
-