ex9_11.txt

来自「j2ee core design patterns」· 文本 代码 · 共 32 行

TXT
32
字号
Example 9.11 	WorkflowDelegate Code
public class WorkflowDelegate {
  private String userId;

  public WorkflowDelegate(String userId) {
    this.userId = userId;
  }

  public void start(String workflowName) {
    // Proprietary call to workflow system
  }

  public void stop(String workflowProcessId) {
    // Proprietary call to workflow system
  }

  public void pause(String workflowProcessId) {
    // Proprietary call to workflow system
  }

  public void acquireWorkItem(String workflowProcessId) {
    // Proprietary call to workflow system
  }

  public void commitWorkItem(String workflowProcessId) {
    // Proprietary call to workflow system
  }

  public void abortWorkItem(String workflowProcessId) {
    // Proprietary call to workflow system
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?