public abstract class AbstractHumanTaskFormDisplayer extends Object implements HumanTaskFormDisplayer
| 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 String |
formContent |
protected org.jboss.errai.security.shared.api.identity.User |
identity |
protected JSNIHelper |
jsniHelper |
protected String |
opener |
protected FormContentResizeListener |
resizeListener |
protected long |
taskId |
protected String |
taskName |
protected org.jboss.errai.common.client.api.Caller<TaskOperationsService> |
taskOperationServices |
protected javax.enterprise.event.Event<TaskRefreshedEvent> |
taskRefreshed |
protected org.jboss.errai.common.client.api.Caller<TaskLifeCycleService> |
taskServices |
| 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 |
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> 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, waitgetPriority, supportsContentpublic 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 String formContent
protected String opener
protected String taskName
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<TaskLifeCycleService> taskServices
@Inject protected org.jboss.errai.common.client.api.Caller<TaskOperationsService> taskOperationServices
@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> config, org.uberfire.mvp.Command onCloseCommand, org.uberfire.mvp.Command onRefreshCommand, FormContentResizeListener resizeListener)
init in interface GenericFormDisplayer<TaskKey>public void complete(Map<String,Object> params)
complete in interface HumanTaskFormDisplayerpublic void claim()
claim in interface HumanTaskFormDisplayerpublic void release()
release in interface HumanTaskFormDisplayerpublic void saveState(Map<String,Object> state)
saveState in interface HumanTaskFormDisplayerpublic void start()
start in interface HumanTaskFormDisplayerpublic com.google.gwt.user.client.ui.Panel getContainer()
getContainer in interface GenericFormDisplayer<TaskKey>public com.google.gwt.user.client.ui.IsWidget getFooter()
getFooter in interface GenericFormDisplayer<TaskKey>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>public void addOnRefreshCallback(org.uberfire.mvp.Command callback)
addOnRefreshCallback in interface GenericFormDisplayer<TaskKey>protected void refresh()
public void close()
close in interface GenericFormDisplayer<TaskKey>protected void clearStatus()
public String getOpener()
getOpener in interface GenericFormDisplayer<TaskKey>Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.