public abstract class AbstractHumanTaskFormDisplayer<S extends FormRenderingSettings> extends Object implements HumanTaskFormDisplayer<S>
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_CLAIM_TASK |
static String |
ACTION_COMPLETE_TASK |
static String |
ACTION_RELEASE_TASK |
static String |
ACTION_SAVE_TASK |
static String |
ACTION_START_TASK |
protected org.gwtbootstrap3.client.ui.ButtonGroup |
buttonsContainer |
protected Constants |
constants |
protected com.google.gwt.user.client.ui.FormPanel |
container |
protected String |
deploymentId |
protected org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter |
errorPopup |
protected com.google.gwt.user.client.ui.FlowPanel |
formContainer |
protected org.jboss.errai.security.shared.api.identity.User |
identity |
protected JSNIHelper |
jsniHelper |
protected String |
opener |
protected S |
renderingSettings |
protected FormContentResizeListener |
resizeListener |
protected String |
serverTemplateId |
protected long |
taskId |
protected String |
taskName |
protected javax.enterprise.event.Event<TaskRefreshedEvent> |
taskRefreshed |
protected org.jboss.errai.common.client.api.Caller<TaskService> |
taskService |
| Constructor and Description |
|---|
AbstractHumanTaskFormDisplayer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOnCloseCallback(org.uberfire.mvp.Command callback) |
void |
addOnRefreshCallback(org.uberfire.mvp.Command callback) |
void |
claim() |
protected abstract void |
claimFromDisplayer() |
protected void |
clearRenderingSettings() |
protected void |
clearStatus() |
void |
close() |
void |
complete(Map<String,Object> params) |
protected abstract void |
completeFromDisplayer() |
protected void |
eventListener(String origin,
String request) |
protected org.jboss.errai.common.client.api.RemoteCallback |
getClaimTaskCallback() |
protected org.jboss.errai.common.client.api.RemoteCallback<Void> |
getCompleteTaskRemoteCallback() |
com.google.gwt.user.client.ui.Panel |
getContainer() |
com.google.gwt.user.client.ui.IsWidget |
getFooter() |
String |
getOpener() |
protected org.jboss.errai.common.client.api.RemoteCallback |
getReleaseTaskRemoteCallback() |
protected org.jboss.errai.common.client.api.RemoteCallback |
getSaveTaskStateCallback() |
protected org.jboss.errai.common.client.api.RemoteCallback |
getStartTaskRemoteCallback() |
protected org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> |
getUnexpectedErrorCallback() |
protected void |
init() |
void |
init(FormDisplayerConfig<TaskKey,S> config,
org.uberfire.mvp.Command onCloseCommand,
org.uberfire.mvp.Command onRefreshCommand,
FormContentResizeListener resizeListener) |
protected abstract void |
initDisplayer() |
protected void |
refresh() |
void |
release() |
protected abstract void |
releaseFromDisplayer() |
void |
saveState(Map<String,Object> state) |
protected abstract void |
saveStateFromDisplayer() |
void |
start() |
protected abstract void |
startFromDisplayer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedRenderingSettingspublic static final String ACTION_CLAIM_TASK
public static final String ACTION_START_TASK
public static final String ACTION_RELEASE_TASK
public static final String ACTION_SAVE_TASK
public static final String ACTION_COMPLETE_TASK
protected long taskId
protected S extends FormRenderingSettings renderingSettings
protected String opener
protected String taskName
protected String serverTemplateId
protected String deploymentId
protected final com.google.gwt.user.client.ui.FormPanel container
protected final org.gwtbootstrap3.client.ui.ButtonGroup buttonsContainer
protected final com.google.gwt.user.client.ui.FlowPanel formContainer
protected FormContentResizeListener resizeListener
protected Constants constants
@Inject protected org.uberfire.client.workbench.widgets.common.ErrorPopupPresenter errorPopup
@Inject protected org.jboss.errai.common.client.api.Caller<TaskService> taskService
@Inject protected javax.enterprise.event.Event<TaskRefreshedEvent> taskRefreshed
@Inject protected org.jboss.errai.security.shared.api.identity.User identity
@Inject protected JSNIHelper jsniHelper
protected abstract void initDisplayer()
protected abstract void completeFromDisplayer()
protected abstract void saveStateFromDisplayer()
protected abstract void startFromDisplayer()
protected abstract void claimFromDisplayer()
protected abstract void releaseFromDisplayer()
@PostConstruct protected void init()
public void init(FormDisplayerConfig<TaskKey,S> config, org.uberfire.mvp.Command onCloseCommand, org.uberfire.mvp.Command onRefreshCommand, FormContentResizeListener resizeListener)
init in interface GenericFormDisplayer<TaskKey,S extends FormRenderingSettings>protected void clearRenderingSettings()
public void complete(Map<String,Object> params)
complete in interface HumanTaskFormDisplayer<S extends FormRenderingSettings>public void claim()
claim in interface HumanTaskFormDisplayer<S extends FormRenderingSettings>public void release()
release in interface HumanTaskFormDisplayer<S extends FormRenderingSettings>public void saveState(Map<String,Object> state)
saveState in interface HumanTaskFormDisplayer<S extends FormRenderingSettings>public void start()
start in interface HumanTaskFormDisplayer<S extends FormRenderingSettings>public com.google.gwt.user.client.ui.Panel getContainer()
getContainer in interface GenericFormDisplayer<TaskKey,S extends FormRenderingSettings>public com.google.gwt.user.client.ui.IsWidget getFooter()
getFooter in interface GenericFormDisplayer<TaskKey,S extends FormRenderingSettings>protected org.jboss.errai.common.client.api.RemoteCallback getStartTaskRemoteCallback()
protected org.jboss.errai.common.client.api.RemoteCallback getClaimTaskCallback()
protected org.jboss.errai.common.client.api.RemoteCallback getSaveTaskStateCallback()
protected org.jboss.errai.common.client.api.RemoteCallback getReleaseTaskRemoteCallback()
protected org.jboss.errai.common.client.api.RemoteCallback<Void> getCompleteTaskRemoteCallback()
protected org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> getUnexpectedErrorCallback()
public void addOnCloseCallback(org.uberfire.mvp.Command callback)
addOnCloseCallback in interface GenericFormDisplayer<TaskKey,S extends FormRenderingSettings>public void addOnRefreshCallback(org.uberfire.mvp.Command callback)
addOnRefreshCallback in interface GenericFormDisplayer<TaskKey,S extends FormRenderingSettings>protected void refresh()
public void close()
close in interface GenericFormDisplayer<TaskKey,S extends FormRenderingSettings>protected void clearStatus()
public String getOpener()
getOpener in interface GenericFormDisplayer<TaskKey,S extends FormRenderingSettings>Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.