jBPM Console NG - Human Tasks Forms Client 6.2.0.CR4

org.jbpm.console.ng.ht.forms.client.display.displayers.task
Class AbstractHumanTaskFormDisplayer

java.lang.Object
  extended by org.jbpm.console.ng.ht.forms.client.display.displayers.task.AbstractHumanTaskFormDisplayer
All Implemented Interfaces:
GenericFormDisplayer<TaskKey>, HumanTaskFormDisplayer
Direct Known Subclasses:
FormModellerTaskDisplayerImpl, FTLTaskDisplayerImpl, PlaceManagerTaskDisplayerImpl

public abstract class AbstractHumanTaskFormDisplayer
extends Object
implements HumanTaskFormDisplayer


Field Summary
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  com.google.gwt.user.client.ui.FlowPanel buttonsContainer
           
protected  Constants constants
           
protected  com.google.gwt.user.client.ui.FormPanel container
           
protected  String deploymentId
           
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 Summary
AbstractHumanTaskFormDisplayer()
           
 
Method Summary
 void addOnCloseCallback(org.uberfire.mvp.Command callback)
           
 void addOnRefreshCallback(org.uberfire.mvp.Command callback)
           
 void claim()
           
protected abstract  void claimFromDisplayer()
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.console.ng.ht.forms.display.GenericFormDisplayer
getPriority, supportsContent
 

Field Detail

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

deploymentId

protected String deploymentId

container

protected final com.google.gwt.user.client.ui.FormPanel container

buttonsContainer

protected final com.google.gwt.user.client.ui.FlowPanel buttonsContainer

formContainer

protected final com.google.gwt.user.client.ui.FlowPanel formContainer

resizeListener

protected FormContentResizeListener resizeListener

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
Constructor Detail

AbstractHumanTaskFormDisplayer

public AbstractHumanTaskFormDisplayer()
Method Detail

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

@PostConstruct
protected void init()

init

public void init(FormDisplayerConfig<TaskKey> config,
                 org.uberfire.mvp.Command onCloseCommand,
                 org.uberfire.mvp.Command onRefreshCommand,
                 FormContentResizeListener resizeListener)
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.Panel getContainer()
Specified by:
getContainer in interface GenericFormDisplayer<TaskKey>

getFooter

public com.google.gwt.user.client.ui.IsWidget getFooter()
Specified by:
getFooter 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)

getOpener

public String getOpener()
Specified by:
getOpener in interface GenericFormDisplayer<TaskKey>

jBPM Console NG - Human Tasks Forms Client 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.