All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ars.database.service.ExportService Maven / Gradle / Ivy

The newest version!
package ars.database.service;

import java.io.File;

import ars.invoke.local.Api;
import ars.invoke.local.Param;
import ars.invoke.request.Requester;

/**
 * 数据导出业务接口
 *
 * @param  数据模型
 * @author wuyongqiang
 */
public interface ExportService extends Service {
    /**
     * 数据批量导出
     *
     * @param requester 请求对象
     * @return 导出结果
     * @throws Exception 操作异常
     */
    @Api("output")
    public Imexports.Result output(Requester requester) throws Exception;

    /**
     * 下载批量导出文件
     *
     * @param requester 请求对象
     * @param name      文件名称
     * @return 文件对象
     */
    @Api("download")
    public File download(Requester requester, @Param(name = "name", required = true) String name);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy