@Test void testSortaController() { assertThrows( NullPointerException.class, () -> new SortaController( null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null)); }
public SortaController( OntologyService ontologyService, SortaService sortaService, UserAccountService userAccountService, FileStore fileStore, UserPermissionEvaluator permissionService, DataService dataService, MenuReaderService menuReaderService, IdGenerator idGenerator, PermissionSystemService permissionSystemService, MatchingTaskContentMetaData matchingTaskContentMetaData, SortaJobExecutionMetadata sortaJobExecutionMetaData, OntologyTermMetadata ontologyTermMetadata, SortaJobExecutionFactory sortaJobExecutionFactory, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory, JobExecutor jobExecutor) { super(URI); this.ontologyService = requireNonNull(ontologyService); this.sortaService = requireNonNull(sortaService); this.userAccountService = requireNonNull(userAccountService); this.fileStore = requireNonNull(fileStore); this.permissionService = requireNonNull(permissionService); this.dataService = requireNonNull(dataService); this.menuReaderService = requireNonNull(menuReaderService); this.idGenerator = requireNonNull(idGenerator); this.permissionSystemService = requireNonNull(permissionSystemService); this.matchingTaskContentMetaData = requireNonNull(matchingTaskContentMetaData); this.sortaJobExecutionMetaData = requireNonNull(sortaJobExecutionMetaData); this.ontologyTermMetadata = requireNonNull(ontologyTermMetadata); this.sortaJobExecutionFactory = requireNonNull(sortaJobExecutionFactory); this.entityTypeFactory = requireNonNull(entityTypeFactory); this.attrMetaFactory = requireNonNull(attrMetaFactory); this.jobExecutor = jobExecutor; }
SortaController extends PluginController { public SortaController( OntologyService ontologyService, SortaService sortaService, UserAccountService userAccountService, FileStore fileStore, UserPermissionEvaluator permissionService, DataService dataService, MenuReaderService menuReaderService, IdGenerator idGenerator, PermissionSystemService permissionSystemService, MatchingTaskContentMetaData matchingTaskContentMetaData, SortaJobExecutionMetadata sortaJobExecutionMetaData, OntologyTermMetadata ontologyTermMetadata, SortaJobExecutionFactory sortaJobExecutionFactory, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory, JobExecutor jobExecutor) { super(URI); this.ontologyService = requireNonNull(ontologyService); this.sortaService = requireNonNull(sortaService); this.userAccountService = requireNonNull(userAccountService); this.fileStore = requireNonNull(fileStore); this.permissionService = requireNonNull(permissionService); this.dataService = requireNonNull(dataService); this.menuReaderService = requireNonNull(menuReaderService); this.idGenerator = requireNonNull(idGenerator); this.permissionSystemService = requireNonNull(permissionSystemService); this.matchingTaskContentMetaData = requireNonNull(matchingTaskContentMetaData); this.sortaJobExecutionMetaData = requireNonNull(sortaJobExecutionMetaData); this.ontologyTermMetadata = requireNonNull(ontologyTermMetadata); this.sortaJobExecutionFactory = requireNonNull(sortaJobExecutionFactory); this.entityTypeFactory = requireNonNull(entityTypeFactory); this.attrMetaFactory = requireNonNull(attrMetaFactory); this.jobExecutor = jobExecutor; } }
SortaController extends PluginController { public SortaController( OntologyService ontologyService, SortaService sortaService, UserAccountService userAccountService, FileStore fileStore, UserPermissionEvaluator permissionService, DataService dataService, MenuReaderService menuReaderService, IdGenerator idGenerator, PermissionSystemService permissionSystemService, MatchingTaskContentMetaData matchingTaskContentMetaData, SortaJobExecutionMetadata sortaJobExecutionMetaData, OntologyTermMetadata ontologyTermMetadata, SortaJobExecutionFactory sortaJobExecutionFactory, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory, JobExecutor jobExecutor) { super(URI); this.ontologyService = requireNonNull(ontologyService); this.sortaService = requireNonNull(sortaService); this.userAccountService = requireNonNull(userAccountService); this.fileStore = requireNonNull(fileStore); this.permissionService = requireNonNull(permissionService); this.dataService = requireNonNull(dataService); this.menuReaderService = requireNonNull(menuReaderService); this.idGenerator = requireNonNull(idGenerator); this.permissionSystemService = requireNonNull(permissionSystemService); this.matchingTaskContentMetaData = requireNonNull(matchingTaskContentMetaData); this.sortaJobExecutionMetaData = requireNonNull(sortaJobExecutionMetaData); this.ontologyTermMetadata = requireNonNull(ontologyTermMetadata); this.sortaJobExecutionFactory = requireNonNull(sortaJobExecutionFactory); this.entityTypeFactory = requireNonNull(entityTypeFactory); this.attrMetaFactory = requireNonNull(attrMetaFactory); this.jobExecutor = jobExecutor; } SortaController(
      OntologyService ontologyService,
      SortaService sortaService,
      UserAccountService userAccountService,
      FileStore fileStore,
      UserPermissionEvaluator permissionService,
      DataService dataService,
      MenuReaderService menuReaderService,
      IdGenerator idGenerator,
      PermissionSystemService permissionSystemService,
      MatchingTaskContentMetaData matchingTaskContentMetaData,
      SortaJobExecutionMetadata sortaJobExecutionMetaData,
      OntologyTermMetadata ontologyTermMetadata,
      SortaJobExecutionFactory sortaJobExecutionFactory,
      EntityTypeFactory entityTypeFactory,
      AttributeFactory attrMetaFactory,
      JobExecutor jobExecutor); }
SortaController extends PluginController { public SortaController( OntologyService ontologyService, SortaService sortaService, UserAccountService userAccountService, FileStore fileStore, UserPermissionEvaluator permissionService, DataService dataService, MenuReaderService menuReaderService, IdGenerator idGenerator, PermissionSystemService permissionSystemService, MatchingTaskContentMetaData matchingTaskContentMetaData, SortaJobExecutionMetadata sortaJobExecutionMetaData, OntologyTermMetadata ontologyTermMetadata, SortaJobExecutionFactory sortaJobExecutionFactory, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory, JobExecutor jobExecutor) { super(URI); this.ontologyService = requireNonNull(ontologyService); this.sortaService = requireNonNull(sortaService); this.userAccountService = requireNonNull(userAccountService); this.fileStore = requireNonNull(fileStore); this.permissionService = requireNonNull(permissionService); this.dataService = requireNonNull(dataService); this.menuReaderService = requireNonNull(menuReaderService); this.idGenerator = requireNonNull(idGenerator); this.permissionSystemService = requireNonNull(permissionSystemService); this.matchingTaskContentMetaData = requireNonNull(matchingTaskContentMetaData); this.sortaJobExecutionMetaData = requireNonNull(sortaJobExecutionMetaData); this.ontologyTermMetadata = requireNonNull(ontologyTermMetadata); this.sortaJobExecutionFactory = requireNonNull(sortaJobExecutionFactory); this.entityTypeFactory = requireNonNull(entityTypeFactory); this.attrMetaFactory = requireNonNull(attrMetaFactory); this.jobExecutor = jobExecutor; } SortaController(
      OntologyService ontologyService,
      SortaService sortaService,
      UserAccountService userAccountService,
      FileStore fileStore,
      UserPermissionEvaluator permissionService,
      DataService dataService,
      MenuReaderService menuReaderService,
      IdGenerator idGenerator,
      PermissionSystemService permissionSystemService,
      MatchingTaskContentMetaData matchingTaskContentMetaData,
      SortaJobExecutionMetadata sortaJobExecutionMetaData,
      OntologyTermMetadata ontologyTermMetadata,
      SortaJobExecutionFactory sortaJobExecutionFactory,
      EntityTypeFactory entityTypeFactory,
      AttributeFactory attrMetaFactory,
      JobExecutor jobExecutor); @GetMapping String init(Model model); @GetMapping("/jobs") @ResponseBody List<SortaJobExecution> getJobs(); @GetMapping("/newtask") String matchTask(Model model); @PostMapping("/threshold/{sortaJobExecutionId}") String updateThreshold(
      @RequestParam(value = "threshold") String threshold,
      @PathVariable String sortaJobExecutionId,
      Model model); @GetMapping("/result/{sortaJobExecutionId}") String matchResult(
      @PathVariable("sortaJobExecutionId") String sortaJobExecutionId, Model model); @GetMapping("/count/{sortaJobExecutionId}") @ResponseBody Map<String, Object> countMatchResult(
      @PathVariable("sortaJobExecutionId") String sortaJobExecutionId); @PostMapping("/delete/{sortaJobExecutionId}") @ResponseStatus(value = HttpStatus.OK) String deleteResult(
      @PathVariable("sortaJobExecutionId") String sortaJobExecutionId, Model model); @PostMapping("/match/retrieve") @ResponseBody EntityCollectionResponse retrieveSortaJobResults(
      @RequestBody SortaServiceRequest sortaServiceRequest); @PostMapping("/match") String match(
      @RequestParam(value = "taskName") String jobName,
      @RequestParam(value = "selectOntologies") String ontologyIri,
      @RequestParam(value = "inputTerms") String inputTerms,
      Model model,
      HttpServletRequest httpServletRequest); @PostMapping(value = "/match/upload", headers = "Content-Type=multipart/form-data") String upload(
      @RequestParam(value = "taskName") String jobName,
      @RequestParam(value = "selectOntologies") String ontologyIri,
      @RequestParam(value = "file") MultipartFile file,
      Model model,
      HttpServletRequest httpServletRequest); @PostMapping("/match/entity") @ResponseBody SortaServiceResponse findMatchingOntologyTerms(@RequestBody Map<String, Object> request); @GetMapping("/match/download/{sortaJobExecutionId}") void download(@PathVariable String sortaJobExecutionId, HttpServletResponse response); }
SortaController extends PluginController { public SortaController( OntologyService ontologyService, SortaService sortaService, UserAccountService userAccountService, FileStore fileStore, UserPermissionEvaluator permissionService, DataService dataService, MenuReaderService menuReaderService, IdGenerator idGenerator, PermissionSystemService permissionSystemService, MatchingTaskContentMetaData matchingTaskContentMetaData, SortaJobExecutionMetadata sortaJobExecutionMetaData, OntologyTermMetadata ontologyTermMetadata, SortaJobExecutionFactory sortaJobExecutionFactory, EntityTypeFactory entityTypeFactory, AttributeFactory attrMetaFactory, JobExecutor jobExecutor) { super(URI); this.ontologyService = requireNonNull(ontologyService); this.sortaService = requireNonNull(sortaService); this.userAccountService = requireNonNull(userAccountService); this.fileStore = requireNonNull(fileStore); this.permissionService = requireNonNull(permissionService); this.dataService = requireNonNull(dataService); this.menuReaderService = requireNonNull(menuReaderService); this.idGenerator = requireNonNull(idGenerator); this.permissionSystemService = requireNonNull(permissionSystemService); this.matchingTaskContentMetaData = requireNonNull(matchingTaskContentMetaData); this.sortaJobExecutionMetaData = requireNonNull(sortaJobExecutionMetaData); this.ontologyTermMetadata = requireNonNull(ontologyTermMetadata); this.sortaJobExecutionFactory = requireNonNull(sortaJobExecutionFactory); this.entityTypeFactory = requireNonNull(entityTypeFactory); this.attrMetaFactory = requireNonNull(attrMetaFactory); this.jobExecutor = jobExecutor; } SortaController(
      OntologyService ontologyService,
      SortaService sortaService,
      UserAccountService userAccountService,
      FileStore fileStore,
      UserPermissionEvaluator permissionService,
      DataService dataService,
      MenuReaderService menuReaderService,
      IdGenerator idGenerator,
      PermissionSystemService permissionSystemService,
      MatchingTaskContentMetaData matchingTaskContentMetaData,
      SortaJobExecutionMetadata sortaJobExecutionMetaData,
      OntologyTermMetadata ontologyTermMetadata,
      SortaJobExecutionFactory sortaJobExecutionFactory,
      EntityTypeFactory entityTypeFactory,
      AttributeFactory attrMetaFactory,
      JobExecutor jobExecutor); @GetMapping String init(Model model); @GetMapping("/jobs") @ResponseBody List<SortaJobExecution> getJobs(); @GetMapping("/newtask") String matchTask(Model model); @PostMapping("/threshold/{sortaJobExecutionId}") String updateThreshold(
      @RequestParam(value = "threshold") String threshold,
      @PathVariable String sortaJobExecutionId,
      Model model); @GetMapping("/result/{sortaJobExecutionId}") String matchResult(
      @PathVariable("sortaJobExecutionId") String sortaJobExecutionId, Model model); @GetMapping("/count/{sortaJobExecutionId}") @ResponseBody Map<String, Object> countMatchResult(
      @PathVariable("sortaJobExecutionId") String sortaJobExecutionId); @PostMapping("/delete/{sortaJobExecutionId}") @ResponseStatus(value = HttpStatus.OK) String deleteResult(
      @PathVariable("sortaJobExecutionId") String sortaJobExecutionId, Model model); @PostMapping("/match/retrieve") @ResponseBody EntityCollectionResponse retrieveSortaJobResults(
      @RequestBody SortaServiceRequest sortaServiceRequest); @PostMapping("/match") String match(
      @RequestParam(value = "taskName") String jobName,
      @RequestParam(value = "selectOntologies") String ontologyIri,
      @RequestParam(value = "inputTerms") String inputTerms,
      Model model,
      HttpServletRequest httpServletRequest); @PostMapping(value = "/match/upload", headers = "Content-Type=multipart/form-data") String upload(
      @RequestParam(value = "taskName") String jobName,
      @RequestParam(value = "selectOntologies") String ontologyIri,
      @RequestParam(value = "file") MultipartFile file,
      Model model,
      HttpServletRequest httpServletRequest); @PostMapping("/match/entity") @ResponseBody SortaServiceResponse findMatchingOntologyTerms(@RequestBody Map<String, Object> request); @GetMapping("/match/download/{sortaJobExecutionId}") void download(@PathVariable String sortaJobExecutionId, HttpServletResponse response); static final String ID; static final String URI; static final String MATCH_VIEW_NAME; static final double DEFAULT_THRESHOLD; }