ProcdefinitionBusiness.java 1.58 KB
Newer Older
罗绍泽 committed
1 2
package com.gaowj.business;

3
import java.io.InputStream;
罗绍泽 committed
4 5 6 7 8 9 10 11 12 13 14 15
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.gaowj.business.exception.BusinessException;
import com.gaowj.business.util.Page;

@Service
public interface ProcdefinitionBusiness {
	/**
	 * 插入
16
	 * 
罗绍泽 committed
17 18 19
	 * @param entity
	 * @throws BusinessException
	 */
20
	Map<String, Object> insert_procde_finition(Map<String, Object> entity) throws BusinessException;
罗绍泽 committed
21 22 23

	/**
	 * 更新
24
	 * 
罗绍泽 committed
25 26 27
	 * @param entity
	 * @throws BusinessException
	 */
28 29 30
	void update_procde_finition(Map<String, Object> entity) throws BusinessException;

	/**
罗绍泽 committed
31
	 * 删除记录
32
	 * 
罗绍泽 committed
33 34 35
	 * @param entity
	 * @throws BusinessException
	 */
36 37 38
	void delete_procde_finition(List<String> list) throws BusinessException;

	/**
罗绍泽 committed
39
	 * 分页获取记录
40
	 * 
罗绍泽 committed
41 42 43
	 * @param entity
	 * @throws BusinessException
	 */
44 45 46
	Page<Map<String, Object>> list_procde_finition(int pageNo, int pageSize, Map<String, Object> query) throws BusinessException;

	/**
罗绍泽 committed
47
	 * 获取所有记录
48
	 * 
罗绍泽 committed
49 50 51
	 * @param entity
	 * @throws BusinessException
	 */
52 53 54
	List<Map<String, Object>> list_procde_finition(Map<String, Object> query) throws BusinessException;

	/**
罗绍泽 committed
55
	 * 获取所有记录数
56
	 * 
罗绍泽 committed
57 58 59
	 * @param entity
	 * @throws BusinessException
	 */
60 61 62 63 64 65 66 67 68 69 70
	int listCount_procde_finition(Map<String, Object> query) throws BusinessException;

	/**
	 * 根据流程部署id获取流程图
	 * 
	 * @param deploymentId
	 * @return
	 */
	InputStream viewPic(String deploymentId,StringBuffer filename) throws BusinessException;
	
	String findFormModel(String procdefinitionUuid) throws BusinessException;
罗绍泽 committed
71
}