package jnpf.eln; import jnpf.base.ActionResult; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; @FeignClient(name = "jnpf-eln", path = "/Internal/eln/template", contextId = "templateEditabilityApi") public interface TemplateEditabilityApi { @PostMapping("/editability") ActionResult editable(@RequestParam("tenantId") String tenantId, @RequestParam("templateId") String templateId, @RequestParam("fileId") String fileId); @PostMapping("/annotationAccess") ActionResult canAnnotate(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("templateId") String templateId, @RequestParam("fileId") String fileId); }