View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2012-4-18 下午04:48:14
4    */
5   package gboat2.serviceflow.service;
6   
7   import java.util.Map;
8   
9   /**
10   * 
11   * @author lysming
12   * @since jdk1.6
13   * @date 2012-4-18
14   *  
15   */
16  
17  public interface IEntryActionHandler {
18  	
19  	/**判断是否接受进入该节点
20  	 * @param processId
21  	 * 			流程id
22  	 * @param businessObjectId
23  	 * 			对象id
24  	 * @param taskName
25  	 * 			节点名称
26  	 * @param params
27  	 * 			动态参数
28  	 * @return true 接受; false 不接受
29  	 */
30  	public boolean accept(String processId, String businessObjectId, String taskName, Map<String, Object> params);
31  	
32  	/** 执行该节点的具体操作
33  	 * @param processId
34  	 * 			流程id
35  	 * @param businessObjectId
36  	 * 			对象id
37  	 * @param taskName
38  	 * 			节点名称
39  	 * @param params
40  	 * 			动态参数
41  	 */
42  	public void action(String processId, String businessObjectId, String taskName, Map<String, Object> params);
43  }