/*
 * Created on 2004-4-7
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package workflow.store.spi;

import workflow.WorkflowException;

/**
 * @author zosatapo
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface SpiCaseIdGenerator
{  
  public String genWorkflowCaseID(String packageId,String processId) throws WorkflowException;
  
  public String genWorkflowWorkID(String packageId,String processId,String caseId) throws WorkflowException;
  
  public String genWorkflowPathID(String packageId,String processId,String caseId) throws WorkflowException;
  
  //表示任务节实例--工作项 分发批次号
  //
  //解释：前继工作项经过分发可以产生多个后继工作项
  public String genWorkflowPathBatch(String packageId,String processId,String activityId,String caseId) throws WorkflowException;
  
  //public LiveCaseDatabase  getCaseDatabase(); 
}
