Class EDOALController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.EDOALController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class EDOALController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<org.eclipse.rdf4j.model.BNode>>
org.springframework.http.HttpEntity<String>
createCorrespondencePublished
(org.eclipse.rdf4j.model.Resource alignment, org.eclipse.rdf4j.model.IRI leftEntity, org.eclipse.rdf4j.model.IRI rightEntity, String relation, float measure) org.springframework.http.HttpEntity<String>
deleteCorrespondencePublished
(org.eclipse.rdf4j.model.Resource correspondence) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>>
org.springframework.http.HttpEntity<Response<Collection<EDOAL.Correspondence>>>
getCorrespondencesPublished
(org.eclipse.rdf4j.model.Resource alignment, int page, int pageSize) org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>>>
getSuggestedPropertiesPublished
(org.eclipse.rdf4j.model.Resource alignment, RDFResourceRole role, String relation) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
setLeftEntityPublished
(org.eclipse.rdf4j.model.Resource correspondence, org.eclipse.rdf4j.model.IRI entity) org.springframework.http.HttpEntity<String>
setMappingPropertyPublished
(org.eclipse.rdf4j.model.Resource correspondence, org.eclipse.rdf4j.model.IRI property) org.springframework.http.HttpEntity<String>
setMeasurePublished
(org.eclipse.rdf4j.model.Resource correspondence, float measure) org.springframework.http.HttpEntity<String>
setRelationPublished
(org.eclipse.rdf4j.model.Resource correspondence, String relation) org.springframework.http.HttpEntity<String>
setRightEntityPublished
(org.eclipse.rdf4j.model.Resource correspondence, org.eclipse.rdf4j.model.IRI entity)
-
Constructor Details
-
EDOALController
public EDOALController()
-
-
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
-
setMeasurePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/setMeasure", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setMeasurePublished(@RequestParam("correspondence") org.eclipse.rdf4j.model.Resource correspondence, @RequestParam("measure") float measure) -
getAlignedProjectsPublished
-
setLeftEntityPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/setLeftEntity", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setLeftEntityPublished(@RequestParam("correspondence") org.eclipse.rdf4j.model.Resource correspondence, @RequestParam("entity") org.eclipse.rdf4j.model.IRI entity) -
getAlignmentsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/getAlignments", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.Resource>>>> getAlignmentsPublished() -
setRightEntityPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/setRightEntity", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setRightEntityPublished(@RequestParam("correspondence") org.eclipse.rdf4j.model.Resource correspondence, @RequestParam("entity") org.eclipse.rdf4j.model.IRI entity) -
setMappingPropertyPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/setMappingProperty", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setMappingPropertyPublished(@RequestParam("correspondence") org.eclipse.rdf4j.model.Resource correspondence, @RequestParam("property") org.eclipse.rdf4j.model.IRI property) -
setRelationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/setRelation", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setRelationPublished(@RequestParam("correspondence") org.eclipse.rdf4j.model.Resource correspondence, @RequestParam("relation") String relation) -
deleteCorrespondencePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/deleteCorrespondence", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> deleteCorrespondencePublished(@RequestParam("correspondence") org.eclipse.rdf4j.model.Resource correspondence) -
getCorrespondencesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/getCorrespondences", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<EDOAL.Correspondence>>> getCorrespondencesPublished(@RequestParam("alignment") org.eclipse.rdf4j.model.Resource alignment, @RequestParam(value="page",required=false,defaultValue="0") int page, @RequestParam(value="pageSize",required=false,defaultValue="10") int pageSize) throws ProjectAccessException, InvalidProjectNameException, ProjectInexistentException, IndexingLanguageNotFound -
createCorrespondencePublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/createCorrespondence", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> createCorrespondencePublished(@RequestParam("alignment") org.eclipse.rdf4j.model.Resource alignment, @RequestParam("leftEntity") org.eclipse.rdf4j.model.IRI leftEntity, @RequestParam("rightEntity") org.eclipse.rdf4j.model.IRI rightEntity, @RequestParam("relation") String relation, @RequestParam("measure") float measure) -
getSuggestedPropertiesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/getSuggestedProperties", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<AnnotatedValue<org.eclipse.rdf4j.model.IRI>>>> getSuggestedPropertiesPublished(@RequestParam("alignment") org.eclipse.rdf4j.model.Resource alignment, @RequestParam("role") RDFResourceRole role, @RequestParam("relation") String relation) throws ProjectAccessException, ProjectInexistentException, InvalidProjectNameException -
createAlignmentPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/EDOAL/createAlignment", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<org.eclipse.rdf4j.model.BNode>> createAlignmentPublished() throws ProjectAccessException, InvalidProjectNameException, ProjectInexistentException
-