接口 CoreFileResource

    • 方法详细资料

      • upload

        @RequestMapping(method=POST)
        Long upload​(CoreFileBean coreFile,
                    org.springframework.web.multipart.MultipartFile file)
      • pack

        @RequestMapping(value={"/action/pack/{table}/{itemId}","/action/pack/{table}/{itemId}/add-on-func/{func}"},
                        method=POST)
        String pack​(@PathVariable
                    String table,
                    @PathVariable
                    String itemId,
                    @PathVariable(required=false)
                    String func)
      • importData

        @RequestMapping(value="/{id}/action/import/{service}",
                        method=POST)
        CoreFileImportResultDTO importData​(@PathVariable
                                           Long id,
                                           @PathVariable
                                           String service)
      • getTemplateUrl

        @RequestMapping(value="/template-urls",
                        method=GET)
        <ID extends SerializableString getTemplateUrl​(@RequestParam
                                                        String templateCode,
                                                        @RequestParam
                                                        String service,
                                                        @RequestParam(required=false)
                                                        ID id)
      • log

        @RequestMapping(value="/{id}/logs",
                        method=POST)
        Long log​(@PathVariable
                 Long id,
                 @RequestParam
                 String operationCategory)
      • convertHtmlToPdf

        @RequestMapping(value="/action/convert-html-to-pdf",
                        method=POST)
        String convertHtmlToPdf​(RestJsonWrapperBean wrapper)
      • sinoOfficeInvoke

        @RequestMapping(value="/{id}/action/sinooffice-invoke",
                        method=POST)
        CoreFileOfficeResultDTO sinoOfficeInvoke​(@PathVariable
                                                 Long id)
      • getDownloadTemplateUrl

        @Deprecated
        @RequestMapping(value={"/{templateCode}/action/download-template/{service}","/{templateCode}/action/download-template/{service}/{id}"},
                        method=GET)
        <ID extends SerializableString getDownloadTemplateUrl​(@PathVariable
                                                                String templateCode,
                                                                @PathVariable
                                                                String service,
                                                                @PathVariable(required=false)
                                                                ID id)
        已过时。
      • oldLog

        @Deprecated
        @RequestMapping(value="/{id}/logs/action/{operationCategory}",
                        method=POST)
        Long oldLog​(@PathVariable
                    Long id,
                    @PathVariable
                    String operationCategory)
        已过时。