Class SkosDiffingController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.SkosDiffingController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class SkosDiffingController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
deleteTaskPublished
(String taskId) org.springframework.http.HttpEntity<Response<List<DiffTaskInfo>>>
getAllTasksInfoPublished
(String projectName) void
getTaskResultPublished
(jakarta.servlet.http.HttpServletResponse response, String taskId, SkosDiffing.ResultType resultType) runDiffingPublished
(String leftProjectName, String leftVersionRepoId, String rightProjectName, String rightVersionRepoId, List<String> langList) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
Constructor Details
-
SkosDiffingController
public SkosDiffingController()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
getTaskResultPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SkosDiffing/getTaskResult", method=GET, produces="application/json;charset=UTF-8") public void getTaskResultPublished(jakarta.servlet.http.HttpServletResponse response, @RequestParam("taskId") String taskId, @RequestParam("resultType") SkosDiffing.ResultType resultType) throws IOException, ParserConfigurationException, TransformerException -
getAllTasksInfoPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SkosDiffing/getAllTasksInfo", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<List<DiffTaskInfo>>> getAllTasksInfoPublished(@RequestParam(value="projectName",required=false) String projectName) throws IOException - Throws:
IOException
-
runDiffingPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SkosDiffing/runDiffing", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<String>> runDiffingPublished(@RequestParam("leftProjectName") String leftProjectName, @RequestParam(value="leftVersionRepoId",required=false) String leftVersionRepoId, @RequestParam("rightProjectName") String rightProjectName, @RequestParam(value="rightVersionRepoId",required=false) String rightVersionRepoId, @RequestParam(value="langList",required=false) List<String> langList) throws IOException - Throws:
IOException
-
deleteTaskPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/SkosDiffing/deleteTask", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteTaskPublished(@RequestParam("taskId") String taskId) throws IOException - Throws:
IOException
-