Interface Workflow<TContract>


@JsType(isNative=true, name="ng.Workflow", namespace="<global>") public interface Workflow<TContract>
Public AngularTS Workflow contract exposed through the global ng namespace for Closure-annotated applications.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    can(Object command)
    Public Workflow.can member exposed by the AngularTS namespace contract.
    double
    cancel(Object command)
    Public Workflow.cancel member exposed by the AngularTS namespace contract.
    Public Workflow.data member exposed by the AngularTS namespace contract.
    elemental2.core.JsArray<Object>
    Public Workflow.diagnostics member exposed by the AngularTS namespace contract.
    elemental2.core.JsArray<Object>
    Public Workflow.history member exposed by the AngularTS namespace contract.
    Public Workflow.id member exposed by the AngularTS namespace contract.
    Public Workflow.state member exposed by the AngularTS namespace contract.
    void
    restore(Object snapshot)
    Public Workflow.restore member exposed by the AngularTS namespace contract.
    <TName> elemental2.promise.Promise<Object>
    run(TName command, Object... var_args)
    Public Workflow.run member exposed by the AngularTS namespace contract.
    void
    Public Workflow.data member exposed by the AngularTS namespace contract.
    void
    setDiagnostics(elemental2.core.JsArray<Object> diagnostics)
    Public Workflow.diagnostics member exposed by the AngularTS namespace contract.
    void
    setHistory(elemental2.core.JsArray<Object> history)
    Public Workflow.history member exposed by the AngularTS namespace contract.
    void
    Public Workflow.id member exposed by the AngularTS namespace contract.
    void
    Public Workflow.state member exposed by the AngularTS namespace contract.
    Public Workflow.snapshot member exposed by the AngularTS namespace contract.
  • Method Details

    • can

      boolean can(Object command)
      Public Workflow.can member exposed by the AngularTS namespace contract.
      Parameters:
      command - Value supplied for the command parameter.
      Returns:
      Method result.
    • cancel

      double cancel(Object command)
      Public Workflow.cancel member exposed by the AngularTS namespace contract.
      Parameters:
      command - Value supplied for the command parameter.
      Returns:
      Method result.
    • getData

      @JsProperty Object getData()
      Public Workflow.data member exposed by the AngularTS namespace contract.
    • getDiagnostics

      @JsProperty elemental2.core.JsArray<Object> getDiagnostics()
      Public Workflow.diagnostics member exposed by the AngularTS namespace contract.
    • getHistory

      @JsProperty elemental2.core.JsArray<Object> getHistory()
      Public Workflow.history member exposed by the AngularTS namespace contract.
    • getId

      @JsProperty String getId()
      Public Workflow.id member exposed by the AngularTS namespace contract.
    • getState

      @JsProperty Object getState()
      Public Workflow.state member exposed by the AngularTS namespace contract.
    • restore

      void restore(Object snapshot)
      Public Workflow.restore member exposed by the AngularTS namespace contract.
      Parameters:
      snapshot - Value supplied for the snapshot parameter.
    • run

      <TName> elemental2.promise.Promise<Object> run(TName command, Object... var_args)
      Public Workflow.run member exposed by the AngularTS namespace contract.
      Parameters:
      command - Value supplied for the command parameter.
      var_args - Value supplied for the input parameter.
      Returns:
      Method result.
    • setData

      @JsProperty void setData(Object data)
      Public Workflow.data member exposed by the AngularTS namespace contract.
    • setDiagnostics

      @JsProperty void setDiagnostics(elemental2.core.JsArray<Object> diagnostics)
      Public Workflow.diagnostics member exposed by the AngularTS namespace contract.
    • setHistory

      @JsProperty void setHistory(elemental2.core.JsArray<Object> history)
      Public Workflow.history member exposed by the AngularTS namespace contract.
    • setId

      @JsProperty void setId(String id)
      Public Workflow.id member exposed by the AngularTS namespace contract.
    • setState

      @JsProperty void setState(Object state)
      Public Workflow.state member exposed by the AngularTS namespace contract.
    • snapshot

      Public Workflow.snapshot member exposed by the AngularTS namespace contract.
      Returns:
      Method result.