Class ShowVocController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.ShowVocController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class ShowVocController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<String>
approveDevelopmentContributionPublished
(String projectName, org.eclipse.rdf4j.model.IRI model, org.eclipse.rdf4j.model.IRI lexicalizationModel, String baseURI, PluginSpecification coreRepoSailConfigurerSpecification, String configurationReference, String showvocHostAddress) org.springframework.http.HttpEntity<String>
approveMetadataContributionPublished
(String configurationReference) org.springframework.http.HttpEntity<String>
approveStableContributionPublished
(String projectName, org.eclipse.rdf4j.model.IRI model, org.eclipse.rdf4j.model.IRI lexicalizationModel, String baseURI, RepositoryAccess repositoryAccess, PluginSpecification coreRepoSailConfigurerSpecification, String configurationReference, String showvocHostAddress) void
dataDumpPublished
(jakarta.servlet.http.HttpServletResponse oRes, org.eclipse.rdf4j.rio.RDFFormat format) org.springframework.http.HttpEntity<Response<DatasetDescription>>
describeDatasetPublished
(String id, String apiBaseURL, String frontendBaseURL) org.springframework.http.HttpEntity<Response<Collection<Reference>>>
org.springframework.http.HttpEntity<String>
org.springframework.http.HttpEntity<String>
loadDevContributionDataPublished
(String token, String projectName, String contributorEmail, org.springframework.web.multipart.MultipartFile inputFile, String format, PluginSpecification rdfLifterSpec, TransitiveImportMethodAllowance transitiveImportAllowance) org.springframework.http.HttpEntity<String>
loadStableContributionDataPublished
(String token, String projectName, String contributorEmail, org.springframework.web.multipart.MultipartFile inputFile, String format, PluginSpecification rdfLifterSpec, TransitiveImportMethodAllowance transitiveImportAllowance) org.springframework.http.HttpEntity<String>
rejectContributionPublished
(String relativeReference) org.springframework.http.HttpEntity<Response<SearchResultsPage<DatasetSearchResult>>>
void
setApplicationContext
(org.springframework.context.ApplicationContext arg0) org.springframework.http.HttpEntity<String>
setProjectStatusPublished
(String projectName, String status) org.springframework.http.HttpEntity<String>
submitContributionPublished
(com.fasterxml.jackson.databind.node.ObjectNode configuration) org.springframework.http.HttpEntity<String>
-
Constructor Details
-
ShowVocController
public ShowVocController()
-
-
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
-
approveMetadataContributionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/approveMetadataContribution", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> approveMetadataContributionPublished(@RequestParam("configurationReference") String configurationReference) throws it.uniroma2.art.semanticturkey.mdr.core.MetadataRegistryWritingException, NoSuchConfigurationManager, WrongPropertiesException, ConfigurationNotFoundException, STPropertyAccessException, IOException, jakarta.mail.MessagingException - Throws:
it.uniroma2.art.semanticturkey.mdr.core.MetadataRegistryWritingException
NoSuchConfigurationManager
WrongPropertiesException
ConfigurationNotFoundException
STPropertyAccessException
IOException
jakarta.mail.MessagingException
-
loadDevContributionDataPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/loadDevContributionData", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> loadDevContributionDataPublished(@RequestParam("token") String token, @RequestParam("projectName") String projectName, @RequestParam("contributorEmail") String contributorEmail, @RequestParam("inputFile") org.springframework.web.multipart.MultipartFile inputFile, @RequestParam("format") String format, @RequestParam("rdfLifterSpec") PluginSpecification rdfLifterSpec, @RequestParam("transitiveImportAllowance") TransitiveImportMethodAllowance transitiveImportAllowance) throws STPropertyAccessException, IOException, URISyntaxException, jakarta.mail.MessagingException - Throws:
STPropertyAccessException
IOException
URISyntaxException
jakarta.mail.MessagingException
-
approveStableContributionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/approveStableContribution", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> approveStableContributionPublished(@RequestParam("projectName") String projectName, @RequestParam("model") org.eclipse.rdf4j.model.IRI model, @RequestParam("lexicalizationModel") org.eclipse.rdf4j.model.IRI lexicalizationModel, @RequestParam("baseURI") String baseURI, @RequestParam("repositoryAccess") RepositoryAccess repositoryAccess, @RequestParam("coreRepoSailConfigurerSpecification") PluginSpecification coreRepoSailConfigurerSpecification, @RequestParam("configurationReference") String configurationReference, @RequestParam("showvocHostAddress") String showvocHostAddress) throws IOException, RBACException, WrongPropertiesException, ProjectBindingException, ProjectInconsistentException, ClassNotFoundException, ForbiddenProjectAccessException, UnsupportedModelException, ProjectUpdateException, InvalidConfigurationException, InvalidProjectNameException, ProjectAccessException, UnsupportedLexicalizationModelException, ProjectInexistentException, ProjectCreationException, ReservedPropertyUpdateException, DuplicatedResourceException, STPropertyAccessException, ConfigurationNotFoundException, NoSuchConfigurationManager, jakarta.mail.MessagingException, ProjectDeletionException, STPropertyUpdateException, it.uniroma2.art.semanticturkey.mdr.core.MetadataRegistryWritingException, UserException - Throws:
IOException
RBACException
WrongPropertiesException
ProjectBindingException
ProjectInconsistentException
ClassNotFoundException
ForbiddenProjectAccessException
UnsupportedModelException
ProjectUpdateException
InvalidConfigurationException
InvalidProjectNameException
ProjectAccessException
UnsupportedLexicalizationModelException
ProjectInexistentException
ProjectCreationException
ReservedPropertyUpdateException
DuplicatedResourceException
STPropertyAccessException
ConfigurationNotFoundException
NoSuchConfigurationManager
jakarta.mail.MessagingException
ProjectDeletionException
STPropertyUpdateException
it.uniroma2.art.semanticturkey.mdr.core.MetadataRegistryWritingException
UserException
-
dataDumpPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/dataDump", method=GET) public void dataDumpPublished(jakarta.servlet.http.HttpServletResponse oRes, @RequestParam(value="format",required=false,defaultValue="Turtle") org.eclipse.rdf4j.rio.RDFFormat format) throws Exception - Throws:
Exception
-
rejectContributionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/rejectContribution", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> rejectContributionPublished(@RequestParam("relativeReference") String relativeReference) throws NoSuchConfigurationManager, ConfigurationNotFoundException, WrongPropertiesException, IOException, STPropertyAccessException, jakarta.mail.MessagingException - Throws:
NoSuchConfigurationManager
ConfigurationNotFoundException
WrongPropertiesException
IOException
STPropertyAccessException
jakarta.mail.MessagingException
-
searchDatasetPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/searchDataset", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<SearchResultsPage<DatasetSearchResult>>> searchDatasetPublished(@RequestParam("query") String query, @RequestParam(value="facets",required=false,defaultValue="{}") @JsonSerialized Map<String, List<String>> facets, @RequestParam(value="page",required=false,defaultValue="1") int page) throws IOException, InvalidProjectNameException, ProjectInexistentException, ProjectAccessException, PropertyNotFoundException, IllegalStateException, STPropertyAccessException, NoSuchSettingsManager, UserException -
loadStableContributionDataPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/loadStableContributionData", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> loadStableContributionDataPublished(@RequestParam("token") String token, @RequestParam("projectName") String projectName, @RequestParam("contributorEmail") String contributorEmail, @RequestParam("inputFile") org.springframework.web.multipart.MultipartFile inputFile, @RequestParam("format") String format, @RequestParam("rdfLifterSpec") PluginSpecification rdfLifterSpec, @RequestParam("transitiveImportAllowance") TransitiveImportMethodAllowance transitiveImportAllowance) throws STPropertyAccessException, IOException, InvalidConfigurationException, WrongPropertiesException, LiftingException, ProjectBindingException, jakarta.mail.MessagingException, UserException - Throws:
STPropertyAccessException
IOException
InvalidConfigurationException
WrongPropertiesException
LiftingException
ProjectBindingException
jakarta.mail.MessagingException
UserException
-
describeDatasetPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/describeDataset", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<DatasetDescription>> describeDatasetPublished(@RequestParam("id") String id, @RequestParam(value="apiBaseURL",required=false) String apiBaseURL, @RequestParam(value="frontendBaseURL",required=false) String frontendBaseURL) throws STPropertyAccessException, NoSuchSettingsManager, PropertyNotFoundException, IllegalArgumentException, IOException -
getContributionReferencesPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/getContributionReferences", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<Reference>>> getContributionReferencesPublished() throws NoSuchConfigurationManager- Throws:
NoSuchConfigurationManager
-
approveDevelopmentContributionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/approveDevelopmentContribution", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> approveDevelopmentContributionPublished(@RequestParam("projectName") String projectName, @RequestParam("model") org.eclipse.rdf4j.model.IRI model, @RequestParam("lexicalizationModel") org.eclipse.rdf4j.model.IRI lexicalizationModel, @RequestParam("baseURI") String baseURI, @RequestParam("coreRepoSailConfigurerSpecification") PluginSpecification coreRepoSailConfigurerSpecification, @RequestParam("configurationReference") String configurationReference, @RequestParam("showvocHostAddress") String showvocHostAddress) throws IOException, WrongPropertiesException, STPropertyAccessException, ConfigurationNotFoundException, NoSuchConfigurationManager, URISyntaxException, jakarta.mail.MessagingException - Throws:
IOException
WrongPropertiesException
STPropertyAccessException
ConfigurationNotFoundException
NoSuchConfigurationManager
URISyntaxException
jakarta.mail.MessagingException
-
setProjectStatusPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/setProjectStatus", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> setProjectStatusPublished(@RequestParam("projectName") String projectName, @RequestParam("status") String status) throws ProjectBindingException, InvalidProjectNameException, ProjectInexistentException, ProjectAccessException, UserException -
testVocbenchConfigurationPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/testVocbenchConfiguration", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> testVocbenchConfigurationPublished() throws IOException, STPropertyAccessException, URISyntaxException -
initShowVocPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/initShowVoc", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> initShowVocPublished() throws IOException, UserException, RoleCreationException, ProjectAccessException -
submitContributionPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/ShowVoc/submitContribution", method=POST, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<String> submitContributionPublished(@RequestParam("configuration") com.fasterxml.jackson.databind.node.ObjectNode configuration) throws NoSuchConfigurationManager, IOException, WrongPropertiesException, STPropertyUpdateException, STPropertyAccessException, jakarta.mail.MessagingException, ConfigurationNotFoundException - Throws:
NoSuchConfigurationManager
IOException
WrongPropertiesException
STPropertyUpdateException
STPropertyAccessException
jakarta.mail.MessagingException
ConfigurationNotFoundException
-