接口 SysFileService

所有超级接口:
BaseService<Sys_file>
所有已知实现类:
SysFileServiceImpl

public interface SysFileService extends BaseService<Sys_file>
文件Service接口
  • 方法详细资料

    • uploadReturnId

      String uploadReturnId(String engine, org.nutz.mvc.upload.TempFile file)
      文件上传,返回文件id
    • uploadReturnUrl

      String uploadReturnUrl(String engine, org.nutz.mvc.upload.TempFile file)
      文件上传,返回文件Url
    • page

      Pagination page(Sys_file file)
      分页
    • list

      List<Sys_file> list()
      列表
    • download

      void download(String id, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
      下载文件
      抛出:
      IOException
    • download

      byte[] download(String id) throws IOException
      下载文件
      参数:
      id -
      抛出:
      IOException
    • convertPDF

      void convertPDF(String id, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
      转换为PDF
      抛出:
      IOException
    • delete

      void delete(List<String> id)
      删除文件
      指定者:
      delete 在接口中 BaseService<Sys_file>
    • detail

      Sys_file detail(String id)
      详情
    • previewFileData

      List<Sys_file> previewFileData(String[] ids)
      预览详情
    • convertHtml

      String convertHtml(org.nutz.mvc.upload.TempFile file)
      转换为HTML