Codota Logo
DataServiceEntryPoint
Code IndexAdd Codota to your IDE (free)

How to use
DataServiceEntryPoint
in
org.jbpm.console.ng.bd.service

Best Java code snippets using org.jbpm.console.ng.bd.service.DataServiceEntryPoint (Showing top 10 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.jbpm/jbpm-console-ng-process-runtime-client

public void loadVariableHistory(final ParameterizedCommand<List<ProcessVariableSummary>> callback, final String variableName) {
  dataServices.call(new RemoteCallback<List<ProcessVariableSummary>>() {
    @Override
    public void callback(final List<ProcessVariableSummary> processVariableSummaries) {
        callback.execute(processVariableSummaries);
    }
  }, new HasBusyIndicatorDefaultErrorCallback(view)).getVariableHistory(processInstanceId, variableName);
}
origin: org.jbpm/jbpm-console-ng-process-runtime-client

      return true;
  } ).getAllRuntimeLogs( Long.valueOf( currentProcessInstanceId ) );
} else {
  dataServices.call( new RemoteCallback<List<RuntimeLogSummary>>() {
      return true;
  } ).getBusinessLogs( Long.valueOf( currentProcessInstanceId ) );
origin: org.jbpm/jbpm-console-ng-process-runtime-client

private void refreshTaskDef( final String deploymentId, final String processId ) {
  dataServices.call( new RemoteCallback<List<TaskDefSummary>>() {
    @Override
    public void callback( List<TaskDefSummary> tasks ) {
      view.getNroOfHumanTasksText().setText(
          String.valueOf( tasks.size() ) );
      view.getHumanTasksListBox().setText( "" );
      SafeHtmlBuilder safeHtmlBuilder = new SafeHtmlBuilder();
      if (tasks.isEmpty()) {
        safeHtmlBuilder.appendEscapedLines(constants.NoUserTasksDefinedInThisProcess());
        view.getHumanTasksListBox().setStyleName( "muted" );
        view.getHumanTasksListBox().setHTML(
            safeHtmlBuilder.toSafeHtml() );
      } else {
        for (TaskDefSummary t : tasks) {
          safeHtmlBuilder.appendEscapedLines( t.getName() + "\n" );
        }
        view.getHumanTasksListBox().setHTML(
            safeHtmlBuilder.toSafeHtml() );
      }
    }
  }, new ErrorCallback<Message>() {
    @Override
    public boolean error( Message message, Throwable throwable ) {
      ErrorPopup.showMessage( constants.UnexpectedError(throwable.getMessage()) );
      return true;
    }
  } ).getAllTasksDef( deploymentId, processId );
}
origin: org.jbpm/jbpm-console-ng-process-runtime-client

    return true;
} ).getProcessInstanceActiveNodes( Long.parseLong( processId ) );
    return true;
} ).getProcessDesc( deploymentId, processDefId );
    return true;
} ).getProcessInstanceCompletedNodes( Long.parseLong( processId ) );
    return true;
} ).getProcessById( deploymentId, processDefId );
origin: org.jbpm/jbpm-console-ng-process-runtime-forms-client

}).getProcessDesc(deploymentId, processDefId);
origin: org.jbpm/jbpm-console-ng-process-runtime-client

    return true;
} ).getAssociatedEntities( deploymentId, processId );
origin: org.jbpm/jbpm-console-ng-process-runtime-client

    return true;
} ).getProcessInstanceById( Long.parseLong( deploymentId ) );
origin: org.jbpm/jbpm-console-ng-process-runtime-client

    return true;
} ).getProcessInstanceCompletedNodes( Long.parseLong(deploymentId) );
origin: org.jbpm/jbpm-console-ng-process-runtime-client

    return true;
} ).getProcessInstanceActiveNodes( Long.parseLong(deploymentId) );
origin: org.jbpm/jbpm-console-ng-process-runtime-client

  @Test
  public void testLoadVariableHistory() {
    final ParameterizedCommand callback = mock(ParameterizedCommand.class);
    final String variableName = "variable";
    final long processInstanceId = 1l;
    final ProcessVariableSummary summary = new ProcessVariableSummary(variableName, "variableInstanceId", processInstanceId, "oldValue", "newValue", System.currentTimeMillis(), "type");
    final List<ProcessVariableSummary> summaries = Arrays.asList(summary);
    when(dataServiceEntryPoint.getVariableHistory(processInstanceId, variableName)).thenReturn(summaries);
    final ProcessInstanceSelectionEvent event = new ProcessInstanceSelectionEvent("deploymentId", processInstanceId, "processDefId", "processDefName", 1);

    presenter.onProcessInstanceSelectionEvent(event);
    presenter.loadVariableHistory(callback, variableName);

    verify(callback).execute(summaries);
  }
}
org.jbpm.console.ng.bd.serviceDataServiceEntryPoint

Most used methods

  • getProcessDesc
  • getVariableHistory
  • getAllRuntimeLogs
  • getAllTasksDef
  • getAssociatedEntities
  • getBusinessLogs
  • getProcessById
  • getProcessInstanceActiveNodes
  • getProcessInstanceById
  • getProcessInstanceCompletedNodes
  • getRequiredInputData
  • getReusableSubProcesses
  • getRequiredInputData,
  • getReusableSubProcesses,
  • getServiceTasks

Popular in Java

  • Reactive rest calls using spring rest template
  • getSystemService (Context)
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now