UploadfileBusiness.java 3.25 KB
Newer Older
罗绍泽 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
package com.gaowj.business;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Service;

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

@Service
public interface UploadfileBusiness {

	/**
	 * 插入
	 * @param entity
	 * @throws BusinessException
	 */
	void insert_uploadfile(Map<String,Object> entity) throws BusinessException ;

	/**
	 * 更新
	 * @param entity
	 * @throws BusinessException
	 */
    void update_uploadfile(Map<String,Object> entity) throws BusinessException ;
    
    /**
	 * 设置binary_data大字段为空
	 * @param entity
	 * @throws BusinessException
	 */
    void setnull_binary_data(List<String> list) throws BusinessException ;
    
    /**
	 * 软删除
	 * @param entity
	 * @throws BusinessException
	 */
    void delete_uploadfile(List<String> list)throws BusinessException;
    
    /**
	 * 恢复删除
	 * @param entity
	 * @throws BusinessException
	 */
    void resume_uploadfile(List<String> list)throws BusinessException;
    
    /**
	 * 在软删除基础上删除记录
	 * @param entity
	 * @throws BusinessException
	 */
    void delete_true_uploadfile(List<String> list)throws BusinessException;
    
    /**
	 * 分页获取记录没有file大字段
	 * @param entity
	 * @throws BusinessException
	 */
    Page<Map<String, Object>> list_uploadnofile(int pageNo, int pageSize, Map<String, Object> query)throws BusinessException ;
    
    /**
	 * 获取所有记录没有file大字段
	 * @param entity
	 * @throws BusinessException
	 */
    List<Map<String,Object>> list_uploadnofile(Map<String, Object> query) throws BusinessException ;
    
    /**
	 * 分页获取记录
	 * @param entity
	 * @throws BusinessException
	 */
    Page<Map<String, Object>> list_uploadfile(int pageNo, int pageSize, Map<String, Object> query)throws BusinessException ;
    
    /**
	 * 获取所有记录
	 * @param entity
	 * @throws BusinessException
	 */
    List<Map<String,Object>> list_uploadfile(Map<String, Object> query) throws BusinessException ;
    
    /**
	 * 获取所有记录数
	 * @param entity
	 * @throws BusinessException
	 */
    int listCount_uploadfile(Map<String, Object> query) throws BusinessException ;
    
    /**---------------供其它模块接口使用-------------------**/
    
    /**
	 * 分页获取记录
	 * @param entity
	 * @throws BusinessException
	 */
    Page<Map<String, Object>> list_uploadnofile_webservices(int pageNo, int pageSize, Map<String, Object> query)throws BusinessException ;
    
    /**
	 * 获取所有记录
	 * @param entity
	 * @throws BusinessException
	 */
    List<Map<String,Object>> list_uploadnofile_webservices(Map<String, Object> query) throws BusinessException ;
    
    /**
	 * 软删除
	 * @param entity
	 * @throws BusinessException
	 */
    void delete_uploadfile_common(Map<String, Object> query)throws BusinessException;
    
    /**
	 * 恢复删除
	 * @param entity
	 * @throws BusinessException
	 */
    void resume_uploadfile_common(Map<String, Object> query)throws BusinessException;
    
    /**
	 * 在软删除基础上删除记录
	 * @param entity
	 * @throws BusinessException
	 */
    void delete_true_uploadfile_common(Map<String, Object> query)throws BusinessException;
}