engineejb.java

来自「公司自己开发的工作流引擎」· Java 代码 · 共 105 行

JAVA
105
字号
package cn.com.iaspec.workflow.engine.ejb;

import java.rmi.*;
import java.util.*;
import javax.ejb.*;
import cn.com.iaspec.workflow.data.*;
import cn.com.iaspec.workflow.vo.workflow.*;

public interface EngineEJB
    extends EJBObject{
  public ArrayList getStartableProcessList(UserInfo userinfo)
      throws RemoteException;

  public ArrayList getStartableProcessListByType(UserInfo userinfo,
      String processTypeCode)
      throws RemoteException;

  public ProcessDefine startPorcessDefine(UserInfo userinfo,
      long processDefineId,String title,String desc)
      throws RemoteException;

  public ArrayList getTaskListByUser(UserInfo userinfo)
      throws java.rmi.RemoteException;

  public NextActivityInfo getNextActivityInfo(UserInfo userinfo,long workItemID)
      throws java.rmi.RemoteException;

  public long modifyWorkItemRelevantData(UserInfo userinfo,long workitemID,
      String attributeName,String value)
      throws java.rmi.RemoteException;

  public ProcessDefine startAssistantProcessDefinition(UserInfo userinfo,
      java.lang.String proDefName)
      throws java.rmi.RemoteException;

  public ActivityVariable[] getWorkItemAllVariableValue(long workItemId,
      UserInfo userInfo)
      throws Exception,RemoteException;

  public void processWorkflow(long workItemId,String registerId,long projectId,
      ActivityVariable[] actVar,List actParticipator,
      NextActivityInfo nextActInfo,UserInfo userInfo,String parentProInstId,
      String aidSubflowTag)
      throws Exception,RemoteException;

  public void checkOutWorkItem(UserInfo userInfo,long workItemId)
      throws Exception,RemoteException;

  public ArrayList QueryWorkflowLogInfo(UserInfo userinfo,String registerNO)
      throws Exception,RemoteException;

  public void processBatchCase(List list,String nextActName,UserInfo userInfo)
      throws Exception,RemoteException;

  public ApplyWorkItemInfo applyWorkItem(UserInfo userInfo,long workItemID)
      throws Exception,RemoteException;

  public long getTaskListCount(UserInfo userInfo)
      throws Exception,RemoteException;

  public void newAndSaveWorkflow(WorkflowProcessInfo wfProInfo,
      String businessId)
      throws Exception,RemoteException;

  public List queryCaseTask(TaskQueryCondition condition,
      cn.com.iaspec.workflow.data.PageInfo page)
      throws Exception,RemoteException;

  public void updateProcessTitle(String title,long processInstanceId)
      throws Exception,RemoteException;

  public void updatePublicProjectTitle(String title,long projectId)
      throws Exception,RemoteException;

  public StartedProcessInfo createAndStartProcess(String processDefineName,
      String businessName,String businessType,UserInfo userInfo,
      ArrayList prcesseVars)
      throws Exception,RemoteException;

  public StartedProcessInfo createAndStartProcess(long processDefineId,
      String businessName,String businessType,UserInfo userInfo,
      java.util.ArrayList prcesseVars)
      throws Exception,RemoteException;

  public boolean getWorkItemHasForwardPrivilege(long workItemId)
      throws Exception,RemoteException;

  public void reassignWorkitem(long workitemId,String newExecutor,
      UserInfo userInfo)
      throws Exception,RemoteException;

  public List getAllProcess()throws Exception,RemoteException;

  public int getSignInVar(long actId)throws Exception,RemoteException;

  public void updateWorkitemReleData(long workitemId,ActivityVariable[] vars,UserInfo userInfo)
      throws Exception,RemoteException;

  public void setEngineConnectInfo(String hostName,String portName,String dbType)
      throws Exception,RemoteException;

  public HashMap getActivityAgenInfo(String[] activityUids)
      throws Exception,RemoteException;
}

⌨️ 快捷键说明

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