org.jbpm.console.ng.ht.forms.client.editors.taskform.displayers
Class AbstractHumanTaskFormDisplayer
java.lang.Object
org.jbpm.console.ng.ht.forms.client.editors.taskform.displayers.AbstractHumanTaskFormDisplayer
- All Implemented Interfaces:
- GenericFormDisplayer<TaskKey>, HumanTaskFormDisplayer
- Direct Known Subclasses:
- FormModellerTaskDisplayerImpl, FTLTaskDisplayerImpl, PlaceManagerTaskDisplayerImpl
public abstract class AbstractHumanTaskFormDisplayer
- extends Object
- implements HumanTaskFormDisplayer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_CLAIM_TASK
public static final String ACTION_CLAIM_TASK
- See Also:
- Constant Field Values
ACTION_START_TASK
public static final String ACTION_START_TASK
- See Also:
- Constant Field Values
ACTION_RELEASE_TASK
public static final String ACTION_RELEASE_TASK
- See Also:
- Constant Field Values
ACTION_SAVE_TASK
public static final String ACTION_SAVE_TASK
- See Also:
- Constant Field Values
ACTION_COMPLETE_TASK
public static final String ACTION_COMPLETE_TASK
- See Also:
- Constant Field Values
taskId
protected long taskId
formContent
protected String formContent
opener
protected String opener
taskName
protected String taskName
container
protected final com.google.gwt.user.client.ui.FlowPanel container
buttonsContainer
protected final com.google.gwt.user.client.ui.FlowPanel buttonsContainer
formContainer
protected final com.google.gwt.user.client.ui.FlowPanel formContainer
constants
protected Constants constants
taskServices
@Inject
protected org.jboss.errai.common.client.api.Caller<TaskLifeCycleService> taskServices
taskOperationServices
@Inject
protected org.jboss.errai.common.client.api.Caller<TaskOperationsService> taskOperationServices
taskRefreshed
@Inject
protected javax.enterprise.event.Event<TaskRefreshedEvent> taskRefreshed
identity
@Inject
protected org.jboss.errai.security.shared.api.identity.User identity
jsniHelper
@Inject
protected JSNIHelper jsniHelper
AbstractHumanTaskFormDisplayer
public AbstractHumanTaskFormDisplayer()
initDisplayer
protected abstract void initDisplayer()
completeFromDisplayer
protected abstract void completeFromDisplayer()
saveStateFromDisplayer
protected abstract void saveStateFromDisplayer()
startFromDisplayer
protected abstract void startFromDisplayer()
claimFromDisplayer
protected abstract void claimFromDisplayer()
releaseFromDisplayer
protected abstract void releaseFromDisplayer()
init
public void init(TaskKey key,
String formContent,
String openerUrl)
- Specified by:
init in interface GenericFormDisplayer<TaskKey>
complete
public void complete(Map<String,Object> params)
- Specified by:
complete in interface HumanTaskFormDisplayer
claim
public void claim()
- Specified by:
claim in interface HumanTaskFormDisplayer
release
public void release()
- Specified by:
release in interface HumanTaskFormDisplayer
saveState
public void saveState(Map<String,Object> state)
- Specified by:
saveState in interface HumanTaskFormDisplayer
start
public void start()
- Specified by:
start in interface HumanTaskFormDisplayer
getContainer
public com.google.gwt.user.client.ui.FlowPanel getContainer()
- Specified by:
getContainer in interface GenericFormDisplayer<TaskKey>
getStartTaskRemoteCallback
protected org.jboss.errai.common.client.api.RemoteCallback getStartTaskRemoteCallback()
getClaimTaskCallback
protected org.jboss.errai.common.client.api.RemoteCallback getClaimTaskCallback()
getSaveTaskStateCallback
protected org.jboss.errai.common.client.api.RemoteCallback getSaveTaskStateCallback()
getReleaseTaskRemoteCallback
protected org.jboss.errai.common.client.api.RemoteCallback getReleaseTaskRemoteCallback()
getCompleteTaskRemoteCallback
protected org.jboss.errai.common.client.api.RemoteCallback<Void> getCompleteTaskRemoteCallback()
getUnexpectedErrorCallback
protected org.jboss.errai.common.client.api.ErrorCallback<org.jboss.errai.bus.client.api.messaging.Message> getUnexpectedErrorCallback()
addOnCloseCallback
public void addOnCloseCallback(org.uberfire.mvp.Command callback)
- Specified by:
addOnCloseCallback in interface GenericFormDisplayer<TaskKey>
addOnRefreshCallback
public void addOnRefreshCallback(org.uberfire.mvp.Command callback)
- Specified by:
addOnRefreshCallback in interface GenericFormDisplayer<TaskKey>
refresh
protected void refresh()
close
public void close()
- Specified by:
close in interface GenericFormDisplayer<TaskKey>
eventListener
protected void eventListener(String origin,
String request)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.