Class DocumentController
java.lang.Object
org.bh_foundation.e_sign.controllers.DocumentController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<ResponseDto<?>> org.springframework.http.ResponseEntity<ResponseDto<?>> org.springframework.http.ResponseEntity<?> getMine()org.springframework.http.ResponseEntity<ResponseDto<?>> getMineById(String id) org.springframework.http.ResponseEntity<ResponseDto<?>> org.springframework.http.ResponseEntity<ResponseDto<?>> org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> getUrlByFilename(String filename) org.springframework.http.ResponseEntity<?> newSign(org.springframework.web.multipart.MultipartFile file, Integer page, RenderChoice render_choice, String passphrase, String rect, String doc_size) org.springframework.http.ResponseEntity<?> send(String title, boolean order_sign, org.springframework.web.multipart.MultipartFile file, List<Long> signers_id, List<Integer> page_number) org.springframework.http.ResponseEntity<?> sign(String id, org.springframework.web.multipart.MultipartFile file, String passphrase, RenderChoice render_choice, String rect, String doc_size) org.springframework.http.ResponseEntity<?> verify(org.springframework.web.multipart.MultipartFile file)
-
Constructor Details
-
DocumentController
-
-
Method Details
-
getRequested
@GetMapping("/requested-list") public org.springframework.http.ResponseEntity<ResponseDto<?>> getRequested() -
getMine
@GetMapping("/get-list") public org.springframework.http.ResponseEntity<?> getMine() -
getRequestedById
-
getMineById
@GetMapping("/get") public org.springframework.http.ResponseEntity<ResponseDto<?>> getMineById(@RequestParam(name="document") String id) throws Exception - Throws:
Exception
-
getMineSigned
@GetMapping("/signed") public org.springframework.http.ResponseEntity<ResponseDto<?>> getMineSigned() -
send
@PostMapping("/send") public org.springframework.http.ResponseEntity<?> send(@RequestParam String title, @RequestParam boolean order_sign, @RequestParam org.springframework.web.multipart.MultipartFile file, @RequestParam List<Long> signers_id, @RequestParam List<Integer> page_number) throws IOException - Throws:
IOException
-
approve
-
deny
@PutMapping("/deny") public org.springframework.http.ResponseEntity<ResponseDto<?>> deny(@RequestParam(name="document") String id) throws Exception - Throws:
Exception
-
sign
@PutMapping("/sign") public org.springframework.http.ResponseEntity<?> sign(@RequestParam(name="document") String id, @RequestParam org.springframework.web.multipart.MultipartFile file, @RequestParam String passphrase, @RequestParam RenderChoice render_choice, @RequestParam String rect, @RequestParam String doc_size) throws IOException, Exception - Throws:
IOExceptionException
-
delete
@DeleteMapping("/delete") public org.springframework.http.ResponseEntity<ResponseDto<?>> delete(@RequestParam(name="document") String id) throws IOException, Exception - Throws:
IOExceptionException
-
newSign
@PutMapping("/sign-self") public org.springframework.http.ResponseEntity<?> newSign(@RequestParam org.springframework.web.multipart.MultipartFile file, @RequestParam Integer page, @RequestParam RenderChoice render_choice, @RequestParam String passphrase, @RequestParam String rect, @RequestParam String doc_size) throws Exception - Throws:
Exception
-
verify
@PostMapping("/verify") public org.springframework.http.ResponseEntity<?> verify(@RequestParam org.springframework.web.multipart.MultipartFile file) -
getUrlByFilename
@GetMapping("/get-url-by-filename/{filename}") public org.springframework.http.ResponseEntity<?> getUrlByFilename(@PathVariable String filename)
-