Tabnine Logo
FormRenderContextManager.removeContext
Code IndexAdd Tabnine to your IDE (free)

How to use
removeContext
method
in
org.jbpm.formModeler.api.client.FormRenderContextManager

Best Java code snippets using org.jbpm.formModeler.api.client.FormRenderContextManager.removeContext (Showing top 4 results out of 315)

origin: org.jbpm/jbpm-wb-forms-modeler-backend

  @Override
  public void clearContext(String ctxUID) {
    formRenderContextManager.removeContext(ctxUID);
  }
}
origin: org.jbpm/jbpm-wb-forms-modeler-backend

@Override
public void completeTaskFromContext(String ctxUID,
                  String serverTemplateId,
                  String containerId,
                  Long taskId) {
  Map<String, Object> params = formRenderContextManager.getFormRenderContext(ctxUID).getOutputData();
  formRenderContextManager.removeContext(ctxUID);
  taskService.completeTask(serverTemplateId,
               containerId,
               taskId,
               params);
}
origin: org.jbpm/jbpm-wb-forms-modeler-backend

@Override
public Long startProcessFromRenderContext(String ctxUID,
                     String serverTemplateId,
                     String domainId,
                     String processId,
                     String correlationKey,
                     Long parentProcessInstanceId) {
  Map<String, Object> params = formRenderContextManager.getFormRenderContext(ctxUID).getOutputData();
  formRenderContextManager.removeContext(ctxUID);
  return processService.startProcess(serverTemplateId,
                    domainId,
                    processId,
                    correlationKey,
                    params);
}
origin: org.jbpm/jbpm-wb-forms-modeler-backend

@Override
public Long saveTaskStateFromRenderContext(String ctxUID,
                      String serverTemplateId,
                      String containerId,
                      Long taskId,
                      boolean clearStatus) {
  Map<String, Object> params = formRenderContextManager.getFormRenderContext(ctxUID).getOutputData();
  if (clearStatus) {
    formRenderContextManager.removeContext(ctxUID);
  }
  taskService.saveTaskContent(serverTemplateId,
                containerId,
                taskId,
                params);
  return -1l;
}
org.jbpm.formModeler.api.clientFormRenderContextManagerremoveContext

Popular methods of FormRenderContextManager

  • getRootContext
  • getFormRenderContext
  • newContext
  • fireContextFormResize
  • fireContextSubmit
  • fireContextSubmitError
  • persistContext

Popular in Java

  • Reading from database using SQL prepared statement
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JCheckBox (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now