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 String
ACTION_START_PROCESS
protected org.jbpm.workbench.forms.display.FormDisplayerConfig<org.jbpm.workbench.pr.model.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<org.jbpm.workbench.pr.events.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<org.jbpm.workbench.pr.service.ProcessService>
processService
protected S
renderingSettings
protected String
serverTemplateId
-
Constructor Summary
Constructors Constructor Description AbstractStartProcessFormDisplayer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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(org.jbpm.workbench.forms.display.FormDisplayerConfig<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S> config, org.uberfire.mvp.Command onClose, org.uberfire.mvp.Command onRefreshCommand)
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)
protected abstract void
initDisplayer()
void
refresh()
void
setParentProcessInstanceId(Long parentProcessInstanceId)
void
setProcessService(org.jboss.errai.common.client.api.Caller<org.jbpm.workbench.pr.service.ProcessService> processService)
void
startProcess(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:
init
in interfaceGenericFormDisplayer<org.jbpm.workbench.pr.model.ProcessDefinitionKey,S extends org.jbpm.workbench.forms.display.FormRenderingSettings>
-
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:
getContainer
in 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:
getFooter
in 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:
startProcess
in 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:
addOnCloseCallback
in 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:
addOnRefreshCallback
in 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:
close
in 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)
-
-